[wxVTK] [OSX] cocoa wx2.9 and vtk
Brought to you by:
malat
|
From: Hiroshi A. <ha...@gm...> - 2013-10-01 12:34:27
|
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
|