我正在尝试在osx 10.10上安装kicad。成功构建make之后,在
-- fixup_bundle
-- app='/Users/bolor/Downloads/KiCad/bin/eeschema.app/Contents/MacOS/eeschema'
-- libs=''
-- dirs=''
-- fixup_bundle: preparing...
-- warning: embedded item does not exist '/Users/bolor/Downloads/KiCad/bin/eeschema.app/Contents/MacOS/libboost_chrono-mt.dylib'
--
warning: cannot resolve item '@loader_path/libboost_chrono-mt.dylib'
possible problems:
need more directories?
need to use InstallRequiredSystemLibraries?
run in install tree instead of build tree?
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't open file: @loader_path/libboost_chrono-mt.dylib (No such file or directory)CMake配置如下:
cmake ../kicad \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 \ -DwxWidgets_CONFIG_EXECUTABLE=../wx-bin/bin/wx-config \ -DKICAD_SCRIPTING=OFF \ -DKICAD_SCRIPTING_MODULES=OFF \ -DKICAD_SCRIPTING_WXPYTHON=OFF \ -DCMAKE_INSTALL_PREFIX=../bin \ -DCMAKE_BUILD_TYPE=Release \ -DKICAD_SKIP_BOOST=ON \ -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
有人知道怎么解决这个问题吗?谢谢!
我已将所有构建日志保存在txt文件中,并安装了dropbox可读的这里。
发布于 2015-10-30 11:11:06
我很确定这是kicad的CMake脚本中的一个bug。
其他人也有同样的问题,请参阅https://gist.github.com/rhaamo/497d3c94929b69874411
在http://www.mikrocontroller.net/topic/380428中,他们说它要么适用于-DKICAD_SKIP_BOOST=ON,要么让kicad构建自己的Boost库。
https://stackoverflow.com/questions/33419697
复制相似问题