• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[ Eluna compiling error ]

Status
Not open for further replies.

Ican

Enthusiast
This happens today, when i tryes to compile lates rev. Any suggestions? Thanks.
Code:
Scanning dependencies of target worldPCH.cpp_dephelp
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o
[ 12%] Building CXX object src/server/worldserver/CMakeFiles/worldPCH.cpp_dephelp.dir/PrecompiledHeaders/worldPCH.cpp
In file included from /root/ELUA_SRC/Source/src/server/game/DataStores/DBCStores.h:23,
                 from /root/ELUA_SRC/Source/src/server/game/Scripting/ScriptMgr.h:26,
                 from /root/ELUA_SRC/Source/src/server/scripts/PrecompiledHeaders/ScriptPCH.h:8,
                 from /root/ELUA_SRC/Source/src/server/scripts/PrecompiledHeaders/ScriptPCH.cpp:5:
/root/ELUA_SRC/Source/src/server/shared/DataStores/DBCStore.h: In member function 'const T* DBCStorage<T>::LookupEntr
[COLOR="#FF0000"]/root/ELUA_SRC/Source/src/server/shared/DataStores/DBCStore.h:85: error: expected ';' before 'it'[/COLOR]
compilation terminated due to -Wfatal-errors.
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o
make[2]: *** [src/server/scripts/CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o] Error 1
make[1]: *** [src/server/scripts/CMakeFiles/ScriptPCH.cpp_dephelp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o
Linking CXX shared module libworldPCH.cpp_dephelp.so
[ 12%] Built target worldPCH.cpp_dephelp
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o
[ 12%] [ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
[ 13%] [ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o
Linking CXX static library libg3dlib.a
[ 14%] Built target g3dlib
 
Last edited:

Neth

BETA Tester
It's not related to Eluna (note: i don't follow eluna commit) did you use the Eluna src or trinitycore src and then pulled Eluna ?
 

Rochet2

Moderator / Eluna Dev
I hate linux. Doesnt show up even as a warning on windows.
Seems it doesnt like something on this line:
std::map<uint32, T const*>::const_iterator it = data.find(id);
 

Ican

Enthusiast
It's not related to Eluna (note: i don't follow eluna commit) did you use the Eluna src or trinitycore src and then pulled Eluna ?

I dont know what its releated to, i am using clean Eluna only. Tryed 2 times with cleaning cmake cache etc. And i know, its can be trinity bug, but anyways posting it here.
 
Last edited:

Tommy

Founder
It's not related to Eluna (note: i don't follow eluna commit) did you use the Eluna src or trinitycore src and then pulled Eluna ?

Actually in the latest commit Rochet did add additions in DBCStore.h.

https://github.com/ElunaLuaEngine/Source/commit/def375ff863a676916cb210725533ac9b77a91cc

I hate linux. Doesnt show up even as a warning on windows.
Seems it doesnt like something on this line:
std::map<uint32, T const*>::const_iterator it = data.find(id);

Fixing the errors right now.

I dont know what its releated to, i am using clean Eluna only. Tryed 2 times with cleaning cmake cache etc. And i know, its can be trinity bug, but anyways posting it here.

Above. XD
 

Tommy

Founder
i though you didin't want to edit trinitycore original code ? or i misreaded

I'm assuming not to an extent? I don't know, normally we'll edit TrinityCore's original code if we need it compatible with the Lua Engine or if there's a new system such as the Taxi system.
 

Foereaper

Founder
i though you didin't want to edit trinitycore original code ? or i misreaded

We rarely change anything using Trinity's source, and we make sure it doesn't break any future compatibility. When it comes to the taxi system, the original implementation was very bad, almost (if not) as bad as on Arc. So after discussing it, we decided to do the change.

Anyway, issue has been solved, so closing topic :)
 
Status
Not open for further replies.
Top