1

我正在尝试在osx 10.10上安装kicad。成功构建后, 失败 makemake install

-- 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 文件中,并放在 此处可读的保管箱

4

1 回答 1

0

我很确定这是 kicad 的 CMake 脚本中的一个错误。

其他有同样的问题,见https://gist.github.com/rhaamo/497d3c94929b69874411

http://www.mikrocontroller.net/topic/380428 中,他们说它可以-DKICAD_SKIP_BOOST=ON与 kicad 构建自己的 Boost 库一起使用或与它一起使用。

于 2015-10-30T11:11:06.200 回答