[vtkusers] Question re: wxWindows/VTK
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Mon Jun 30 04:17:42 EDT 2003
Brian,
Did you used my FindwxWindows.cmake
http://www.creatis.insa-lyon.fr/~malaterre/cmake/FindwxWindows.cmake
This set a lot of default flags for wxWindows (you'll find it also
attached to this email).
If you don't want to change the one shipped with CMake. Just create a
directory under wxVTK: for example myCMakeModules
Then open wxVTK/CMakeLists.txt
Comment this line:
#FIND_PACKAGE(wxWindows)
and add this line instead:
INCLUDE (${wxVTK_SOURCE_DIR}/myCMakeModules/FindwxWindows.cmake)
rerun cmake, recompile and -hopefully- you should be all set.
HTH
mathieu
>
> As you can see, the sample portion compiles just fine (no errors), but
> when building the wxVTKRenderWindowInteractor, it spit up three errors
> (one above, two very similar, three lines down associated with the
> BEGIN_EVENT_TABLE macro), and 33 warnings (one above, all complaining of
> inconsistent dll linkage, and dllexport assumed.
>
> Any help would be awesome - thanks. :)
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FindwxWindows.cmake
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030630/28bfb0e6/attachment.txt>
More information about the vtkusers
mailing list