Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Headers/Authorization.h:193:7: error: variably modified 'bytes' at file scopeĬhar bytes In file included from /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Headers/AuthSession.h:32:0,įrom /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Headers/Security.h:42,įrom /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Frameworks/amework/Headers/CSIdentity.h:43,įrom /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Frameworks/amework/Headers/OSServices.h:29,įrom /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Frameworks/amework/Headers/IconsCore.h:23,įrom /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Frameworks/amework/Headers/LaunchServices.h:23,įrom /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/amework/Headers/CoreServices.h:45,įrom /Users/Shared/Development/VTK-8.2.0/source/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:100,įrom /Users/Shared/Development/VTK-8.2.0/source/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38: Building C object ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o Building C object ThirdParty/zlib/vtkzlib/CMakeFiles/vtkzlib.dir/zutil.c.o Parallel VTK 8.2 failed to build with gcc-8 on MacOS 10.14 Note that the problem might be related to: This compiles successfully until about 45% and then aborts with an error (see log below). Then after pressing “Configure” a couple of times until no entry was red anymore, I press “Generate” and then call “make” in the path /Users/Shared/Development/VTK-8.2.0/build in a Terminal. In CMake, I first specified these native compilers:ĬMAKE_C_COMPILER: /opt/local/bin/gcc-mp-7ĬMAKE_CXX_COMPILER: /opt/local/bin/g+±mp-7ĬMAKE_PREFIX_PATH=/Users/Shared/Qt5.9.1/5.9.1/clang_64ĬMAKE_INSTALL_PREFIX=/Users/Shared/Development/VTK-8.2.0/installĬMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.14.sdk Users/Shared/Development/VTK-8.2.0/build Users/Shared/Development/VTK-8.2.0/source Any ideas or any hints on how to compile and use VTK on MacOS? Any help or hints are appreciated! This is very annoying for us as it currently prevents us from using VTK. I get it configured and generated by cmake successfully, but it always fails with a compilation (see log below). I had the same problems already with MacOS High Sierra and gcc 4.9. with MacOSX10.14.sdk (Xcode), but I can’t get it to work. I am trying hard since a while already to compile VTK 8.2.0 with CMake 3.16.0, Qt 5.9.1 and MacPorts gcc7 7.4.0_3 on MacOS Mojave, i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |