Build error for baseboard with LPC1769 daughter board

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

Build error for baseboard with LPC1769 daughter board

241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jbrydon on Tue Nov 25 21:48:54 MST 2014
Trying to compile "demo" as per users guide but get (?) linking error:

cannot find -lCMSISv1p30_LPC17xx
collect2.exe: error: ld returned 1 exit status

Any ideas ?
0 Kudos
Reply
2 Replies

230 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jbrydon on Tue Nov 25 23:52:56 MST 2014
'CMSISv1p30_LPC17xx' located in 'LPC17xx_OldCMSIS_Libraries' .

Imported into LPCXpresso and built.

Both this library and 'demo' are set to debug builds.

'Demo' project references have 'CMSISv1p30_LPC17xx' box ticked.

'CMSISv1p30_LPC17xx' project references have 'Demo' box ticked.

Manual links to library projects created: !!!! the project was set up for library files named 'Lib_LPC17.....' whereas the CMSIS libraries are NOT preceeded by the letters "Lib_".

'Demo' now compiles without error AND RUNS.

Oh, frabjous joy.



0 Kudos
Reply

230 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Nov 25 22:02:18 MST 2014

Quote: jbrydon
Trying to compile "demo" as per users guide but get (?) linking error:

cannot find -lCMSISv1p30_LPC17xx
collect2.exe: error: ld returned 1 exit status

Any ideas ?



Forum Search  :)

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