unresolved external symbol when compiling grte01.c

User Forumunresolved external symbol when compiling grte01.c
abousabaa asked 4 years ago

Does anyone know to compile the grte01.c example with Visual Studio 10.0 ?

I have the following error :

"error LNK2019: unresolved external symbol _GAUSS_Initialize referenced in function _main" !

Thank you for your help.

1 Answers
Aptech Staff answered 4 years ago

This error means that the Visual Studio linker cannot find the definition of the GAUSS_Initialize function. This function, and all the rest of the GAUSS Engine functions are located in the GAUSS Engine DLL (mteng.dll, or mtengrt.dll).

Your Visual Studio project or link line if you are using Makefiles needs to be told where to find these shared libraries.

If you need any help accomplishing this, please ask.