Re: [wxVTK] [OSX] cocoa wx2.9 and vtk
Brought to you by:
malat
From: Sander N. <nie...@st...> - 2013-10-01 16:54:06
|
Dear Hiroshi, I think this is due to the compiler that comes with XCode 3.2.6 I am using VTK 5.10.1, wxWidgets 2.9.5, CMake 2.8.11.1 and Xcode 5.0 (which uses clang) on Mac OS X 10.8.5 and have no problems compiling wxVTK. Best regards, Sander On 1 okt. 2013, at 14:34, Hiroshi Abe <ha...@gm...> wrote: > Hi, > > I'm working on my code to port from 2.8 osx-carbon wxWidgets to 2.9 osx-cocoa. > The code works without any problems on 2.8-carbon. > > Build VTK-5.4/VTK-5.10 in Cocoa mode and wxWidgets 2.9.5 in cocoa. > Both are in release mode. > > In this situation, the Sample example of wxVTK outputs link error messages as; > > "std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)", referenced from: > vtkOStreamWrapper::operator<<(unsigned char)in libvtkCommon.a(vtkOStreamWrapper.o) > vtkOStreamWrapper::operator<<(char)in libvtkCommon.a(vtkOStreamWrapper.o) > vtkOStreamWrapper::operator<<(char const*)in libvtkCommon.a(vtkOStreamWrapper.o) > vtkRenderWindow::PrintSelf(std::basic_ostream<char, std::char_traits<char> >&, vtkIndent)in libvtkRendering.a(vtkRenderWindow.o) > vtkRenderWindow::PrintSelf(std::basic_ostream<char, std::char_traits<char> >&, vtkIndent)in libvtkRendering.a(vtkRenderWindow.o) > ..... > > My code also outputs the same error regarding ostream. > > It would be really appreciated if you could give me a hints to solve this problem. > > My env. is: > PowerBook core duo, OSX10.6.8 > wxWidgets 2.9.5, VTK-5.4.2, wxVTK-1.4. > XCode 3.2.6. > > Thank you. > > -- > ABE Hiroshi > from Tokorozwa, JAPAN > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk_______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users |