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

CMake could not find Visual Studio 2017 #1462

Closed
HarpyWar opened this Issue Mar 31, 2017 · 10 comments

Comments

Projects
None yet
3 participants
@HarpyWar

HarpyWar commented Mar 31, 2017

Why Visual Studio 2017 template includes CMake 3.7.2 which doesn't support Visual Studio 2017?
https://www.appveyor.com/docs/build-environment/

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Mar 31, 2017

Member

According to CMake 3.7 release notes it does support VS 2017.

Member

FeodorFitsner commented Mar 31, 2017

According to CMake 3.7 release notes it does support VS 2017.

@HarpyWar

This comment has been minimized.

Show comment
Hide comment
@HarpyWar

HarpyWar Mar 31, 2017

May be it supports only 2017 RC version but not the latest.
It stops with error The CXX compiler identification is unknown which means that compiler is not found.

HarpyWar commented Mar 31, 2017

May be it supports only 2017 RC version but not the latest.
It stops with error The CXX compiler identification is unknown which means that compiler is not found.

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Mar 31, 2017

Member

Do you have a repro in a public repository?

Member

FeodorFitsner commented Mar 31, 2017

Do you have a repro in a public repository?

@HarpyWar

This comment has been minimized.

Show comment
Hide comment
@HarpyWar

HarpyWar Mar 31, 2017

Yes, https://ci.appveyor.com/project/HarpyWar/pvpgn/build/1.99.7.576#L54

-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_CXX_COMPILER could be found.

There is an external tool used to run cmake, and there is no direct cmake command in appveyor.yml.
But you can see that all works fine with that tool when used downloaded CMake 3.8.0 RC3 https://ci.appveyor.com/project/HarpyWar/pvpgn/build/1.99.7.571

Downloading takes about 20 seconds that's critical sometimes, because of that I want use installed CMake.

HarpyWar commented Mar 31, 2017

Yes, https://ci.appveyor.com/project/HarpyWar/pvpgn/build/1.99.7.576#L54

-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_CXX_COMPILER could be found.

There is an external tool used to run cmake, and there is no direct cmake command in appveyor.yml.
But you can see that all works fine with that tool when used downloaded CMake 3.8.0 RC3 https://ci.appveyor.com/project/HarpyWar/pvpgn/build/1.99.7.571

Downloading takes about 20 seconds that's critical sometimes, because of that I want use installed CMake.

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Mar 31, 2017

Member

We'll deploy CMake 3.8.0 RC4 to VS 2017 image: #1463

Member

FeodorFitsner commented Mar 31, 2017

We'll deploy CMake 3.8.0 RC4 to VS 2017 image: #1463

@FeodorFitsner FeodorFitsner added this to the 2-Apr-2017 milestone Mar 31, 2017

@HarpyWar

This comment has been minimized.

Show comment
Hide comment
@HarpyWar

HarpyWar Apr 2, 2017

Is update date of the image known or not yet?

HarpyWar commented Apr 2, 2017

Is update date of the image known or not yet?

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Apr 2, 2017

Member

Should be ready by the end of today.

Member

FeodorFitsner commented Apr 2, 2017

Should be ready by the end of today.

@brunocodutra

This comment has been minimized.

Show comment
Hide comment
@brunocodutra

brunocodutra Apr 5, 2017

Is there anything specific one has to do in order to get CMake 3.8 in the PATH?
I still get CMake 3.7.2 as of April 5th https://ci.appveyor.com/project/brunocodutra/metal/build/894/job/qb1eqpml3o8pn9s2#L15

brunocodutra commented Apr 5, 2017

Is there anything specific one has to do in order to get CMake 3.8 in the PATH?
I still get CMake 3.7.2 as of April 5th https://ci.appveyor.com/project/brunocodutra/metal/build/894/job/qb1eqpml3o8pn9s2#L15

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Apr 5, 2017

Member

image doesn't work in environment variables matrix, should be:

APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
Member

FeodorFitsner commented Apr 5, 2017

image doesn't work in environment variables matrix, should be:

APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
@brunocodutra

This comment has been minimized.

Show comment
Hide comment
@brunocodutra

brunocodutra Apr 5, 2017

Thanks for the heads up!

brunocodutra commented Apr 5, 2017

Thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment