Closed luomingshuang closed 2 years ago
When I run make -j in the build dir, there is an error happens: error: #error C++14 or later compatible compiler is required to use ATen.. So I add the following two commands to CMakeLists.txt and the make -j process can run successfully.
make -j
build
error: #error C++14 or later compatible compiler is required to use ATen.
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON)
I'm not sure if the above two commands are necesary for the CMakeLists.txt in all environments.
Thanks!
When I run
make -j
in thebuild
dir, there is an error happens:error: #error C++14 or later compatible compiler is required to use ATen.
. So I add the following two commands to CMakeLists.txt and themake -j
process can run successfully.I'm not sure if the above two commands are necesary for the CMakeLists.txt in all environments.