Resolve "MacOS Support"
All threads resolved!
All threads resolved!
Closes #86 (closed)
Edited by Josch Morgenstern
Merge request reports
Activity
added 👍 Feature 🔧 Refactoring labels
assigned to @jfmorgenstern
added 1 commit
- 887da090 - [#86 (closed)] change default job to mac only (for debugging ci)
mentioned in issue #86 (closed)
added 1 commit
- 589700fe - [#86 (closed)] windows is allowed one retry now
- Resolved by Tobias Frisch
Erster Build schlägt fehl:
cmake -DCMAKE_BUILD_TYPE=Debug ..[0;m -- The C compiler identification is AppleClang 12.0.0.12000032 -- The CXX compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Language: [ C++ 17 ] -- Compiler: [ AppleClang 12.0.0.12000032 ] -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Using Cocoa for window creation - Library: GLFW - -- Found Vulkan: /usr/local/lib/libvulkan.dylib - Library: Vulkan - -- SPIRV-Cross: Finding Git version for SPIRV-Cross. -- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)") -- SPIRV-Cross: Git hash: ff61890 - Library: SPIRV Cross - -- VMA_BUILD_SAMPLE = -- VMA_BUILD_SAMPLE_SHADERS = -- VMA_BUILD_REPLAY = -- VMA_RECORDING_ENABLED = OFF -- VMA_USE_STL_CONTAINERS = OFF -- VMA_DYNAMIC_VULKAN_FUNCTIONS = OFF -- VMA_DEBUG_ALWAYS_DEDICATED_MEMORY = OFF -- VMA_DEBUG_INITIALIZE_ALLOCATIONS = OFF -- VMA_DEBUG_GLOBAL_MUTEX = OFF -- VMA_DEBUG_DONT_EXCEED_MAX_MEMORY_ALLOCATION_COUNT = OFF - Library: VMA - -- Using the single-header code from /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/modules/asset_loader/lib/json/single_include/ -- GLM: Version 0.9.9.9 -- Libraries: [ stdc++fs;glfw;/usr/local/lib/libvulkan.dylib;spirv-cross-cpp;VulkanMemoryAllocator ] -- Flags: [ -W4 -pthread -fopenmp ] -- /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/glfw/include/usr/local/include/Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/SPIV-Cross/include/Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/VulkanMemoryAllocator-Hpp -- /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/include -- stdc++fsglfw/usr/local/lib/libvulkan.dylibspirv-cross-cppVulkanMemoryAllocator -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Warning at config/ext/Doxygen.cmake:13 (message): Doxygen need to be installed to generate the doxygen documentation Call Stack (most recent call first): CMakeLists.txt:90 (include) -- Configuring done -- Generating done -- Build files have been written to: /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/debug [32;1m$ cmake --build .[0;m [ 1%] Building CXX object config/lib/vma/CMakeFiles/VulkanMemoryAllocator.dir/vma.cpp.o In file included from /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/config/lib/vma/vma.cpp:7: /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/VulkanMemoryAllocator-Hpp/vk_mem_alloc.hpp:2757:22: error: explicit specialization of 'vk::FlagTraits<vma::AllocationCreateFlagBits>' after instantiation template <> struct FlagTraits<VMA_HPP_NAMESPACE::AllocationCreateFlagBits> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vulkan/vulkan.hpp:790:39: note: implicit instantiation first required here return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags ); ^ In file included from /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/config/lib/vma/vma.cpp:7: /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/VulkanMemoryAllocator-Hpp/vk_mem_alloc.hpp:2765:22: error: explicit specialization of 'vk::FlagTraits<vma::AllocatorCreateFlagBits>' after instantiation template <> struct FlagTraits<VMA_HPP_NAMESPACE::AllocatorCreateFlagBits> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vulkan/vulkan.hpp:790:39: note: implicit instantiation first required here return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags ); ^ In file included from /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/config/lib/vma/vma.cpp:7: /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/VulkanMemoryAllocator-Hpp/vk_mem_alloc.hpp:2773:22: error: explicit specialization of 'vk::FlagTraits<vma::PoolCreateFlagBits>' after instantiation template <> struct FlagTraits<VMA_HPP_NAMESPACE::PoolCreateFlagBits> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vulkan/vulkan.hpp:790:39: note: implicit instantiation first required here return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags ); ^ In file included from /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/config/lib/vma/vma.cpp:7: /Users/user/builds/spmeH8yd/0/vulkan2021/vkcv-framework/lib/VulkanMemoryAllocator-Hpp/vk_mem_alloc.hpp:2781:22: error: explicit specialization of 'vk::FlagTraits<vma::RecordFlagBits>' after instantiation template <> struct FlagTraits<VMA_HPP_NAMESPACE::RecordFlagBits> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vulkan/vulkan.hpp:790:39: note: implicit instantiation first required here return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags ); ^ 4 errors generated. make[2]: *** [config/lib/vma/CMakeFiles/VulkanMemoryAllocator.dir/vma.cpp.o] Error 1 make[1]: *** [config/lib/vma/CMakeFiles/VulkanMemoryAllocator.dir/all] Error 2 make: *** [all] Error 2
added 1 commit
- 5c671a32 - [#79 (closed)] Updated VMA-hpp to work with Clang
added 1 commit
- 577d0581 - [#86 (closed)] Added preprocessing flag for openmp using Clang
added 1 commit
- 7a58b250 - [#86 (closed)] Added preprocessing flag for openmp using Clang
added 1 commit
- 16db056b - [#86 (closed)] Fix for implicit instantiation of undefined template
added 1 commit
- 6da40bc9 - [#86 (closed)] Output information about linker and try different name for c++17 fs library
added 1 commit
- 8ab297d9 - [#86 (closed)] Removed linking stdc++fs in the first place with Clang.. lol
- Resolved by Josch Morgenstern
Da es jetzt kompiliert muss nur noch getestet werden, ob es auch läuft. Ich probiere nachher mal mit meinem Macbook (mit Touch Bar !)
mentioned in issue #103 (closed)
mentioned in commit d35632f8
Please register or sign in to reply