View Single Post
  #1  
Old 03-23-2013, 05:15 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default 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
The CXX compiler identification is unknown
Looking for include file stdint.h
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:3 (PROJECT)


CMake Error: Internal CMake error, TryCompile configure of cmake failed
Looking for include file stdint.h - not found
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:139 (FIND_PACKAGE)


Configuring incomplete, errors occurred!
I've never used CMake, so I'm not familiar with this. I did take a look at the CMake config file in C:\EQ\Source and changed the ZLIB folder from a relative path to a fixed path (i.e., changed

Code:
SET(ZLIB_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/zlib_x86")
to

Code:
SET(ZLIB_ROOT "$c:/EQ/Source/dependencies/zlib_x86")
And still received the same error. I've also uninstalled every program installed and double-checked to make sure I'm running the 32-bit versions of MySQL, Cmake, and ActivePerl; I did not have an option to get the 32-bit version of VS Express, which I've also uninstalled and reinstalled, as well.

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 =).
Reply With Quote