donut icon indicating copy to clipboard operation
donut copied to clipboard

Mac support?

Open Kurtjwest opened this issue 1 year ago • 2 comments

Hello,

Have tried and failed to build on mac. Is it possible to build for mac, and if not is this possible to implement?

Thanks

Kurtjwest avatar May 18 '24 04:05 Kurtjwest

Log:

cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=arm64-darwin cmake --build build -j 5 -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /Users/kjw/donut/build [ 1%] Building CXX object src/CMakeFiles/donut.dir/Audio/AudioManager.cpp.o [ 3%] Building CXX object src/CMakeFiles/donut.dir/Character.cpp.o [ 4%] Building CXX object src/CMakeFiles/donut.dir/Core/Math/Vector4.cpp.o [ 6%] Building CXX object src/CMakeFiles/donut.dir/Core/Math/Vector3Int.cpp.o [ 7%] Building CXX object src/CMakeFiles/donut.dir/Core/MemoryStream.cpp.o [ 9%] Building CXX object src/CMakeFiles/donut.dir/Entity.cpp.o [ 11%] Building CXX object src/CMakeFiles/donut.dir/FreeCamera.cpp.o In file included from /Users/kjw/donut/src/Audio/AudioManager.cpp:3: /Users/kjw/donut/src/Audio/AudioManager.h:8:10: fatal error: 'AL/alc.h' file not found #include <AL/alc.h> ^~~~~~~~~~ [ 12%] Building CXX object src/CMakeFiles/donut.dir/FrontendProject.cpp.o 1 error generated. gmake[2]: *** [src/CMakeFiles/donut.dir/build.make:90: src/CMakeFiles/donut.dir/Audio/AudioManager.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from /Users/kjw/donut/src/Entity.cpp:3: In file included from /Users/kjw/donut/src/Entity.h:5: In file included from /Users/kjw/donut/src/Render/Mesh.h:6: In file included from /Users/kjw/donut/src/P3D/P3D.generated.h:19: In file included from /Users/kjw/donut/src/Core/Math/Matrix4x4.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix3x3.h:5: In file included from /Users/kjw/donut/src/Core/Math/Quaternion.h:6: In file included from /Users/kjw/donut/src/Core/Math/Vector3.h:7: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string:622: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string_view:1059: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/algorithm:1778: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on 'Donut::SkinAnimation::ValueKeyDonut::Vector3' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete __ptr; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Donut::SkinAnimation::ValueKeyDonut::Vector3>::operator()' requested here _ptr.second()(__tmp); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>::reset' requested here _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator.h:172:15: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>::~unique_ptr' requested here __p->~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::destroy' requested here __a.destroy(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>>::destroy<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>, void>' requested here __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:938:29: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__base_destruct_at_end' requested here void __clear() _NOEXCEPT {__base_destruct_at_end(this->_begin);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__clear' requested here _vec.__clear(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:500:67: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__destroy_vector::operator()' requested here _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); } ^ /Users/kjw/donut/src/Render/SkinAnimation.h:61:8: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::~vector' requested here class ValueKeyCurve ^ In file included from /Users/kjw/donut/src/Character.cpp:3: In file included from /Users/kjw/donut/src/Character.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix4x4.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix3x3.h:5: In file included from /Users/kjw/donut/src/Core/Math/Quaternion.h:6: In file included from /Users/kjw/donut/src/Core/Math/Vector3.h:7: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string:622: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string_view:1059: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/algorithm:1778: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on 'Donut::SkinAnimation::ValueKeyDonut::Vector3' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete __ptr; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Donut::SkinAnimation::ValueKeyDonut::Vector3>::operator()' requested here _ptr.second()(__tmp); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>::reset' requested here _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator.h:172:15: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>::~unique_ptr' requested here __p->~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::destroy' requested here __a.destroy(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>>::destroy<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>, void>' requested here __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end)); In file included from ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector/Users/kjw/donut/src/Entity.cpp:3: In file included from /Users/kjw/donut/src/Entity.h:5: In file included from /Users/kjw/donut/src/Render/Mesh.h:6: In file included from /Users/kjw/donut/src/P3D/P3D.generated.h:19: In file included from /Users/kjw/donut/src/Core/Math/Matrix4x4.h::5: In file included from /Users/kjw/donut/src/Core/Math/Matrix3x3.h:5: In file included from /Users/kjw/donut/src/Core/Math/Quaternion.h:6: In file included from /Users/kjw/donut/src/Core/Math/Vector3.h:7: 938In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string:622: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string_view:1059: :In file included from 29: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/algorithmnote: :1778in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__base_destruct_at_end' requested here:

