[CMake] cmake and wxwidgets on windows

John dbgtjp at hotmail.com
Fri Oct 31 16:28:22 EDT 2008


hi Werner,

this cookbook worked for me as far as it goes to build wxwidgets
and help cmake to find wxwidgets.
I built wxwidgets with gcc 3.4.5. now and I'm still getting
error messages.

Any idea what I could have done wrong?
See below the error messages.

John

CMakeFiles\acrls.dir\src\app.cxx.obj:app.cxx:(.text+0x16a)||
undefined reference
to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\app.cxx.obj:app.cxx:(.
rdata$_ZTVN4ibia8ACRLSAppE[vtable
for ibia::ACRLSApp]+0x44)||undefined reference to 
`wxApp::Initialize(int&, char**)'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x7f)||
undefined reference
to `_imp___ZN8wxString6PrintfEPKcz'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0xad)||
undefined reference
to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x125ba)||
undefined
reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x125ea)||
undefined
reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x126c7)||
undefined
reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x126f7)||
undefined
)]+0xac)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0x1ee)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0x809)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0xac)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0x1ee)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
...
...
...
::WriteLayerThickness()]+0x2b23)||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x2e8)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x337)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x386)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x4653)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x4690)
||undefined reference to
`_imp___ZN12wxStringBase10ConcatSelfEjPKcj'|
::CalculateQuantitativeMeasurements()]+0x46c8)
||undefined reference to
`_imp___ZN12wxStringBase10ConcatSelfEjPKcj'|
::CalculateQuantitativeMeasurements()]+0x4849)
||undefined reference to
`_imp___ZN12wxStringBase10ConcatSelfEjPKcj'|
::CalculateQuantitativeMeasurements()]+0x4879)
||undefined reference to
`_imp___ZN8wxString6FormatEPKcz'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 64 warnings ===|




More information about the CMake mailing list