explosionengine / explosion Goto Github PK
View Code? Open in Web Editor NEW💥 A modern cross-platform game engine (WIP)
License: MIT License
💥 A modern cross-platform game engine (WIP)
License: MIT License
error message:
Common.vcxproj -> C:\Work\Explosion\build\Lib\Debug\Common.lib
Common.Test.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Common.Test.exe
Core.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Core.dll
Core.Test.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Core.Test.exe
Mirror.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Mirror.dll
Mirror.Test.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Mirror.Test.exe
MirrorTool.Static.vcxproj -> C:\Work\Explosion\build\Lib\Debug\MirrorTool.Static.lib
MirrorTool.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\MirrorTool.exe
MirrorTool.Test.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\MirrorTool.Test.exe
RHI.vcxproj -> C:\Work\Explosion\build\Lib\Debug\RHI.lib
RHI-DirectX12.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\RHI-DirectX12.dll
RHI-Dummy.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\RHI-Dummy.dll
RHI-Vulkan.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\RHI-Vulkan.dll
Render.vcxproj -> C:\Work\Explosion\build\Lib\Debug\Render.lib
RHI-SSAO.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\RHI-SSAO.exe
RHI-TexSampling.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\RHI-TexSampling.exe
RHI-Triangle.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\RHI-Triangle.exe
Render.Test.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Render.Test.exe
Rendering.vcxproj -> C:\Work\Explosion\build\Dist\Debug\Engine\Binaries\Rendering.dll
Generating ../../../Generated/MirrorInfoSource/Runtime/ECS.generated.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\yvals_core.h(847,1): error G4
1C625DC: static assertion failed: Error in C++ Standard Library usage. [C:\Work\Explosion\build\Engine\Source\Runtime\R
untime.Generated.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): e
rror MSB8066: “C:\Work\Explosion\build\CMakeFiles\bcb1d8ac9c42fad46bfd0938ee19bd7b\ECS.generated.cpp.rule;C:\Work\Explo
sion\build\CMakeFiles\bcb1d8ac9c42fad46bfd0938ee19bd7b\RuntimeModule.generated.cpp.rule;C:\Work\Explosion\build\CMakeFi
les\bcb1d8ac9c42fad46bfd0938ee19bd7b\World.generated.cpp.rule;C:\Work\Explosion\build\CMakeFiles\31de34aa6404d2b06b99f2
02932168b6\Runtime.Generated.rule”的自定义生成已退出,代码为 1。 [C:\Work\Explosion\build\Engine\Source\Runtime\Runtime.Generated.vcx
proj]
I'm using m1 to build my current project, but I'm having problems compiling the library.
ld: warning: ignoring file /Volumes/Develop/projects/Explosion/ThirdParty/Lib/llvm-clang-Darwin-14.0.3/lib/libclang.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"_clang_CXXMethod_isStatic", referenced from:
The file is x86 arch type.
$ file ThirdParty/Lib/llvm-clang-Darwin-14.0.3/lib/libclang.dylib
ThirdParty/Lib/llvm-clang-Darwin-14.0.3/lib/libclang.dylib: Mach-O 64-bit dynamically linked shared library x86_64
my platform is m1 macbook pro.
there is lldb info:
$ lldb ./build/Bin/RHI-Triangle
(lldb) target create "./build/Bin/RHI-Triangle"
Current executable set to '/Users/lxz/Develop/github/Explosion/build/Bin/RHI-Triangle' (arm64).
(lldb) r -w 100 -h 100 -rhi Vulkan
Process 63116 launched: '/Users/lxz/Develop/github/Explosion/build/Bin/RHI-Triangle' (arm64)
Process 63116 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x00000001000093e0 RHI-Triangle`TriangleApplication::CreateInstanceAndSelectGPU(this=0x000000016fdfda70) at Triangle.cpp:53:25
50 {
51 instance = Instance::CreateByType(rhiType);
52
-> 53 gpu = instance->GetGpu(0);
54 }
55
56 void RequestDeviceAndFetchQueues()
Target 0: (RHI-Triangle) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00000001000093e0 RHI-Triangle`TriangleApplication::CreateInstanceAndSelectGPU(this=0x000000016fdfda70) at Triangle.cpp:53:25
frame #1: 0x0000000100007d44 RHI-Triangle`TriangleApplication::OnCreate(this=0x000000016fdfda70) at Triangle.cpp:27:9
frame #2: 0x0000000100007a34 RHI-Triangle`Application::Run(this=0x000000016fdfda70, argc=7, argv=0x000000016fdfdcc0) at Application.h:72:9
frame #3: 0x0000000100007280 RHI-Triangle`main(argc=7, argv=0x000000016fdfdcc0) at Triangle.cpp:250:24
frame #4: 0x00000001001e908c dyld`start + 520
(lldb)
RHI-VulkanTest no errors.
$ ./build/Bin/RHI-VulkanTest
vendor: 4203
device: 201655279
type: 0
目前用的命令行解析库是 clipp,支持 c++ 11/14/17,但是 clipp 模板里面用了 std::result_of,c++ 20 被移除了,编译不过:
这个库目前好像不再维护了,目前看来的解决方案
I am looking for a game engine that works as is for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.