Skip to content

win11 cmake成功,make至5%时报错 #491

@lzh0715

Description

@lzh0715

Describe the bug | Bug描述

  • cmake正常,make时进度条至5%时报错(报错太长只能截取一部分)

Screenshots/Logs | 截图/日志
PS D:\Piccolo-0.0.9> cd build
PS D:\Piccolo-0.0.9\build>
PS D:\Piccolo-0.0.9\build>
PS D:\Piccolo-0.0.9\build> cmake ..
-- Building for: MinGW Makefiles
-- The C compiler identification is GNU 13.1.0
-- The CXX compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw64/bin/gcc.exe - 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: C:/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for dinput.h
-- Looking for dinput.h - found
-- Looking for xinput.h
-- Looking for xinput.h - found
-- Performing Test _GLFW_HAS_DEP
-- Performing Test _GLFW_HAS_DEP - Success
-- Performing Test _GLFW_HAS_ASLR
-- Performing Test _GLFW_HAS_ASLR - Success
-- Performing Test _GLFW_HAS_64ASLR
-- Performing Test _GLFW_HAS_64ASLR - Success
-- Using Win32 for window creation
-- Build spdlog: 1.9.2
-- Build type: Release
CMake Deprecation Warning at engine/3rdparty/tinyobjloader/CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Configuring done (12.2s)
-- Generating done (0.8s)
-- Build files have been written to: D:/Piccolo-0.0.9/build
PS D:\Piccolo-0.0.9\build> cd ..
PS D:\Piccolo-0.0.9> ls

目录: D:\Piccolo-0.0.9

Mode LastWriteTime Length Name


d----- 2022/10/22 15:55 .github
d----- 2022/10/22 15:55 .gitlab
d----- 2025/3/13 11:59 .vs
d----- 2025/3/13 12:02 build
d----- 2022/10/22 15:55 cmake
d----- 2025/3/13 2:31 engine
d----- 2022/10/22 15:55 scripts
-a---- 2022/10/22 15:55 3746 .clang-format
-a---- 2022/10/22 15:55 7276 .clang-tidy
-a---- 2022/10/22 15:55 7118 .gitignore
-a---- 2022/10/22 15:55 1699 build_linux.sh
-a---- 2022/10/22 15:55 729 build_macos.sh
-a---- 2022/10/22 15:55 74 build_windows.bat
-a---- 2022/10/22 15:55 619 CMakeLists.txt
-a---- 2022/10/22 15:55 1077 LICENSE
-a---- 2022/10/22 15:55 5036 README.md
-a---- 2022/10/22 15:55 25736 ReleaseNotes.md

