|
|
View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Linking of files in MPLAB is not working |
Posted: Tue Jul 02, 2013 9:51 pm |
|
|
Hi,
MPLAB IDE ver 8.89
CCS C Compiler: PCB Ver 4.141, PCM Ver 3.169, PCH Ver 4.073.
I have suddenly found that linking of library files in MPLAB 8.89 is not working.
I keep all my driver files in a separate folder called drivers in My Documents.
To link a file I add the include directive with the file name such as ...#include<file1.c>
From Project menu>>Build Options>>Project I change the 'Library Search Path' and 'Include Search Path' to My Documents/Drivers location. This instructed the compiler program to search in the selected folders.
The above method worked very well me for many years now, but recently (I think after installing PCB compiler) I find that the search loaction does not change to the one I select, but instead remains fixed at C:/Program Files/PICC/Drivers and also at the project location.
Please advise what is wrong. It seems some DLL has been corrupted or has changed.
I tried re-installing PCHupd file, the MPLAB IDE CCS plugin but nothing works.
thanks
a |
|
|
epalite
Joined: 06 Apr 2008 Posts: 16
|
Include Path problem |
Posted: Wed Mar 04, 2015 9:17 pm |
|
|
Hi,
Observed similar problem with MPLAB 8.92 with PCH v5.016/v5.036 as well as PCM. Believe the problem exist in PCM/PCH v4.
Apparently if you duplicated multiple version of same project, e.g. when you wish to try a small changes, you copy/paste from 1st project , on compiling the 2nd project, MPLAB will look for files in 1st project directory to compile. It is visible from the compiler log.
Once you break the link, by means of renaming the 1st project path, MPLAB only then will look for the 2nd directory.
Not if there will be any fix for the classic MPLAB. |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|