我正在尝试使用blender的来源并尝试按照http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Mac上的教程
我正在使用CMake + Xcode方法,该方法可以使用“select install”作为目标,并点击运行按钮。 3-4分钟后,我收到此错误:
CompileC /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.o intern/ghost/intern/GHOST_NDOFManagerCocoa.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Jan/blender-build/blender
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-arc-abi -Wno-c++11-extensions "-DCMAKE_INTDIR=\"Debug\"" -D__SSE__ -D__MMX__ -D__SSE2__ -D__LITTLE_ENDIAN__ -DOPJ_STATIC -DWITH_INPUT_NDOF -DDEBUG -D_DEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.5 -g -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/Jan/blender-build/cmake/lib/Debug/include -I/Users/Jan/blender-build/blender/intern/ghost -I/Users/Jan/blender-build/blender/intern/string -I/Users/Jan/blender-build/blender/source/blender/imbuf -I/Users/Jan/blender-build/blender/source/blender/makesdna -I/Users/Jan/blender-build/blender/extern/glew/include -I/Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/DerivedSources/x86_64 -I/Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/Jan/blender-build/cmake/lib/Debug -msse2 -msse -pipe -funsigned-char -DGHOST_COCOA -DUSE_QTKIT -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wuninitialized -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -fno-strict-aliasing -MMD -MT dependencies -MF /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.d --serialize-diagnostics /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.dia -c /Users/Jan/blender-build/blender/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm -o /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.o
/Users/Jan/blender-build/blender/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm:30:11: fatal error: '3DconnexionClient/ConnexionClientAPI.h' file not found
#include <3DconnexionClient/ConnexionClientAPI.h>
^
1 error generated.
由于我拥有SpaceNavigator,因此安装了驱动程序,它们肯定位于/Library/Frameworks/3DconnexionClient.framework下,并且搜索的头文件也可用。
我还尝试添加标头+库搜索路径,但这也不起作用。
对此有何帮助?
谢谢!