In my research, I need to use Mathematica function( numercial integration) from my C++ program. I am using MS Visual Studio 6.0 and Mathematica student version 4.2 for this purpose. During the learning process for MathLink, I try the demo program provided in the "A MathLink Tutorial", but I always have a linking problem. After compiling, when I try to build the .exe file, the following error occurs:
main.obj : error LNK2001: unresolved external symbol _MLDeinitialize@4
main.obj : error LNK2001: unresolved external symbol _MLInitialize@4
Debug/main.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
main.exe - 11 error(s), 0 warning(s)
I have copied all the AddsOn files into the required C:/ProgramFiles/MS Visual Studio/VC98 directory, such as the files in /bin, /include, /lib, according to your MathLink instruction.
Can anyone give me some suggestions on this problem?
Thanks a lot!