File Not found error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File Not found error

2,318 Views
clueless
Contributor I
I am taking code already compiled by a contractor and need to use Code Warrior only to access and burn the code to a chip.  When I try to compile the existing code I receive hundreds of C5200 errors indicating that the files cannot be found.  However, clicking on any of these file names shows that the file path leads to the proper sub-folders where all my code is stored.  "Help" advises me toSpecify the correct path and name of your source file!

But I cannot figure out where to do that either.   I have a call in to Tech support, but really need to get going on this project! 

Any help please!

Labels (1)
0 Kudos
4 Replies

459 Views
J2MEJediMaster
Specialist I
OK, let's find out a few things here...

Is this a CW project transported from another computer? Or is this a project you build from scratch?

Since the source files appear in the Project window, try forcing the CW IDE to refresh the search path for the files. In the IDE, try:

Project | Reset Project Entry paths

If that doesn't work, try:

Project | Re-search for Files.

Quit the IDE and restart it after doing this, just in case.

---Tom
0 Kudos

459 Views
J2MEJediMaster
Specialist I
OK, apparently the project still has some information about it's old directory structure on the other computer. Do this:

1) Quit the CW IDE.

2) Delete the project's *data directory*. That is, if your project file is named WayCool.mcp, delete the folder WayCool_Data. This contains all sorts of book-keeping data, and if you nuke it, basically the IDE has to generate all of the book-keeping data from scratch, and will hopefully pick up the files in the new directories.

3) Restart the CW IDE. Try building the project now.

---Tom
0 Kudos

459 Views
clueless
Contributor I

I just got a reply from tech support advising me to do the same thing.  I also needed to update my access paths, (alt. F7) there were some that were still only pointed to "my computer".  I made the file paths change first as I could not find the "data" folder at first.  Anyway, I can now bring it up to date with minimal errors.

Thanks, Scott

0 Kudos

459 Views
clueless
Contributor I

Tom,  This is a CW project transported from another computer.  The guy who compiled it and I have gone through all of my settings talking on the phone and cannot come up with what is wrong.  I've tried saving the code in different places, now it's right on my C drive in a folder.

When I first open the project mcp file I receive 6 errors: "The following access path in target "P&E ICD" of project "SHS_E128_Baseline.mcp cannot be found: {Project}..\Nju6679\Include 

Each error is the same, except the last step of the file path, they are: Common, CfgIo, Cfg128128,Include, Lcdfonts, and ks07xx

Then when I goto Project, bring up to date, I get 124 C5200 file not found errors.  But when I click on the files not found their file path leads back to where I am storing all the code.

The two things you suggested did not seem to do anything.  By the way I am running v5.7 on Win XP pro, with a P&E USB miltilink

Thanks, Scott

 

0 Kudos