PS D:\Piccolo-0.0.9> cmake --build build
[ 1%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/cursor/cursor.cpp.obj
[ 1%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/cursor/cursor_type.cpp.obj
[ 1%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/generator/generator.cpp.obj
[ 2%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/generator/reflection_generator.cpp.obj
[ 2%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/generator/serializer_generator.cpp.obj
[ 2%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/language_types/class.cpp.obj
[ 3%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/language_types/field.cpp.obj
[ 3%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/language_types/type_info.cpp.obj
[ 3%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/main.cpp.obj
[ 4%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/meta/meta_info.cpp.obj
[ 4%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/meta/meta_utils.cpp.obj
[ 4%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/parser/parser.cpp.obj
[ 5%] Building CXX object engine/source/meta_parser/CMakeFiles/PiccoloParser.dir/parser/template_manager/template_manager.cpp.obj
[ 5%] Linking CXX executable D:\Piccolo-0.0.9\engine\bin\PiccoloParser.exe
[ 5%] Built target PiccoloParser


**** [Precompile] BEGIN


Parsing meta data for target "CMakeFiles"
Parsing in D:/Piccolo-0.0.9/engine/source
Parsing project file: D:/Piccolo-0.0.9/engine/bin/precompile.json
Generating the Source Include file: D:/Piccolo-0.0.9/build/parser_header.h
Parsing the whole project...
D:/Piccolo-0.0.9/engine/source\runtime/core/base/hash.h:7:26: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime/core/base/hash.h:13:26: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/log/log_system.h:14:31: error: use of undeclared identifier 'uint8_t'
D:/Piccolo-0.0.9/engine/source/runtime/core/log/log_system.h:61:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/log/log_system.h:61:25: error: use of undeclared identifier 'spdlog'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:28:33: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:33:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:34:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:35:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:36:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:37:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:38:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:39:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:40:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:41:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:42:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:43:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/global/global_context.h:44:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/json.h:3:15: error: use of undeclared identifier 'json11'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:62:33: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:62:38: error: expected class name
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:66:37: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:66:73: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:66:86: error: 'T' does not refer to a value
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:65:23: note: declared here
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:66:89: error: expected expression
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:66:92: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:76:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:77:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:78:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:79:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:80:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:81:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:82:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:84:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:84:39: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:85:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:85:37: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:85:38: error: expected expression
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:86:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:88:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:90:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:92:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:116:45: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:118:64: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:119:59: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:119:88: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:120:20: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:120:51: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:122:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:135:22: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:138:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:138:40: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:138:55: error: 'FieldAccessor' does not refer to a value
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:72:15: note: declared here
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:140:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:230:27: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:281:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:283:30: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/meta/reflection/reflection.h:338:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:10:43: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:10:48: error: expected a qualified name after 'typename'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:10:48: error: expected ';' after alias declaration
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:14:38: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:71:38: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:72:38: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/random.h:99:46: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:13:44: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:13:69: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:13:72: error: no member named 'infinity' in the global namespace
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:14:45: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:14:70: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:14:73: error: no member named 'infinity' in the global namespace
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:21:44: error: use of undeclared identifier 'log'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:24:41: error: use of undeclared identifier 'FLT_EPSILON'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:25:41: error: use of undeclared identifier 'DBL_EPSILON'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:212:68: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:212:93: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:212:96: error: no member named 'epsilon' in the global namespace
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:207:48: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:208:46: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:210:50: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:213:68: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:214:72: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:223:55: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:224:49: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:225:55: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:226:49: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:227:55: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:228:49: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:231:57: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:232:67: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:237:20: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:235:28: error: no return statement in constexpr function
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:243:20: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:241:28: error: no return statement in constexpr function
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:249:20: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:247:28: error: no return statement in constexpr function
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:255:20: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/math.h:253:28: error: no return statement in constexpr function
D:/Piccolo-0.0.9/engine/source\runtime\core\math\quaternion.h:97:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\quaternion.h:129:39: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:29:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:35:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:58:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:64:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:80:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:155:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:164:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:179:39: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:245:28: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:431:55: error: use of undeclared identifier 'fabsf'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:431:65: error: use of undeclared identifier 'fabsf'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector3.h:431:75: error: use of undeclared identifier 'fabsf'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:13: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:38: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:41: error: no member named 'max' in the global namespace
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:48: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:73: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:76: error: no member named 'max' in the global namespace
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:83: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:108: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:30:111: error: no member named 'max' in the global namespace
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:14: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:39: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:42: error: no member named 'max' in the global namespace
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:50: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:75: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:78: error: no member named 'max' in the global namespace
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:86: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:111: error: expected '(' for function-style cast or type construction
D:/Piccolo-0.0.9/engine/source\runtime\core\math\axis_aligned.h:32:114: error: no member named 'max' in the global namespace
D:/Piccolo-0.0.9/engine/source/runtime/core/math/matrix3.h:50:13: error: use of undeclared identifier 'memcpy'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/matrix3.h:51:13: error: use of undeclared identifier 'memcpy'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/matrix3.h:52:13: error: use of undeclared identifier 'memcpy'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/matrix3.h:158:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source/runtime/core/math/matrix3.h:301:17: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:26:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:32:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:60:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:65:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:80:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:161:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector4.h:172:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:512:39: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:512:55: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:279:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:285:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:561:17: error: use of undeclared identifier 'fabs'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:839:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:873:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\matrix4.h:886:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector2.h:36:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector2.h:42:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector2.h:61:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector2.h:140:13: error: use of undeclared identifier 'assert'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector2.h:165:39: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\math\vector2.h:228:27: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\meta\meta_example.h:14:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime\core\meta\meta_example.h:33:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:16:16: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:22:38: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:41:16: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:50:31: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:58:16: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:73:30: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:89:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:91:35: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:94:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:96:34: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:99:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:101:43: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:104:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:106:36: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:109:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:111:37: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:114:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:116:35: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:119:5: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:119:36: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:121:5: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:121:42: error: unknown type name 'PJson'
D:/Piccolo-0.0.9/engine/source\runtime/core/meta/serializer/serializer.h:121:63: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/engine.h:12:12: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/engine.h:12:31: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/engine.h:21:32: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/engine.h:47:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:15:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:15:21: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:24:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:25:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:26:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:27:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:38:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_clip.h:49:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/animation_skeleton_node_map.h:15:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/skeleton_data.h:16:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/skeleton_data.h:29:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/skeleton_mask.h:14:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/resource/res_type/data/skeleton_mask.h:15:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/animation/animation_loader.h:16:9: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/animation/animation_loader.h:16:62: error: use of undeclared identifier 'std'
D:/Piccolo-0.0.9/engine/source/runtime/function/animation/animation_loader.h:17:9: error: use of undeclared identifier 'std'

D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:312:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:318:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:326:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:327:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:336:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:342:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:344:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:354:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:363:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:365:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:367:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:377:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:378:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:385:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:408:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:410:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:411:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:412:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:420:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:433:9: error: unknown type name 'uint32_t'
D:/Piccolo-0.0.9/engine/source/runtime/function/render/interface/rhi_struct.h:435:9: error: unknown type name 'int32_t'

[ 11%] Building CXX object engine/3rdparty/CMakeFiles/imgui.dir/imgui/imgui_demo.cpp.obj
[ 11%] Building CXX object engine/3rdparty/CMakeFiles/imgui.dir/imgui/imgui_draw.cpp.obj
[ 11%] Building CXX object engine/3rdparty/CMakeFiles/imgui.dir/imgui/imgui_tables.cpp.obj
[ 12%] Building CXX object engine/3rdparty/CMakeFiles/imgui.dir/imgui/imgui_widgets.cpp.obj
[ 12%] Building CXX object engine/3rdparty/CMakeFiles/imgui.dir/imgui/backends/imgui_impl_glfw.cpp.obj
[ 12%] Building CXX object engine/3rdparty/CMakeFiles/imgui.dir/imgui/backends/imgui_impl_vulkan.cpp.obj
[ 12%] Linking CXX static library libimgui.a
[ 12%] Built target imgui
[ 12%] Built target stb
[ 12%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/spdlog.cpp.obj
[ 13%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.obj
[ 13%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/color_sinks.cpp.obj
[ 13%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/file_sinks.cpp.obj
[ 14%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/async.cpp.obj
[ 14%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/cfg.cpp.obj
[ 14%] Building CXX object engine/3rdparty/spdlog/CMakeFiles/spdlog.dir/src/fmt.cpp.obj
[ 15%] Linking CXX static library libspdlog.a
[ 15%] Built target spdlog
[ 15%] Building CXX object engine/3rdparty/tinyobjloader/CMakeFiles/tinyobjloader.dir/tiny_obj_loader.cc.obj
[ 15%] Linking CXX static library libtinyobjloader.a
[ 15%] Built target tinyobjloader
[ 15%] Building CXX object engine/3rdparty/JoltPhysics/Build/CMakeFiles/Jolt.dir//Jolt/AABBTree/AABBTreeBuilder.cpp.obj
c++.exe: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
mingw32-make[2]: *** [engine\3rdparty\JoltPhysics\Build\CMakeFiles\Jolt.dir\build.make:76: engine/3rdparty/JoltPhysics/Build/CMakeFiles/Jolt.dir/
/Jolt/AABBTree/AABBTreeBuilder.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:512: engine/3rdparty/JoltPhysics/Build/CMakeFiles/Jolt.dir/all] Error 2
mingw32-make: *** [Makefile:135: all] Error 2
PS D:\Piccolo-0.0.9>
^C
PS D:\Piccolo-0.0.9> ^C

Desktop | 桌面环境
windows11
cmake version 3.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions