ld:osX 机器上的重复符号 [libpmk]
我正在尝试编译 libpmk 库 http://people.csail.mit.edu /jjl/libpmk/#docs 遵循此处的文档 http://people.csail.mit.edu/jjl/libpmk/documentation/ 。
我在 osx 上运行,在“make libpmk”之后出现此错误:
ld:pyramid/pyramid-maker.o 和 histograms/multi-resolution-histogram.o 中的重复符号 __ZN6libpmk10SparseTreeINS_3BinEE4rootEv 用于推断架构 x86_64
有人知道如何解决这个问题吗? 我尝试在 Ubuntu 上编译,它可以工作!
I'm try to compiling the libpmk library http://people.csail.mit.edu/jjl/libpmk/#docs following the documentation here http://people.csail.mit.edu/jjl/libpmk/documentation/ .
I'm running on osx and after the "make libpmk" i've got this error:
ld: duplicate symbol __ZN6libpmk10SparseTreeINS_3BinEE4rootEv in pyramids/pyramid-maker.o and histograms/multi-resolution-histogram.o for inferred architecture x86_64
Does anybody know how to solve this?
I tried to compile on Ubuntu and it works!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经编译了它,尽管我还没有机会对其进行全部测试。删除或注释掉以下行(文件位于 libpmk 目录下):
应该可以解决问题并允许其编译。这些行号适用于 v2.5。
I got it to compile, though I haven't had a chance to test it all out yet. Removing or commenting out the following lines (files are under the libpmk directory):
should fix the problem and allow it to compile. These line numbers are for v2.5.