Open Sigmur opened 1 year ago
same exact thing on ubuntu 23.04
[ 12%] Building CXX object src/game/CMakeFiles/game.dir/AI/ScriptDevAI/scripts/custom/Transmogrification.cpp.o
In file included from /home/user/cmangos/mangos/src/game/AI/ScriptDevAI/scripts/custom/Transmogrification.cpp:1:
/home/user/cmangos/mangos/src/game/AI/ScriptDevAI/scripts/custom/Transmogrification.h:4:10: fatal error: World.h: No such file or directory
4 | #include "World.h"
| ^~~~~~~~~
compilation terminated.
make[2]: *** [src/game/CMakeFiles/game.dir/build.make:525: src/game/CMakeFiles/game.dir/AI/ScriptDevAI/scripts/custom/Transmogrification.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:640: src/game/CMakeFiles/game.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Try changing it to
It exists, the path is just not finding it.
Try changing it to #include "../../../../World/World.h"
It exists, the path is just not finding it.
having this now
/home/user/cmangos/mangos/src/game/Chat/Level3.cpp:65:10: fatal error: tchar.h: No such file or directory
65 | #include <tchar.h>
| ^~~~~~~~~
compilation terminated.
make[2]: *** [src/game/CMakeFiles/game.dir/build.make:9021: src/game/CMakeFiles/game.dir/Chat/Level3.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:640: src/game/CMakeFiles/game.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
and as far as I know that file does not exist for me.
I just commented this out, as the file did not exist for me either and was able to compile fine on linux without it. I am not sure, but maybe it is needed for windows.
gl
I just commented this out, as the file did not exist for me either and was able to compile fine on linux without it. I am not sure, but maybe it is needed for windows.
gl
you didn't have further errors after?
Yea this file is for windows only, sorry
I understand that this project is windows focused and linux is not a prio, but i saw some linux fixes in the issues and i thought it was worth a shot to call out my linux bois to the rescue.
I used install instructions from this : https://github.com/cmangos/issues/wiki/Installation-Instructions
Env : Ubuntu server 20 & 22, tried on both, brand new server every time. gcc 9.4.0 (U20) & 12 (U22) cmake 3.16 (U20) & 3.22 (U22)
Cmd used for install :
Error lists and their resolutions :
case sensitive inclusion
in /src/modules/Bots/playerbot/strategy/ExternalEventHelper.h:4
Changed to
I'm a bit rusty in C++, from what i understand, he doesn't know what constructor to use so i just used another WorldPosition constructor, probably not optimised
in /src/modules/Bots/playerbot/GuidPosition.h:53
Changed to
missing ChatHelper include
added in /src/modules/Bots/playerbot/strategy/Value.h
case sensitive inclusion
in /src/modules/Bots/playerbot/strategy/actions/ChatActionContext.h:74
Current error to resolve :
Another error, if i try to compile the core without the bot module, every commands are the same except :
Error :