You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11 warnings generated.
[217/286] Building CXX object engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/core/meta/reflection/reflection.cpp.o
FAILED: engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/core/meta/reflection/reflection.cpp.o
/usr/bin/clang++ -DJPH_DEBUG_RENDERER -DJPH_PROFILE_ENABLED -DPICCOLO_VK_LAYER_PATH=/run/media/Piccolo/engine/3rdparty/VulkanSDK/bin/Linux -DSPDLOG_COMPILED_LIB -D_DEBUG -I/run/media/Piccolo/engine/3rdparty/VulkanSDK/include -I/run/media/Piccolo/engine/shader/generated/cpp -I/run/media/Piccolo/engine/source -I/run/media/Piccolo/engine/3rdparty/json11 -I/run/media/Piccolo/engine/3rdparty/vulkanmemoryallocator/include -I/run/media/Piccolo/engine/source/runtime -I/run/media/Piccolo/engine/source/runtime/function/render/include -I/run/media/Piccolo/engine/3rdparty/spdlog/include -I/run/media/Piccolo/engine/3rdparty/tinyobjloader -I/run/media/Piccolo/engine/3rdparty/stb -I/run/media/Piccolo/engine/3rdparty/glfw/include -I/run/media/Piccolo/engine/3rdparty/imgui -I/run/media/Piccolo/engine/3rdparty/JoltPhysics/Build/.. -I/run/media/Piccolo/engine/3rdparty/lua-5.4.4 -isystem /run/media/Piccolo/engine/3rdparty/sol2-3.3.0/include -g -std=gnu++17 -MD -MT engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/core/meta/reflection/reflection.cpp.o -MF engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/core/meta/reflection/reflection.cpp.o.d -o engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/core/meta/reflection/reflection.cpp.o -c /run/media/Piccolo/engine/source/runtime/core/meta/reflection/reflection.cpp
/run/media/Piccolo/engine/source/runtime/core/meta/reflection/reflection.cpp:177:34: error: no member named 'find_if' in namespace 'std'
177 | const auto it = std::find_if(m_fields.begin(), m_fields.end(), [&](const auto& i) {
| ~~~~~^
/run/media/Piccolo/engine/source/runtime/core/meta/reflection/reflection.cpp:187:34: error: no member named 'find_if' in namespace 'std'
187 | const auto it = std::find_if(m_methods.begin(), m_methods.end(), [&](const auto& i) {
| ~~~~~^
2 errors generated.
[230/286] Building CXX object engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/function/framework/component/lua/lua_component.cpp.o
/run/media/Piccolo/engine/source/runtime/function/framework/component/lua/lua_component.cpp:83:5: warning: non-void function does not return a value in all control paths [-Wreturn-type]
83 | }
| ^
/run/media/Piccolo/engine/source/runtime/function/framework/component/lua/lua_component.cpp:153:61: note: in instantiation of function template specialization 'Piccolo::LuaComponent::get' requested here
153 | m_lua_state.set_function("get_bool", &LuaComponent::get);
| ^
1 warning generated.
[232/286] Building CXX object engine/source/runtime/CMakeFiles/PiccoloRuntime.dir/core/meta/reflection/reflection_register.cpp.o
ninja: build stopped: subcommand failed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Archlinux在编译Piccolo时,会遇到
uint32_t等类型不存在的问题,如: #475经过检查,发现是由于JoltPhysics和vulkan memory allocator这两个库分别少引用了cstdint和cstdio的问题,导致在archlinux平台无法正常通过编译。
我分别在两个文件中加入了两行#include命令,添加后,Piccolo均可以在我的Archlinux和Windows平台正常通过编译。