Giter VIP home page Giter VIP logo

explosion's People

Contributors

bluesky013 avatar d0ub1epier avatar darkwitchzh avatar doherasyang avatar flyandnotdown avatar hitlumino avatar reve4mevol avatar sakuragihnmch avatar zhililab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

explosion's Issues

windows compile error with vs2022

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]

Can llvm-clang provide arm64 builds?

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

Can not running Bin/RHI-Triangle

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 被移除了,编译不过:
image

这个库目前好像不再维护了,目前看来的解决方案

  1. 手动 fork 改一把,参考 muellan/clipp#53
  2. 使用 GFlags,不过要使用 Override CMake 把 /MD 、/MT 问题给解决了

macOS下编译源码报错的问题

我设置好了Vulkan的环境变量,也可以验证Vulkan的正确安装。
但是在最后cmake --build .的步骤出现了如下错误,看上去是Vulkan的问题,不知道如何解决?是环境配置的问题吗?
image

Is linux supported?

I am looking for a game engine that works as is for:

  • Windows x64
  • Windows ARM64
  • Linux
  • MacOS x64 (intel) and ARM64.
  • Can easily be integrated into a python C++ extension module for usage for games that need to be really implemented with python and C/C++ components as the "framework". Python only frameworks exist but I hate them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.