Closed balazsdukai closed 6 years ago
I'm trying to build the latest from the master branch, but it fails with the following error:
Scanning dependencies of target 3dfier [ 7%] Building CXX object CMakeFiles/3dfier.dir/src/io.cpp.o [ 15%] Building CXX object CMakeFiles/3dfier.dir/src/main.cpp.o [ 23%] Building CXX object CMakeFiles/3dfier.dir/src/Road.cpp.o [ 30%] Building CXX object CMakeFiles/3dfier.dir/src/geomtools.cpp.o /opt/3dfier/src/geomtools.cpp: In function 'bool getCDT(const Polygon2*, const std::vector<std::vector<int> >&, std::vector<std::pair<boost::geometry::model::point<double, 3ul, boost::geometry::cs::cartesian>, std::__cxx11::basic_string<char> > >&, std::vector<Triangle>&, const std::vector<boost::geometry::model::point<double, 3ul, boost::geometry::cs::cartesian> >&, double)': /opt/3dfier/src/geomtools.cpp:188:43: error: no matching function for call to 'std::exception::exception(const char [16])' throw std::exception("CDT is invalid."); ^ In file included from /usr/include/c++/5/ios:39:0, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from /opt/3dfier/src/definitions.h:4, from /opt/3dfier/src/io.h:32, from /opt/3dfier/src/geomtools.cpp:29: /usr/include/c++/5/exception:63:5: note: candidate: std::exception::exception() exception() _GLIBCXX_USE_NOEXCEPT { } ^ /usr/include/c++/5/exception:63:5: note: candidate expects 0 arguments, 1 provided /usr/include/c++/5/exception:60:9: note: candidate: constexpr std::exception::exception(const std::exception&) class exception ^ /usr/include/c++/5/exception:60:9: note: no known conversion for argument 1 from 'const char [16]' to 'const std::exception&' make[2]: *** [CMakeFiles/3dfier.dir/src/geomtools.cpp.o] Error 1 CMakeFiles/3dfier.dir/build.make:134: recipe for target 'CMakeFiles/3dfier.dir/src/geomtools.cpp.o' failed make[1]: *** [CMakeFiles/3dfier.dir/all] Error 2 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/3dfier.dir/all' failed Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
My build configuration is in https://github.com/tudelft3d/3dfier/blob/docker_test/Dockerfile
This one has been fixed. See PR #67.
I'm trying to build the latest from the master branch, but it fails with the following error:
My build configuration is in https://github.com/tudelft3d/3dfier/blob/docker_test/Dockerfile