Pathing Problem in Compilation

Create new topics, add your comment, remark, bugs...
Post Reply
chad
Posts: 3
Joined: Wed Jul 22, 2009 5:11 am

Pathing Problem in Compilation

Post by chad » 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.

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: Pathing Problem in Compilation

Post by LubinKerhuel » Tue Jul 28, 2009 9:50 am

Hi Chad,

Did you tried the "magic" yellow block called something like "configure Simulink model for dsPIC" ? add this block to your model, dbl click on it and it usually solved path problems.

Lubin

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests