Skip to content

TSOAX does not build with the latest VTK-9.0.3 #1

Description

@karthik-vm

Hi,

When I try to compile TSOAX with the latest VTK-9.0.3 on a singularity container running ubuntu 18.04, it complains that QVTKOpenGLWidget.h header file is missing. It looks like this header file is deprecated in VTK-9.0.3 and it is now a wrapper for QVTKOpenGLStereoWidget.h. I tried to compile TSOAX with earlier versions of VTK but encounter other errors. Any help in getting the code compiled with VTK-9.0.3 will be highly appreciated.

Error log:

Singularity> make -j 10
[ 4%] Qt Wrapped File
[ 4%] Qt Wrapped File
[ 6%] Qt Wrapped File
[ 12%] Qt Wrapped File
[ 12%] Qt Wrapped File
[ 12%] Qt Wrapped File
[ 14%] Automatic MOC, UIC and RCC for target TSOAX
[ 14%] Built target TSOAX_autogen
Scanning dependencies of target TSOAX
[ 16%] Building CXX object src/CMakeFiles/TSOAX.dir/actor_color.cc.o
[ 18%] Building CXX object src/CMakeFiles/TSOAX.dir/analysis_options_dialog.cc.o
[ 20%] Building CXX object src/CMakeFiles/TSOAX.dir/gradient_calculator.cc.o
[ 22%] Building CXX object src/CMakeFiles/TSOAX.dir/image.cc.o
[ 24%] Building CXX object src/CMakeFiles/TSOAX.dir/image_plane.cc.o
[ 26%] Building CXX object src/CMakeFiles/TSOAX.dir/image_reader.cc.o
[ 28%] Building CXX object src/CMakeFiles/TSOAX.dir/junctions.cc.o
[ 30%] Building CXX object src/CMakeFiles/TSOAX.dir/junction_actor.cc.o
[ 32%] Building CXX object src/CMakeFiles/TSOAX.dir/image_resampler.cc.o
[ 34%] Building CXX object src/CMakeFiles/TSOAX.dir/interpolator.cc.o
[ 36%] Building CXX object src/CMakeFiles/TSOAX.dir/main_window.cc.o
/home/kvadamba/TSOAX/src/main_window.cc:35:10: fatal error: QVTKOpenGLWidget.h: No such file or directory
#include "QVTKOpenGLWidget.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/CMakeFiles/TSOAX.dir/build.make:332: recipe for target 'src/CMakeFiles/TSOAX.dir/main_window.cc.o' failed
make[2]: *** [src/CMakeFiles/TSOAX.dir/main_window.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:86: recipe for target 'src/CMakeFiles/TSOAX.dir/all' failed
make[1]: *** [src/CMakeFiles/TSOAX.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions