Build error for baseboard with LPC1769 daughter board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Build error for baseboard with LPC1769 daughter board

319 次查看
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 项奖励
回复
2 回复数

308 次查看
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 项奖励
回复

308 次查看
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 项奖励
回复