Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build project with Cmake 3.15.0 #7

Open
leoteo1 opened this issue Jul 3, 2019 · 1 comment
Open

Can not build project with Cmake 3.15.0 #7

leoteo1 opened this issue Jul 3, 2019 · 1 comment

Comments

@leoteo1
Copy link

leoteo1 commented Jul 3, 2019

I've got the error: "has no C++11 support. Please use a different C++ compiler" when building project by CMake 3.15.0 with Visual Studio 2015/ X64. Can anyone know how to solve this?
The Cmake report is:

Selecting Windows SDK version to target Windows 10.0.17763.
The C compiler identification is MSVC 19.0.24215.1
The CXX compiler identification is MSVC 19.0.24215.1
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Build type: Release
Performing Test COMPILER_SUPPORTS_CXX11
Performing Test COMPILER_SUPPORTS_CXX11 - Failed
Performing Test COMPILER_SUPPORTS_CXX0X
Performing Test COMPILER_SUPPORTS_CXX0X - Failed

CMake Error at CMakeLists.txt:26 (message):
The compiler C:/Program Files (x86)/Microsoft Visual Studio
14.0/VC/bin/x86_amd64/cl.exe has no C++11 support. Please use a different
C++ compiler.

Configuring incomplete, errors occurred!
See also "E:/setup/MYNT-EYE-ORB-SLAM2-Sample-master/build/CMakeFiles/CMakeOutput.log".
See also "E:/setup/MYNT-EYE-ORB-SLAM2-Sample-master/build/CMakeFiles/CMakeError.log".

@Sherlock-hh
Copy link

hello,did you solved this problem?I will very appreciate if you can share your solution,thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants