CMake error in Windows 8
Hello all,
Trying to use the new Windows Guide & I'm running into a CMake problem: Code:
The C compiler identification is unknown Code:
SET(ZLIB_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/zlib_x86") Code:
SET(ZLIB_ROOT "$c:/EQ/Source/dependencies/zlib_x86") I looked in the forums, but the only other thread I found was for a person to go to the G00GLE code area and to download and unzip the file into c:\EQ\Source\dependencies, which I have done twice. Any help appreciated =). |
Still looking
Okay, I've verified that the stdint.h exists in:
Code:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include Banging my head against the wall on this one... |
Version of CMake?
Not all 2.8 are equal: 2.8.10 I believe is the earliest to support MSVC11. |
I have:
Code:
cmake-2.8.10.2-win32-x86.exe Thanks for replying =) |
Windows 8 uses 64-bit. I compile using Release x64 and use Visual Studio 10 Win64 in CMake, thought it would be beneficial to know that Windows 8 isn't 32-bit.
|
As far as I know, my OS is 64-bit & I have several 32-bit programs installed. They installed without issue or errors.
I am running Bitdefender Antivirus, turning it off when I install these programs. |
Okay it's going to get a little scary if you don't like the command line but lets try something... You should have a program: VS2012 x86 Native Tools Command Prompt. Under Microsoft Visual Studio 2012 -> tools, not entirely sure where it is on Win8 but if you search for VS2012 it should come up.
Should open something like: Code:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC> Code:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>cl /? Code:
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.51106.1 for x86 If it's installed correctly try instead: Code:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>cmake-gui |
Quote:
|
@KLS
Thank you; I tried the cl /? and received the following: Code:
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 Code:
Error in configuration process, project files may be invalid Code:
The C compiler identification is unknown |
I'll be honest I don't know.
I've never really heard of such an issue, something somewhere is misconfigured is all I know as one of our team members was definitely compiling on Win8 with VC11 when i was writing the CMake files with no issue. |
I have the same error, you saved me a lot of typing. Hopefully I can come up with something. I'll check back if anything arises.
|
I have VS Pro 2012 and run win8. I will try it out. I normally build for VS Pro 2010
|
I fixed mine.
Same error, similar problem possibly. (although I'm not on Windows 8 ) I run Vista and VS2012 is not supported. I installed VS2010 and it built fine. |
@Prolefeed
Thanks, I might try that out; I've since removed Windows 8 from my system & reinstalled Linux, I might think about running Windows 7 and trying to get the server up & running. |
Set the paths manually.
I followed the guide, since I've never used cmake, found the same errors, can't even compile due to pthread.h, windows.h and winsock.h |
im having the same prob with zlib
|
ok you fix zlib prob going here and pull Complete package, except sources from here http://gnuwin32.sourceforge.net/packages/zlib.htm
|
Sorry to necro, but I had this error on windows 7 64bit. I got past this by installing the 32 bit dependencies, instead of the 64-bit, my guess is that since cmake is 32bit only on windows, and therefore expects 32 bit Zlib dependency. Hope it helps
|
All times are GMT -4. The time now is 10:04 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.