I am getting an error of LINK2019 while compiling my subroutine which consists of c_sysfnc, c_errmes and c_step functions. I have already included the "slv_c_utils.h" header file. Do I need to include any other header files and in such case which one? Since the "slv_c_utils.h" file contains only declaration of these functions and not their definitions. I am using Adams command prompt and Visual studio to compile. Do I need to import any module before compiling?
The below picture shows how the functions are called in the c code, do I need to add any prefix before calling these functions?
Are you using a supported version of Visual Studio?
Do you explicitly start the win64 environment for Visual Studio? I could see this happening if you accidentally started the 32 bit environment for Visual Studio and now you have a 32-64 mismatch between your .obj file and the Adams installation files. You may want to check this,