Read and respond to this message at:
I'm having trouble trying to export an entire class into a DLL with MinGW. I
read on a tutorial that I need to put a __declspec(dllexport) between "class"
and the name of the class and I did that. Then I tried to compile with:
gcc -DBUILD_DLL StupidLang.cpp
but I get tons of linker errors saying about undefined references to WinMain(),
__cxa_begin_catch, string::xyz, etc. I guess I'm forgetting to link with something,
Also, I'm using std::string and std::vector.
Could I please know what I'm missing, ThanQ very much,
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: