Skip to content

Cannot compile on Ubuntu 21.10 (ISO C++17 does not allow dynamic exception specifications) #2

@hellocatfood

Description

@hellocatfood

Trying to compile v3d on Ubuntu 21.10 and when I run make I get the following error and the compilation fails:

[ 63%] Built target V3D
[ 72%] Building CXX object src/CMakeFiles/slowmoFlowBuilder.dir/flowBuilder.cpp.o
In file included from ****/v3d-flow-builder/src/flowBuilder.cpp:30:
****/v3d-flow-builder/src/lib/libsvflow/src/flowRW_sV.h:71:53: error: ISO C++17 does not allow dynamic exception specifications
   71 |     static FlowField_sV* load(std::string filename) throw(FlowRWError);
      |                                                     ^~~~~
make[2]: *** [src/CMakeFiles/slowmoFlowBuilder.dir/build.make:82: src/CMakeFiles/slowmoFlowBuilder.dir/flowBuilder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: src/CMakeFiles/slowmoFlowBuilder.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions