I've been trying to access one of my custom modules from a secondary module. I figured it would be similar to using content from the ProcessFlow module, just needing the header file, so I copied the class header to the new module and added it to the solution. I was able to reference the class and its functions, however when building I got the error shown below: LNK2019: Unresolved external symbol.
After reading up online I worked out you need to include the .lib file for static linking or .dll for dynamic linking. Looking at the other FlexSim modules, the include only has the header files and the library file. So I tried to follow this, copying the same format as ProcessFlow.
I went into the project properties, added the library directory to point to the library file. I added the library file name to the additional dependencies.
This didn't seem to get me anywhere and I feel I'm missing something. I looked through the settings to see where it specified the path to the processflowcontent\ProcessFlow.lib and couldn't find it. The ProcessFlow library seems to connect just fine automatically using the module_template though.
I've attached a OneDrive link to the module here.