Issue building in release mode (libraries linked but not found)

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

Issue building in release mode (libraries linked but not found)

367 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by db_weldon on Thu Jan 15 14:26:48 MST 2015
Trying to run the lpcusblib_MassStorageHost example in release mode but keep getting cannot find errors, although from what I can manually see they are linked in the project. Searches for release mode issues all point to library issues but I cannot find my mistake. Can anyone see what I've missed?
[img=800x450]http://i1165.photobucket.com/albums/q597/GhostBuckets/build_release.png[/img]
[img=800x450]http://i1165.photobucket.com/albums/q597/GhostBuckets/lib_link.png[/img]
[img=800x450]http://i1165.photobucket.com/albums/q597/GhostBuckets/release_linker.png[/img]
[img=800x450]http://i1165.photobucket.com/albums/q597/GhostBuckets/run_config.png[/img]
0 Kudos
3 Replies

357 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by db_weldon on Wed Jan 28 13:54:20 MST 2015
Thank you both.

I read the information above before but never made the connection that the libraries were actually 'projects' in the Project Explorer. Setting them to release and compiling solved everything.

[img=800x450]http://i1165.photobucket.com/albums/q597/GhostBuckets/library_setactive_release-1.png[/img]
0 Kudos

357 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Jan 16 02:55:55 MST 2015

Quote: TheFallGuy
You need to build the Release configuration of the 'missing' libraries.



This is certainly the most common reason for the missing library error. There is more information in the section "Build configurations do not match" of this FAQ:

http://www.lpcware.com/content/faq/lpcxpresso/linker-cannot-find-library

Regards
LPCXpresso Support
0 Kudos

357 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jan 15 16:00:43 MST 2015
You need to build the Release configuration of the 'missing' libraries.
0 Kudos