Library Inclusion in CW 10 Application Project

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

Library Inclusion in CW 10 Application Project

跳至解决方案
666 次查看
jimfell
Contributor III

I have a CodeWarrior 10 application project that references multiple compiled libraries.  One of these libraries references yet another library.  All of the library projects build without any problems.  However, when I try to build my application project, it gets numerous link errors for undefined symbols, all of which are located in that one sub-library.  I thought that when building a library that references another library, that referenced library gets pulled into the library being built.  Is that not the case with CodeWarrior 10?  Is there a way to get CodeWarrior 10 to include referenced libraries in the final output when building a library project?

标签 (1)
0 项奖励
回复
1 解答
438 次查看
jimfell
Contributor III

Hi CrasyCat.  We're using ColdFire V1.  However, I think that I've been able to resolve this particular issue.  The sub-library was missing a source file, which had the function definitions in question, when it was built.  It didn't complain when being built as a library because the function prototypes in the header file were declared as external.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
438 次查看
CrasyCat
Specialist III

Hello

   Which MCU are you targeting  (HCS08, Coldfire, Kinetis, ...)?

CrasyCat

0 项奖励
回复
439 次查看
jimfell
Contributor III

Hi CrasyCat.  We're using ColdFire V1.  However, I think that I've been able to resolve this particular issue.  The sub-library was missing a source file, which had the function definitions in question, when it was built.  It didn't complain when being built as a library because the function prototypes in the header file were declared as external.

0 项奖励
回复