Menu

#5 Unable to compile octaviz

open
nobody
None
5
2009-06-15
2009-06-15
No

Hello, I'm trying to compile octaviz with ArchLinux, and that gives me a compilation error.

ccmake :
CMAKE_BACKWARDS_COMPATIBILITY 2.4
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local
EXECUTABLE_OUTPUT_PATH
LIBRARY_OUTPUT_PATH
MKOCTFILE /usr/bin/mkoctfile
OCTAVE_CONFIG /usr/bin/octave-config
OCTAVIZ_EXAMPLES_DIR /usr/share/octave/3.0.5/site/m/octaviz/Examples
OCTAVIZ_M_DIR /usr/share/octave/3.0.5/site/m/octaviz
OCTAVIZ_OCT_DIR /usr/lib/octave/3.0.5/site/oct/i686-pc-linux-gnu/octaviz
OCTAVIZ_SHARED_DIR /usr/lib/octave-3.0.5
USE_PREC_HEADERS OFF
VTK_DIR /usr/lib/vtk-5.4
WARN_ABOUT_DEPRECATED ON
WNODEPRECATED -Wno-deprecated

So after running cmake, I do maken, and after some compiling time :
[ 0%] Generating /home/dkremer/src/octaviz/Common/vtkImplicitFunctionCollection.cc from /usr/include/vtk-5.4/vtkImplicitFunctionCollection.h
[ 0%] Compiling vtkImplicitFunctionCollection.cc to vtkImplicitFunctionCollection.o
[ 0%] Linking vtkImplicitFunctionCollection.o to vtkImplicitFunctionCollection.oct
[ 0%] Generating /home/dkremer/src/octaviz/Common/vtkInformation.cc from /usr/include/vtk-5.4/vtkInformation.h
syntax error
*** SYNTAX ERROR found in parsing the header file /usr/include/vtk-5.4/vtkInformation.h before line 67 ***
make[2]: *** [Common/vtkInformation.cc] Erreur 1
make[1]: *** [Common/CMakeFiles/Common.dir/all] Erreur 2
make: *** [all] Erreur 2

Please help me to compile octaviz, thank you very much.

See you later.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.