Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT+CMake Identifies wrong Windows version
CDT+CMake Identifies wrong Windows version [message #1693522] Fri, 24 April 2015 17:27 Go to next message
Merrill Cornish is currently offline Merrill CornishFriend
Messages: 2
Registered: December 2014
Junior Member
I'm running Eclipse 4.4.2 with CDT 8.6 and CMake 3.22 on Windows 7.1 64-bit.

The CMakeSystem.cmake file that (as I understand it) CDT generates at the request of CMake claims my Windows version is 6.1(!?).

In my CMakeLists.txt, I force CMAKE_HOST_SYSTEM_VERSION to be 7.1, and cmake-gui shows that. However, after configure and generation, CMakeSystem.cmake still shows 6.1.

And, yes, I know to delete all of the files created by configure and generate before checking the CMakeSystem.cmake.

First, does it really matter if CDT thinks my operating system is a generation behind. (It bothers my sense of The Way Things Should Be.)

Second, how do I get CDT to see the right version. I could just edit the file, but there may be other mistakes I don't know about.

Merrill
Re: CDT+CMake Identifies wrong Windows version [message #1693528 is a reply to message #1693522] Fri, 24 April 2015 19:01 Go to previous messageGo to next message
Klaus km is currently offline Klaus kmFriend
Messages: 142
Registered: November 2011
Senior Member
Hi,

the internal version number of Windows 7 is 6.1!

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx

regards


Re: CDT+CMake Identifies wrong Windows version [message #1693530 is a reply to message #1693528] Fri, 24 April 2015 19:08 Go to previous message
Merrill Cornish is currently offline Merrill CornishFriend
Messages: 2
Registered: December 2014
Junior Member
The internal version number of Window 7 is 6.1 and Windows 9 is Windows 10.

My head hurts--but thanks for the information. Smile
Previous Topic:Problem G++ compiler std=c++11
Next Topic:Is there any option to work columnwise in any of the version of eclipse editor(I currently use Keple
Goto Forum:
  


Current Time: Thu Apr 25 20:55:39 GMT 2024

Powered by FUDForum. Page generated in 0.02732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top