-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to build on macos and cmake is claiming that cairo needs gobject-2.0 #294
Comments
My main dev platform is macos. I just tried a fresh pull and build following the setup instructions: https://cycfi.github.io/elements/setup. I have no problems. Everything is building just fine. Please provide more information. I can't help you if I am not able to repro your "issue". |
Well thats annoying. Any chance you have "extra" things installed via brew that is allowing iy to work for you? All I did was pull the code. Then 7 brew installs (6 from the website and a 7th for cmake). Maybe the brew version of cmake has issues? |
I don't think so. Installing cairo via
Maybe... I'll see if I can make a clean brew install as well. |
Demon:scratch alexandra$ brew install cairo fontconfig bzip2 expat zlib libpng ==> Homebrew was updated to version 3.3.15 To force the link and overwrite all conflicting files: To list all files that would be deleted: Possible conflicting files are: If you need to have bzip2 first in your PATH, run: For compilers to find bzip2 you may need to set: ==> Summary If you need to have expat first in your PATH, run: For compilers to find expat you may need to set: For pkg-config to find expat you may need to set: ==> Summary For compilers to find zlib you may need to set: For pkg-config to find zlib you may need to set: ==> Summary If you need to have bzip2 first in your PATH, run: For compilers to find bzip2 you may need to set: ==> expat If you need to have expat first in your PATH, run: For compilers to find expat you may need to set: For pkg-config to find expat you may need to set: ==> zlib For compilers to find zlib you may need to set: For pkg-config to find zlib you may need to set: Demon:scratch alexandra$ git clone --recurse-submodules https://github.com/cycfi/elements.git Demon:scratch alexandra$ cd elements; mkdir build; cd build Demon:build alexandra$ cmake -GXcode ../ -- Configuring incomplete, errors occurred! |
CMakeFiles/CMakeOutput.log Demon:build alexandra$ cat CMakeFiles/CMakeOutput.log The output was: WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList (in target 'CompilerIdC' from project 'CompilerIdC') CompileC /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CMakeCCompilerId.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'CompilerIdC' from project 'CompilerIdC') Ld /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC normal x86_64 (in target 'CompilerIdC' from project 'CompilerIdC') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh (in target 'CompilerIdC' from project 'CompilerIdC') PhaseScriptExecution Run\ Script /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh (in target 'CompilerIdC' from project 'CompilerIdC') RegisterExecutionPolicyException /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC (in target 'CompilerIdC' from project 'CompilerIdC') ** BUILD SUCCEEDED ** Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC" The C compiler identification is AppleClang, found in "/Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdC/CompilerIdC" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. The output was: WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-project-headers.hmap (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-own-target-headers.hmap (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-all-non-framework-target-headers.hmap (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/all-product-headers.yaml (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX.hmap (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-all-target-headers.hmap (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/CompilerIdCXX-generated-files.hmap (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CompilerIdCXX.LinkFileList (in target 'CompilerIdCXX' from project 'CompilerIdCXX') CompileC /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Objects-normal/x86_64/CMakeCXXCompilerId.o /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CMakeCXXCompilerId.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'CompilerIdCXX' from project 'CompilerIdCXX') Ld /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX normal x86_64 (in target 'CompilerIdCXX' from project 'CompilerIdCXX') WriteAuxiliaryFile /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh (in target 'CompilerIdCXX' from project 'CompilerIdCXX') PhaseScriptExecution Run\ Script /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX.build/Debug/CompilerIdCXX.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh (in target 'CompilerIdCXX' from project 'CompilerIdCXX') RegisterExecutionPolicyException /Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX (in target 'CompilerIdCXX' from project 'CompilerIdCXX') ** BUILD SUCCEEDED ** Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX" The CXX compiler identification is AppleClang, found in "/Volumes/scratch/elements/build/CMakeFiles/3.22.2/CompilerIdCXX/CompilerIdCXX" Detecting C compiler ABI info compiled with the following output: Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_47db8 -configuration Debug -hideShellScriptEnvironment && 2022-02-14 08:23:28.245 xcodebuild[79679:4924913] [MT] DVTSDK: Warning: SDK path collision for path 'DVTFilePath:0x7fb3c4533b80:'/Volumes/Development/Xcode-11.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'': SDK with name 'macosx10.15' being superseded by SDK with 'macosx10.15'. Prepare build Check dependencies Write auxiliary files CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_47db8.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.22.2/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler Ld Debug/cmTC_47db8 normal x86_64 ** BUILD SUCCEEDED ** Parsed C implicit include dir info from above output: rv=done Parsed C implicit link information from above output: Detecting CXX compiler ABI info compiled with the following output: Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_30795 -configuration Debug -hideShellScriptEnvironment && 2022-02-14 08:23:28.969 xcodebuild[79698:4925546] [MT] DVTSDK: Warning: SDK path collision for path 'DVTFilePath:0x7fa81fc574b0:'/Volumes/Development/Xcode-11.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'': SDK with name 'macosx10.15' being superseded by SDK with 'macosx10.15'. Prepare build Check dependencies Write auxiliary files CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_30795.build/Objects-normal/x86_64/CMakeCXXCompilerABI.o /usr/local/Cellar/cmake/3.22.2/share/cmake/Modules/CMakeCXXCompilerABI.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler Ld Debug/cmTC_30795 normal x86_64 ** BUILD SUCCEEDED ** Parsed CXX implicit include dir info from above output: rv=done Parsed CXX implicit link information from above output: |
Try If it works, we'll have to add that to the dependencies. |
That worked! Thanks... |
What worked? |
Yep. |
No description provided.
The text was updated successfully, but these errors were encountered: