Home > front end >  LNK1181 Error while compiling the core after adding a module
LNK1181 Error while compiling the core after adding a module

Time:01-27

I'm trying to compile my core with some modules but i'm getting the following error when building worldserver:

cannot open input file '..\..\..\modules\RelWithDebInfo\modules.lib' worldserver

This error only happens when compiling with the mod-gain-honor-guard module. I've installed a repack before that came with this module pre-installed, which makes me think that i'm the one missing something.

Any ideas? Thanks!

I've compiled the core succesfully with only one module, then i've added the one mentioned before and that error came up. CMake didn't show me any error when i regenerated the source for building after adding the module

CodePudding user response:

You always need to regenerate the source in CMake when you add or remove any files to the source.

CodePudding user response:

Did you get the module via git clone? If not, and it's a direct download, you need to remove the -master or any other branch name from the folder name.

  • Related