Re: [wxVTK] Problems on Mac OS 10.5 and wxWidgets 2.8.7
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2008-08-14 14:54:46
|
On Thu, Aug 14, 2008 at 4:52 PM, Mathieu Malaterre <mat...@gm...> wrote: > On Thu, Aug 14, 2008 at 4:42 PM, Doug McCorkle <mc...@ia...> wrote: >> I know get: > > s/know/now/ > >> eonidas:build mccdo$ make >> [ 10%] Building CXX object >> CMakeFiles/wxImagePlaneWidget.dir/Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx.o >> /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx:39:35: >> error: vtkCarbonRenderWindow.h: No such file or directory >> /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx: >> In member function 'void >> wxVTKRenderWindowInteractor::OnPaint(wxPaintEvent&)': >> /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx:390: >> error: 'vtkCarbonRenderWindow' was not declared in this scope >> /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx:390: >> error: 'rwin' was not declared in this scope >> /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx:390: >> error: 'vtkCarbonRenderWindow' is not a class or namespace >> make[2]: *** >> [CMakeFiles/wxImagePlaneWidget.dir/Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx.o] >> Error 1 >> make[1]: *** [CMakeFiles/wxImagePlaneWidget.dir/all] Error 2 >> make: *** [all] Error 2 >> leonidas:build mccdo$ > > How is that even possible ? Why isn't __WXCOCOA__ defined in your wx > build ? How did you built wx ? > > According to documentation in wx/platform.h I can read: > > /* > WXMAC variants > __WXMAC_CLASSIC__ means ppc non-carbon builds, __WXMAC_CARBON__ means > carbon API available (mach or cfm builds) , __WXMAC_OSX__ means mach-o > builds, running under 10.2 + only > */ > > which one of those #define is set in your build ? > > Thanks > -- > Mathieu > Ah, I see, I misread the doc it should have been '__WXMAC_CLASSIC__' right ? http://wxvtk.cvs.sourceforge.net/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx?r1=1.40&r2=1.41 -- Mathieu |