[vtkusers] vtk5.6 compile error in Mac Os X 10.5.7, "vtkGraphicsFactory" symbol not found, for Help!

siyan liu nuaalsy at gmail.com
Sat Jun 19 07:43:15 EDT 2010


Hi All:
       when I compile vtk5.6 in Mac Os X 10.5.7 with(Intel x86), I get the
following Errors:
       Undefined symbols:

*  "vtkXOpenGLRenderWindow::New()", referenced from:*

*      vtkGraphicsFactory::CreateInstance(char const*)in
vtkGraphicsFactory.o*

*  "vtkXRenderWindowInteractor::New()", referenced from:*

*      vtkGraphicsFactory::CreateInstance(char const*)in
vtkGraphicsFactory.o*

*ld: symbol(s) not found*

*collect2: ld returned 1 exit status*

*   "vtkXOpenGLRenderWindow::New()", referenced from:*

*       vtkGraphicsFactory::CreateInstance(char const*)in
vtkGraphicsFactory.o*

*   "vtkXRenderWindowInteractor::New()", referenced from:*

*       vtkGraphicsFactory::CreateInstance(char const*)in
vtkGraphicsFactory.o*

* ld: symbol(s) not found*

* collect2: ld returned 1 exit status.*


   I use CMake 2.8 to generage makefile, I have tried various compilers such
as gcc,gcc-4.2,g++,g++-4.2,c++,c++-4.2, none success.



   Any one can give me some advice? Thanks in advance.

   Best regards!



   Siyan Liu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100619/a1d76031/attachment.htm>


More information about the vtkusers mailing list