|
我要编译一个开元的代码,我把所有要的库文件都加上了,但还是出现link错误,我发信问开元代码的开发人员,我给他发信的内容如下:
there is an another question about compiling /test/sample_server.cxx
using g++ manually.I have did what you told me,howerver,when I pass libdiameter.a as arguments to g++ like this -l/usr/local/lib/opendiameter/libdiameter.a,g++ told me that it can not find libdiameter.a,so I pass -L/usr/local/lib/opendiameter as
arguments to g++ instead ,some linking errors as following occured which show it can not find dependent libaries(libdiameter.a and libdiamparser.a),I am olso confused.
他给我的回答是:
The compile error your encountering has to do with NOT using the
makefiles. You have some mis-match symbol export because of this
我不明白他说的是什么意思,g++编译程序要用到makefile文件?怎么用阿?想不明白怎么回事,望大虾指点小弟我啊,项目原因,很急阿!小弟我先行谢过了!! |
|