When compiling a wxWidgets project, I get several “variable vtable for xxxx can be auto-imported”. Whats wrong?
You need to add WXUSINGDLL in “Project->Build options->Compiler #defines” and rebuild your project (or create a new project and use the “Using wxWidgets DLL” project option which adds “-DWXUSINGDLL” to Project->Build options->Other options). Other errors with the same resolution are: ‘unresolved external symbol “char const * const wxEmptyString” (?wxEmptyString@@3PBDB)’ or similar. If you were using 1.0-finalbeta and were trying to build a statically linked wxWidgets project, the cause of the problem was some faulty templates. But that’s fixed now.
Related Questions
- My call credit has been allocated to the wrong VoxTransit account ID. Could you please allocate the credit to the xxxx number in my account?
- Im getting an error compiling AOLserver about POLLIN, POLLOUT and POLLPRI being redefined. Whats wrong?
- What would be wrong about building a border fence across the US-Mexico Border as a Stimulus project?