You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the instructions for building the core listed here and everything worked perfectly, so i've moved on to installing modules to the core.
I can compile without problems modules like mod-autobalance but i get the same error message every time i try to build the core with a module like mod-solo-lfg which has the deprecated loader.h as stated by the changelog in the docs in commit 59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244
When generating the project with CMake you get an error saying that it is using a deprecated loader and should be updated, following the code change suggestions made in the changelog for the previous mentioned commit:
1. Rename extension in file to `.cpp`
2. Rename general loading function to `Add(module name with replace all whitespace to '_')Scripts()`.
3. Delete macros `AC_ADD_SCRIPT_LOADER` from `CMakeLists.txt`
I got CMake to continue without problems making the following change to the loader.h:
I also remove the AC_ADD_SCRIPT_LOADER macro from CMake.txt as mentioned in the changelog
With this changes, the CMake doesn't complain and i get my project generated for building without errors. So i go into VS to build the core and get the following error when compiling worldserver
cannot open input file '..\..\..\modules\RelWithDebInfo\modules.lib' worldserver
I've tried installing another module with the same loader problem, did the same steps and ran into the same error when building which makes me thing that i'm doing something wrong or even wondering if this error has anything to do with the loader at all.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I've followed the instructions for building the core listed here and everything worked perfectly, so i've moved on to installing modules to the core.
I can compile without problems modules like mod-autobalance but i get the same error message every time i try to build the core with a module like mod-solo-lfg which has the deprecated
loader.h
as stated by the changelog in the docs in commit 59a3912a3b3bd4dd2d8e2b1c2cdd225b9c4d6244When generating the project with CMake you get an error saying that it is using a deprecated loader and should be updated, following the code change suggestions made in the changelog for the previous mentioned commit:
I got CMake to continue without problems making the following change to the
loader.h
:I also remove the
AC_ADD_SCRIPT_LOADER
macro from CMake.txt as mentioned in the changelogWith this changes, the CMake doesn't complain and i get my project generated for building without errors. So i go into VS to build the core and get the following error when compiling
worldserver
cannot open input file '..\..\..\modules\RelWithDebInfo\modules.lib' worldserver
I've tried installing another module with the same loader problem, did the same steps and ran into the same error when building which makes me thing that i'm doing something wrong or even wondering if this error has anything to do with the loader at all.
Any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions