Xcode专家需要 - 仍然在链接中挣扎

时间:2016-08-03 14:06:34

标签: xcode dylib

根据thisthis,我收到了一个错误消息。

我的图书馆确实存在(这是证明):

./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/liblibdatabaseview.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/liblibdbloader.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/liblibdialogs.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/liblibodbc.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/liblibshapeframework.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/liblibsqlite.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/libodbc_lib.dylib
./Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/libsqlite_lib.dylib

如何修复错误?

1 个答案:

答案 0 :(得分:0)

我重构了代码以摆脱循环依赖,现在它在所有3个平台上编译都很好。

虽然只有OSX Xcode没有编译代码,但仍然很奇怪。