[vtkusers] Problem compiling vtkObjectBasePython.cxx with GCC 3.3.3 [FreeBSD] 20031106

Mykola Khotyaintsev ko at anna.irfu.se
Thu Jan 29 14:02:56 EST 2004


Dear VTK Users,

I have a problem compiling VTK CVSed 28-01-2004 with GCC 3.3.3 under
FreeBSD 5.2-RELEASE + CMake 1.8.3.

I compile VTK with Python wrapping and get the following error: 
Building object file vtkObjectBasePython.o...
----------------THIS-IS-ACTUALLY-EXECUTED---------------------------------
c++ -o vtkObjectBasePython.o -DvtkCommonPython_EXPORTS -O -pipe
-march=pentium4 -DUSE_NON_CONST -DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK
-I/usr/local/include/tcl8.4 -Wno-deprecated -D_THREAD_SAFE -Wno-deprecated
-I/usr/X11R6/include -O3 -fPIC
-I/usr/ports/math/vtk-python/work/VTK/Common
-I/usr/ports/math/vtk-python/work/vtk-python-build
-I/usr/ports/math/vtk-python/work/VTK/Parallel
-I/usr/ports/math/vtk-python/work/VTK/Hybrid
-I/usr/ports/math/vtk-python/work/VTK/Patented
-I/usr/ports/math/vtk-python/work/VTK/Rendering
-I/usr/ports/math/vtk-python/work/VTK/IO
-I/usr/ports/math/vtk-python/work/VTK/Imaging
-I/usr/ports/math/vtk-python/work/VTK/Graphics
-I/usr/ports/math/vtk-python/work/VTK/Filtering
-I/usr/ports/math/vtk-python/work/VTK/Common
-I/usr/ports/math/vtk-python/work/VTK/Common/Testing/Cxx
-I/usr/ports/math/vtk-python/work/vtk-python-build/Utilities/DICOMParser
-I/usr/ports/math/vtk-python/work/VTK/Utilities/DICOMParser -I/include
-I/src -I/usr/X11R6/include -I/usr/local/include/python2.3
-I/usr/local/include/tk8.4 -I/usr/local/include -c
/usr/ports/math/vtk-python/work/vtk-python-build/Common/vtkObjectBasePython.cxx
-------------------------------------------------------------------------------
In file included from /usr/include/c++/3.3/bits/locale_facets.tcc:41,
                 from /usr/include/c++/3.3/locale:47,
                 from /usr/include/c++/3.3/bits/ostream.tcc:37,
                 from /usr/include/c++/3.3/ostream:535,
                 from /usr/include/c++/3.3/iostream:45,
                 from
/usr/ports/math/vtk-python/work/VTK/Common/vtkIOStream.h:31,
                 from
/usr/ports/math/vtk-python/work/VTK/Common/vtkSystemIncludes.h:40,
                 from
/usr/ports/math/vtk-python/work/VTK/Common/vtkIndent.h:24,
                 from
/usr/ports/math/vtk-python/work/VTK/Common/vtkObjectBase.h:43,
                 from
/usr/ports/math/vtk-python/work/VTK/Common/vtkCommand.h:47,
                 from
/usr/ports/math/vtk-python/work/VTK/Common/vtkPythonUtil.h:19,
                 from
/usr/ports/math/vtk-python/work/vtk-python-build/Common/vtkObjectBasePython.cxx:6:
/usr/include/c++/3.3/cmath:107: error: `acosf' not declared
/usr/include/c++/3.3/cmath:110: error: `asinf' not declared
/usr/include/c++/3.3/cmath:113: error: `atanf' not declared
/usr/include/c++/3.3/cmath:116: error: `atan2f' not declared
/usr/include/c++/3.3/cmath:119: error: `ceilf' not declared
/usr/include/c++/3.3/cmath:122: error: `coshf' not declared
/usr/include/c++/3.3/cmath:125: error: `expf' not declared
/usr/include/c++/3.3/cmath:128: error: `floorf' not declared
/usr/include/c++/3.3/cmath:131: error: `fmodf' not declared
/usr/include/c++/3.3/cmath:134: error: `frexpf' not declared
/usr/include/c++/3.3/cmath:137: error: `ldexpf' not declared
/usr/include/c++/3.3/cmath:140: error: `logf' not declared
/usr/include/c++/3.3/cmath:143: error: `log10f' not declared
/usr/include/c++/3.3/cmath:146: error: `modff' not declared
/usr/include/c++/3.3/cmath:149: error: `powf' not declared
/usr/include/c++/3.3/cmath:152: error: `sinhf' not declared
/usr/include/c++/3.3/cmath:155: error: `tanf' not declared
/usr/include/c++/3.3/cmath:158: error: `tanhf' not declared
*** Error code 1

Stop in /usr/ports/math/vtk-python/work/vtk-python-build/Common.
*** Error code 1

Stop in /usr/ports/math/vtk-python/work/vtk-python-build/Common.


----------------

Do you have any ideas?

Sincerely,

Mykola Khotyaintsev              

FreeBSD VTK port maintainer.




More information about the vtkusers mailing list