Comments (3)
Hi, I was just able to try compiling with MSYS2 in a long while, and I am running into problem compiling LuaJIT.
Are your error related to LuaJIT or the engine itself ?
from yave.
Actually they are not errors but warnings. There are too many warning and as ninja by default does parallel builds so I mistake them as full of errors. Indeed there is only one error:
[23/234] Building CXX object CMakeFiles/yave.dir/yave/components/LocalLightBase.cpp.obj
FAILED: CMakeFiles/yave.dir/yave/components/LocalLightBase.cpp.obj
C:\msys64\mingw64\bin\c++.exe -IC:/msys64/home/Administrator/Yave/build -IC:/msys64/home/Administrator/Yave -IC:/msys64/home/Administrator/Yave/y -IC:/msys64/home/Administrator/Yave/external/sol/include -IC:/msys64/home/Administrator/Yave/external/LuaJIT/src -IC:/msys64/home/Administrator/Yave/external/spirv_cross -DTRACY_ENABLE -pedantic -Wall -Wextra -Wzero-as-null-pointer-constant -Wfloat-conversion -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wredundant-decls -Wundef -Wno-gnu-zero-variadic-macro-arguments -DY_DEBUG -MD -MT CMakeFiles/yave.dir/yave/components/LocalLightBase.cpp.obj -MF CMakeFiles\yave.dir\yave\components\LocalLightBase.cpp.obj.d -o CMakeFiles/yave.dir/yave/components/LocalLightBase.cpp.obj -c C:/msys64/home/Administrator/Yave/yave/components/LocalLightBase.cpp
In file included from C:/msys64/home/Administrator/Yave/yave/ecs/ComponentInspector.h:25,
from C:/msys64/home/Administrator/Yave/yave/components/LocalLightBase.cpp:25:
C:/msys64/home/Administrator/Yave/yave/ecs/ecs.h:135:13: error: 'hash' is not a class template
135 | struct std::hash<yave::ecs::EntityId> : std::hash<y::u64> {
| ^~~~
C:/msys64/home/Administrator/Yave/yave/ecs/ecs.h:135:39: error: qualified name does not name a class before ':' token
135 | struct std::hash<yave::ecs::EntityId> : std::hash<y::u64> {
| ^
C:/msys64/home/Administrator/Yave/yave/ecs/ecs.h:135:39: error: expected '{' before ':' token
In file included from C:/msys64/home/Administrator/Yave/yave/assets/AssetTraits.h:25,
from C:/msys64/home/Administrator/Yave/yave/assets/AssetId.h:26,
from C:/msys64/home/Administrator/Yave/yave/assets/AssetPtr.h:25,
from C:/msys64/home/Administrator/Yave/yave/ecs/ComponentInspector.h:27:
C:/msys64/home/Administrator/Yave/y/y/reflect/reflect.h:177:21: warning: extra ';' [-Wpedantic]
177 | y_reflect_base(Type); \
| ^
C:/msys64/home/Administrator/Yave/y/y/reflect/reflect.h:184:33: note: in expansion of macro 'y_reflect_static'
184 | #define y_reflect(Type, ...) y_reflect_static(Type, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~
C:/msys64/home/Administrator/Yave/yave/assets/AssetPtr.h:176:9: note: in expansion of macro 'y_reflect'
176 | y_reflect(AssetPtr, _id)
| ^~~~~~~~~
cc1plus.exe: note: unrecognized command-line option '-Wno-gnu-zero-variadic-macro-arguments' may have been intended to silence earlier diagnostics
ninja: build stopped: subcommand failed.
from yave.
This looks like an include problem. Can you try including <functional>
in ecs.h?
from yave.
Related Issues (14)
- Did you implement any order-independent transparency in the engine? HOT 1
- Compiling errors when using the command HOT 2
- where is the file "world.yw3"? HOT 1
- Build Error HOT 4
- Lua Error? HOT 4
- Cmake Build Error? HOT 2
- Execution error HOT 5
- gcc build problem HOT 1
- mismatch error? HOT 1
- . HOT 2
- VK_ERROR_OUT_OF_POOL_MEMORY error HOT 8
- launcher error HOT 10
- cannot import prefab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yave.