luizgabriel / spatial.engine Goto Github PK
View Code? Open in Web Editor NEW[WIP] Spatial is a cross-platform C++ game engine.
License: Apache License 2.0
[WIP] Spatial is a cross-platform C++ game engine.
License: Apache License 2.0
Thanks, I'm learning a lot from this project!
This is more a note for people trying to build this project under Mojave
Here is the stack trace for reference and google search:
undef: _objc_opt_respondsToSelector
undef: _objc_opt_class
undef: _objc_opt_isKindOfClass
Undefined symbols for architecture x86_64:
"_objc_opt_respondsToSelector", referenced from:
-[Cocoa_WindowListener handleTouches:withEvent:] in libSDL2.a(SDL_cocoawindow.m.o)
_Cocoa_CreateWindow in libSDL2.a(SDL_cocoawindow.m.o)
_Cocoa_SetWindowFullscreen in libSDL2.a(SDL_cocoawindow.m.o)
-[SDLMessageBoxPresenter showAlert:] in libSDL2.a(SDL_cocoamessagebox.m.o)
_Cocoa_GL_GetDrawableSize in libSDL2.a(SDL_cocoaopengl.m.o)
_Cocoa_GetDisplayDPI in libSDL2.a(SDL_cocoamodes.m.o)
_Cocoa_HandleMouseWheel in libSDL2.a(SDL_cocoamouse.m.o)
...
"_objc_opt_class", referenced from:
-[SDLWindow sendEvent:] in libSDL2.a(SDL_cocoawindow.m.o)
-[Cocoa_WindowListener windowWillMove:] in libSDL2.a(SDL_cocoawindow.m.o)
-[SDLTranslatorResponder insertText:replacementRange:] in libSDL2.a(SDL_cocoakeyboard.m.o)
-[SDLTranslatorResponder setMarkedText:selectedRange:replacementRange:] in libSDL2.a(SDL_cocoakeyboard.m.o)
"_objc_opt_isKindOfClass", referenced from:
-[SDLWindow sendEvent:] in libSDL2.a(SDL_cocoawindow.m.o)
-[Cocoa_WindowListener windowWillMove:] in libSDL2.a(SDL_cocoawindow.m.o)
-[SDLTranslatorResponder insertText:replacementRange:] in libSDL2.a(SDL_cocoakeyboard.m.o)
-[SDLTranslatorResponder setMarkedText:selectedRange:replacementRange:] in libSDL2.a(SDL_cocoakeyboard.m.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Spatial.Editor/CMakeFiles/Spatial.Editor.dir/build.make:169: Spatial.Editor/Spatial.Editor] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:231: Spatial.Editor/CMakeFiles/Spatial.Editor.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
Describe the bug
I had to make a few changes to make it work, reasons:
Additional context
MACOSX_DEPLOYMENT_TARGET=10.14 conan install .. --build=sdl2
-> This rebuilds sdl using the right SDKcmake --build . --target all
instead of ALL_BUILD
)References
.conan/data/v8/10.1.69/spatial/stable/source/depot_tools/.cipd_bin/vpython3: cannot execute: No such file or directory
ERROR: v8/10.1.69@spatial/stable: Error in source() method, line 105
self.run("fetch v8")
ConanException: Error 126 while executing fetch v8
CMake Error at out/build/MacOS-Release/conan.cmake:540 (message):
Conan install failed='1'
Call Stack (most recent call first):
out/build/MacOS-Release/conan.cmake:882 (old_conan_cmake_install)
CMake/SetupConan.cmake:22 (conan_cmake_run)
CMakeLists.txt:8 (include)
-- Configuring incomplete, errors occurred!
See also "/Spatial.Engine/out/build/MacOS-Release/CMakeFiles/CMakeOutput.log".
See also "/Spatial.Engine/out/build/MacOS-Release/CMakeFiles/CMakeError.log".
The command returned a non-zero response
As an user, I'd like to ZOOM with mouse middle button scroll and PAN with middle button pressed.
run python ./setup.py none vs projects was generated, output follow:
conan export F:\OpenSource\Spatial.Engine\vendor\filament.py filament/1.8.1@google/stable
Exporting package recipe
filament/1.8.1@google/stable: The stored package has not changed
filament/1.8.1@google/stable: Exported revision: 504c7aa8c909a5befe7cf44dd624389d
conan export F:\OpenSource\Spatial.Engine\vendor\imgui.py imgui/docking@ocornut/stable
Exporting package recipe
imgui/docking@ocornut/stable: The stored package has not changed
imgui/docking@ocornut/stable: Exported revision: 6df0c59d7c39fa46b2c64dd9000a9a04
As an user, I'd like to control the world view camera movement with WASD keys.
$ python3.10 cli.py run-editor
conan export /home/xxxxx/Spatial.Engine/vendor/filament.py filament/1.25.6@spatial/stable
usage: conan export [-h] [-v [V]] [-f FORMAT] [--name NAME] [--version VERSION] [--user USER] [--channel CHANNEL] [-r REMOTE | -nr]
[-l LOCKFILE] [--lockfile-out LOCKFILE_OUT] [--lockfile-partial] [--build-require]
path
conan export: error: unrecognized arguments: filament/1.25.6@spatial/stable
ERROR: Exiting with code: 2
-- [SPATIAL-CLI] The command returned a non-zero response.
There was an error configuring the project.
Make sure you have all system requirements installed.
See the README for more information.
Hi,
This is compiler error:
CMake Error in Spatial.Editor/CMakeLists.txt:
MSVC_RUNTIME_LIBRARY value
'MultiThreadedDebug;VS_DEBUGGER_WORKING_DIRECTORY;D:/OpenSource/Spatial.Engine/out/build/Windows-Release/Spatial.Editor/Debug;VS_DEBUGGER_COMMAND;D:/OpenSource/Spatial.Engine/out/build/Windows-Release/Spatial.Editor/Debug/Spatial.Editor.exe'
not known for this CXX compiler.
My config :
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=msvc
compiler.cppstd=20
compiler.runtime=dynamic
compiler.version=193
build_type=Debug
[options]
[build_requires]
[env]
help me, thanks!
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.