Mathieu Malaterre
-
2011-12-05
- labels: --> Interface
- assigned_to: nobody --> malat
Making the Samples from wxVTK-1.3 results in a linking error looking for these objects (from wxBase)
wxSystemOptions
_wxEVT_POWER_SUSPEND_CANCEL
_wxEVT_POWER_SUSPENDED
_wxEVT_POWER_RESUME
_ZlsR9wxVariantRK8wxColour
wxVariant
wxVariantData
wxClientDataContainer
Changing
FIND_PACKAGE(wxWidgets COMPONENTS base core adv ${WXGLCANVASLIBS})
in CMakeLists.txt to
FIND_PACKAGE(wxWidgets COMPONENTS core adv ${WXGLCANVASLIBS} base)
solves this linking issue. It seems like the linker cares about the order in which the libraries are specified.