Pathing Problem in Compilation
Posted: Mon Jul 27, 2009 11:30 pm
Hi Lubin,
When I try to compile models such as dsPIC_33f_Explorer16.mdl, I get the 1070 build error due to MATLAB not being able to find the gld file. For instance, MATLAB will search C:\Program Files\Micro~1\MPLABC~1\... which goes to C:\Program Files\Microchip\MPLAB C32 instead of C:\Program Files\Microchip\MPLAB C30, while C:\Program Files\Micro~1\MPLABC~2\... goes to C:\Program Files\Microchip\MPLAB C30. I was only able to compile after I renamed my MPLAB C32 folder to "MPLAB C30 Copy" and copied and pasted the "MPLAB C30" folder contents into "MPLAB C30 Copy."
Do you know why MATLAB is searching for the wrong # after the '~' during compilation? Is there a way to tell MATLAB to look in the right folder? I tried adding the path to MATLAB, and it didn't solve the problem.
When I try to compile models such as dsPIC_33f_Explorer16.mdl, I get the 1070 build error due to MATLAB not being able to find the gld file. For instance, MATLAB will search C:\Program Files\Micro~1\MPLABC~1\... which goes to C:\Program Files\Microchip\MPLAB C32 instead of C:\Program Files\Microchip\MPLAB C30, while C:\Program Files\Micro~1\MPLABC~2\... goes to C:\Program Files\Microchip\MPLAB C30. I was only able to compile after I renamed my MPLAB C32 folder to "MPLAB C30 Copy" and copied and pasted the "MPLAB C30" folder contents into "MPLAB C30 Copy."
Do you know why MATLAB is searching for the wrong # after the '~' during compilation? Is there a way to tell MATLAB to look in the right folder? I tried adding the path to MATLAB, and it didn't solve the problem.