How to compile VTK 8.2.0 with gcc-7 and Qt 5.9.1 on MacOS 10.14?

I’m actually running into linker problems at the moment. For example this:

  "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:
      void std::__1::vector<std::__1::vector<double, std::__1::allocator<double> >, std::__1::allocator<std::__1::vector<double, std::__1::allocator<double> > > >::__push_back_slow_path<std::__1::vector<double, std::__1::allocator<double> > const&>(std::__1::vector<double, std::__1::allocator<double> > const&) in debug_results.o
      void std::__1::vector<QString, std::__1::allocator<QString> >::__push_back_slow_path<QString const&>(QString const&) in debug_results.o
      void std::__1::vector<double, std::__1::allocator<double> >::__push_back_slow_path<double const&>(double const&) in debug_results.o
      DebugResults::addPoint(double, double, double, double, QString const&) in debug_results.o
      std::__1::vector<double, std::__1::allocator<double> >::resize(unsigned long) in debug_results.o
      std::__1::vector<std::__1::vector<double, std::__1::allocator<double> >, std::__1::allocator<std::__1::vector<double, std::__1::allocator<double> > > >::__append(unsigned long) in debug_results.o
      std::__1::vector<QString, std::__1::allocator<QString> >::__append(unsigned long) in debug_results.o
      ...
  "std::__1::__vector_base_common<true>::__throw_out_of_range() const", referenced from:
      VtkHelper::makeVtkPoints(std::__1::vector<std::__1::vector<double, std::__1::allocator<double> >, std::__1::allocator<std::__1::vector<double, std::__1::allocator<double> > > > const&) in vtk_helper.o

I will have to continue investigating tomorrow. However, if you have a spontaneous idea, I’d be glad to know :slight_smile: