Codewarrior does not load the .lib file.

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

Codewarrior does not load the .lib file.

989 Views
chrissam
Contributor I

Hi,

I am using Freescale's MC9S12XDT512 in a project. My project was running just fine 2 days ago, but today when i built the project i get an error "Could not find or load the file "ansixbi.lib" for target "standard" for project "Project_name". Obviously the lib is located in the directory and the access path is included in the project.

 

Moreover when i try to open a new project i get a warning "Files missing from Files view hierarchy. Some files were missing from the hierarchy information for the Files view of project "Project.mcp". These files have been added to the Files view hierarchy in a group called "Rescued items".

In the new project no .lib file is included.

Does anyone know what the problem might be?

 

Thank you in advance,

Chris.

Labels (1)
0 Kudos
1 Reply

634 Views
trytohelp
NXP Employee
NXP Employee

Hi,

Extract of the IDE manual:

NOTE If the IDE is unable to locate or resolve the location of project files, a Rescued

items folder will appear. The IDE tries to locate the missing files and creates

new references. This can happen when project data information, access paths,

or other location settings in target settings panels are missing or have been

compromised, for example, if the location of a project and related data

directory have changed. One way this can happen is if a project has been

committed to a source repository by one person and checked out to a different

location by another person and a new project data folder is created.

Other info about this feature:

* It is important to know that the FILES view in the project window is

'synthesized'. It doesn't really control what get's put into the

targets directly, but is instead more or less 'built' up from the data

that's stored in the targets.

* The _data folder stores a target data file. This file is a file that

stores all of the object files (this is actually changeable),

dependencies, and much of the learned information about your project.

It is because of this file that you can start your IDE on a project

you worked on the day before and still see the symbol highlighting.

* Rescued Items are generally caused when there is a file found by

reading the access paths/file information stored in the .mcp file but

that file is not found in the target data.

So... if you are transferring a project from computer to computer the

target data file/directory has very little meaning as is is really

specific to the file system/local computer.


Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos