wxVC9 link errors

1 view
Skip to first unread message

Rocketmagnet

unread,
Oct 24, 2008, 9:17:32 AM10/24/08
to Wildcat CAD
Hi,

I'm trying to build the wxVC9 version of Wildcat. I've followed the
instructions in wiki/CompilingVS2008Express, which I assumed would
also be relevant to MSVC9.0.

I built the DLL Unicode Debug configuration of wxWidgets2.8.8.
Copied the 4 DLLs to wildcat-cad\Build\wxWin32 (not wildcat-cad\trunk
\Build\wxWin32 as it says in the wiki)
I tried to build the debug version of Wildcat.

It compiled fine, but gave a massive number of linker errors about
missing wxWidgets functions. E.G.
constraint_vertical.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)

Looking at the Project Properties, I notice that there are no
wxWidgets libraries specified to be linked in. Is this correct?

Hugo

Rocketmagnet

unread,
Oct 24, 2008, 9:31:09 AM10/24/08
to Wildcat CAD
I managed to get it to link by adding the following libraries to the
project.
wxbase28ud.lib
wxmsw28ud_core.lib
wxmsw28ud_aui.lib
wxmsw28ud_gl.lib

Hugo
Reply all
Reply to author
Forward
0 new messages