cpp-io2d / P0267_RefImpl

Reference Implementations of P0267, the proposed 2D graphics API for ISO C++
Other
313 stars 114 forks source link

failed to build on Linux #124

Open baoqger opened 4 years ago

baoqger commented 4 years ago

[ 2%] Building CXX object P0267_RefImpl/P0267_RefImpl/CMakeFiles/io2d_core.dir/rgba_color.cpp.o In file included from /project/P0267_RefImpl/P0267_RefImpl/P0267_RefImpl/rgba_color.cpp:1:0: /project/P0267_RefImpl/P0267_RefImpl/P0267_RefImpl/xio2d.h:18:19: fatal error: variant: No such file or directory compilation terminated. P0267_RefImpl/P0267_RefImpl/CMakeFiles/io2d_core.dir/build.make:62: recipe for target 'P0267_RefImpl/P0267_RefImpl/CMakeFiles/io2d_core.dir/rgba_color.cpp.o' failed make[2]: [P0267_RefImpl/P0267_RefImpl/CMakeFiles/io2d_core.dir/rgba_color.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'P0267_RefImpl/P0267_RefImpl/CMakeFiles/io2d_core.dir/all' failed make[1]: [P0267_RefImpl/P0267_RefImpl/CMakeFiles/io2d_core.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Failed to build in the step: cmake --build .

gaohongfein commented 4 years ago

the same error

gaohongfein commented 4 years ago

update to g+ 7.0 can solve

karyuv commented 4 years ago

I updaed to the latest g++ 7 and the same error occurs. what is the fix for this?