void __clear() _NOEXCEPT {__base_destruct_at_end(this->_begin);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__clear' requested here _vec.__clear(); ^ In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:500:67: warning: delete called on 'Donut::SkinAnimation::ValueKeyDonut::Quaternion' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKey<Donut::Vector3 delete __ptr; ^

::__destroy_vector::operator()' requested here /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::operator()' requested here _ptr.second()(__tmp); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::reset' requested here _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); } _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } ^ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator.h:172:15: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::~unique_ptr' requested here __p->~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::destroy' requested here __a.destroy(__p); ^ /Users/kjw/donut/src/Render/SkinAnimation.h:61:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>>::destroy<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>, void>' requested here8: note: __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::~vector' requested here ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:938:29: class ValueKeyCurve ^ note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__base_destruct_at_end' requested here void __clear() _NOEXCEPT {__base_destruct_at_end(this->_begin);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__clear' requested here _vec.__clear(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:500:67: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__destroy_vector::operator()' requested here _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); } ^ /Users/kjw/donut/src/Render/SkinAnimation.h:61:8: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::~vector' requested here class ValueKeyCurve ^ In file included from /Users/kjw/donut/src/Character.cpp:3: In file included from /Users/kjw/donut/src/Character.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix4x4.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix3x3.h:5: In file included from /Users/kjw/donut/src/Core/Math/Quaternion.h:6: In file included from /Users/kjw/donut/src/Core/Math/Vector3.h:7: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string:622: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string_view:1059: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/algorithm:1778: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on 'Donut::SkinAnimation::ValueKeyDonut::Quaternion' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete __ptr; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::operator()' requested here _ptr.second()(__tmp); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::reset' requested here _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator.h:172:15: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::~unique_ptr' requested here __p->~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::destroy' requested here __a.destroy(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>>::destroy<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>, void>' requested here __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:938:29: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__base_destruct_at_end' requested here void __clear() _NOEXCEPT {__base_destruct_at_end(this->_begin);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__clear' requested here _vec.__clear(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:500:67: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__destroy_vector::operator()' requested here _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); } ^ /Users/kjw/donut/src/Render/SkinAnimation.h:61:8: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::~vector' requested here class ValueKeyCurve ^ /Users/kjw/donut/src/FrontendProject.cpp:119:18: warning: 179 enumeration values not handled in switch: 'Camera', 'LightGroup', 'Skeleton'... [-Wswitch] switch (chunk->GetType()) ~~~~~~~^~~~~~~~~ /Users/kjw/donut/src/FrontendProject.cpp:119:18: note: add missing switch cases switch (chunk->GetType()) ^ In file included from /Users/kjw/donut/src/Character.cpp:6: In file included from /Users/kjw/donut/src/P3D/P3D.generated.h:24: In file included from /Users/kjw/donut/src/P3D/P3DChunk.h:8: In file included from /opt/homebrew/include/fmt/format.h:49: /opt/homebrew/include/fmt/core.h:1600:63: error: implicit instantiation of undefined template 'fmt::detail::type_is_unformattable_for<Donut::P3D::ChunkType, char>' type_is_unformattable_for<T, typename Context::char_type> ; ^ /opt/homebrew/include/fmt/core.h:1842:23: note: in instantiation of function template specialization 'fmt::detail::make_arg<true, fmt::basic_format_context<fmt::appender, char>, Donut::P3D::ChunkType, 0>' requested here data{detail::make_arg<is_packed, Context>(args)...} { ^ /opt/homebrew/include/fmt/core.h:1860:10: note: in instantiation of function template specialization 'fmt::format_arg_store<fmt::basic_format_context<fmt::appender, char>, std::string, Donut::P3D::ChunkType>::format_arg_store<const std::string, Donut::P3D::ChunkType>' requested here return {args...}; ^ /opt/homebrew/include/fmt/core.h:2922:28: note: in instantiation of function template specialization 'fmt::make_format_args<fmt::basic_format_context<fmt::appender, char>, const std::string, Donut::P3D::ChunkType>' requested here const auto& vargs = fmt::make_format_args(args...); ^ /Users/kjw/donut/src/Character.cpp:44:17: note: in instantiation of function template specialization 'fmt::print<const std::string &, Donut::P3D::ChunkType>' requested here default: fmt::print("unhandled chunk {1} in character {0}\n", name, chunk->GetType()); break; ^ /opt/homebrew/include/fmt/core.h:1578:45: note: template is declared here template <typename T, typename Char> struct type_is_unformattable_for; ^ /opt/homebrew/include/fmt/core.h:1603:3: error: static assertion failed due to requirement 'formattable': Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt static_assert( ^ 2 warnings and 2 errors generated. gmake[2]: *** [src/CMakeFiles/donut.dir/build.make:104: src/CMakeFiles/donut.dir/Character.cpp.o] Error 1 2 warnings generated. In file included from /Users/kjw/donut/src/FrontendProject.cpp:3: In file included from /Users/kjw/donut/src/Entity.h:5: In file included from /Users/kjw/donut/src/Render/Mesh.h:6: In file included from /Users/kjw/donut/src/P3D/P3D.generated.h:19: In file included from /Users/kjw/donut/src/Core/Math/Matrix4x4.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix3x3.h:5: In file included from /Users/kjw/donut/src/Core/Math/Quaternion.h:6: In file included from /Users/kjw/donut/src/Core/Math/Vector3.h:7: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string:622: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string_view:1059: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/algorithm:1778: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on 'Donut::SkinAnimation::ValueKeyDonut::Vector3' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete __ptr; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Donut::SkinAnimation::ValueKeyDonut::Vector3>::operator()' requested here _ptr.second()(__tmp); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>::reset' requested here _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator.h:172:15: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>::~unique_ptr' requested here __p->~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::destroy' requested here __a.destroy(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>>::destroy<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>, void>' requested here __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:938:29: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__base_destruct_at_end' requested here void __clear() _NOEXCEPT {__base_destruct_at_end(this->_begin);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__clear' requested here _vec.__clear(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:500:67: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::__destroy_vector::operator()' requested here _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); } ^ /Users/kjw/donut/src/Render/SkinAnimation.h:61:8: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Vector3>>::~vector' requested here class ValueKeyCurve ^ In file included from /Users/kjw/donut/src/FrontendProject.cpp:3: In file included from /Users/kjw/donut/src/Entity.h:5: In file included from /Users/kjw/donut/src/Render/Mesh.h:6: In file included from /Users/kjw/donut/src/P3D/P3D.generated.h:19: In file included from /Users/kjw/donut/src/Core/Math/Matrix4x4.h:5: In file included from /Users/kjw/donut/src/Core/Math/Matrix3x3.h:5: In file included from /Users/kjw/donut/src/Core/Math/Quaternion.h:6: In file included from /Users/kjw/donut/src/Core/Math/Vector3.h:7: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string:622: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/string_view:1059: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/algorithm:1778: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:28: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:68:5: warning: delete called on 'Donut::SkinAnimation::ValueKeyDonut::Quaternion' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete __ptr; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::operator()' requested here _ptr.second()(__tmp); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::reset' requested here _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator.h:172:15: note: in instantiation of member function 'std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>::~unique_ptr' requested here __p->~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::destroy' requested here __a.destroy(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:944:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>>::destroy<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>, void>' requested here __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:938:29: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__base_destruct_at_end' requested here void __clear() _NOEXCEPT {__base_destruct_at_end(this->_begin);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:489:20: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__clear' requested here _vec.__clear(); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/vector:500:67: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::__destroy_vector::operator()' requested here _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); } ^ /Users/kjw/donut/src/Render/SkinAnimation.h:61:8: note: in instantiation of member function 'std::vector<std::unique_ptr<Donut::SkinAnimation::ValueKeyDonut::Quaternion>>::~vector' requested here class ValueKeyCurve ^ 3 warnings generated. gmake[1]: *** [CMakeFiles/Makefile2:125: src/CMakeFiles/donut.dir/all] Error 2 gmake: *** [Makefile:91: all] Error 2

Kurtjwest avatar May 18 '24 05:05 Kurtjwest

Code it, it's open source

aylaylay avatar May 20 '24 13:05 aylaylay

@aylaylay Already tried but right now it is way beyond my skill level unfortunately, was wondering if someone was already working on it or had any ideas on porting it.

Kurtjwest avatar May 25 '24 22:05 Kurtjwest