[DiscordArchive] is there "-master" on the end of the modules folder?
[DiscordArchive] is there "-master" on the end of the modules folder?
Archived author: Revision • Posted: 2022-06-08T15:41:20.182000+00:00
Original source
There should be some kind of error in giant red letters when it fails to build due to this issue telling the user to properly rename the folders.
Archived author: Kitty • Posted: 2022-06-08T15:42:46.923000+00:00
Original source
for real... I'm be real honest... former senior systems engineer...for 15 years..... I rebuilt the vm yesterday probably 4 separate times... "maybe it just doesnt ubuntu", "maybe it hates debian" and other thoughts like "do I even HAVE a spare windows key to try this with, we're running out of operating systems here" LOL
Archived author: Revision • Posted: 2022-06-08T15:43:46.797000+00:00
Original source
It runs great on any system, yeah. It tends to mention modules.lib when it fails to build because of a wrongly named folder too, which is a good way to know it's not the core itself.
Archived author: Kitty • Posted: 2022-06-08T15:43:55.493000+00:00
Original source
and "it built other modules just fine, wonder what the problem could be" xD Seriously though, I appreciate that it was such a stupid error, yet you guys did not make me feel stupid at all while fixing it lol
Archived author: Revision • Posted: 2022-06-08T15:44:49.031000+00:00
Original source
I understand why it happens, I really do. There's no documentation for that specific issue that someone could easily see before asking for help, but there should be to help everyone involved.
.text+0x1): undefined reference to `Addmod_guildhouse_masterScripts()'Archived author: Kitty • Posted: 2022-06-08T15:45:24.262000+00:00
Original source
[100%] Linking CXX executable worldserver
/usr/bin/ld: ../../../modules/libmodules.a(ModulesLoader.cpp.o): in function `AddModulesScripts()':
ModulesLoader.cpp
.text+0x1): undefined reference to `Addmod_guildhouse_masterScripts()'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/server/apps/CMakeFiles/worldserver.dir/build.make:194: src/server/apps/worldserver] Error 1
make[1]: *** [CMakeFiles/Makefile2:1007: src/server/apps/CMakeFiles/worldserver.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Archived author: Kitty • Posted: 2022-06-08T15:45:41.145000+00:00
Original source
^ THAT being the error msg I kept getting, as you said, not a very helpful message LOL
Archived author: Revision • Posted: 2022-06-08T15:47:10.080000+00:00
Original source
Looking at it, the loader within the module (loader.cpp or whatever they decide to name it) contains the name of the folder too, in case there is ever any confusion.
Archived author: Revision • Posted: 2022-06-08T15:47:47.340000+00:00
Original source
The loader.cpp from guildhouse says `void Addmod_guildhouseScripts()`, meaning the folder has to be called `mod-guildhouse` because you remove Add and Scripts and replace _ with -