Hi
Our team need to encapsulate the software as a library file now,there was a problem in the process.
The following is the problem description and demo:
v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lE:CWprjPrj_PM25TestDemo2LibTestLib2.lib
1.Create project
2.Add sample program
3.Configuration
4.Compile and generate the library file
5.Create the sample program and add the library file
6.Configure the library's path and call the library functions
7.Then compilation will prompt the above error
Hello Fan,
About creating and using library with CodeWarrior, I recommend you a detail guide:
Creating and using Libraries with ARM gcc and Eclipse | MCU on Eclipse
Please pay attention the -l option lists the names *without* the ‘lib’ prefix and the ‘.a’ extension.
BTW, about CW issue, please post on
CodeWarrior Development Tools there is CW team monitor it.
Hope it helps,
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------