你好,
我有一些闭源库代码,我需要在我的项目中使用它。
如果我只是将标题和.o文件添加到我的项目中,那么当我构建时,我会得到链接器错误''未定义引用xxx ...''。我需要一种方法告诉链接器在哪里找到目标文件。我找不到通常的eclipse设置允许这样做。
有谁知道如何做到这一点?
先谢谢你。
#object#.o #linking
以上来自于谷歌翻译
以下为原文
Hello,
I have some closed-source library code, which I need to use in my project.
If I just add the headers and the .o files to my project, when I build, I get the linker error ''undefined reference to xxx ...''. I need a way to tell the linker where to find the object files. I can't find the usual eclipse set
ting allowing to do so.
Does anyone know how to do this?
Thank you in advance.
#object #.o #linking