PDA

View Full Version : Cmake Errors :(


rent
05-19-2013, 12:46 PM
So, this is the 2nd time Ive tried to set this up and I keep running into errors on the Cmake part,

this is the instruction:
Use CMake to build the required Visual Studio Solution and Project files

Launch your CMake program, typically labeled CMake (cmake-gui). Eg: Start -> CMake 2.8 -> CMake

To the right of the 'Where is the source code' box, click 'Browse Source' and expand the tree, C:\EQ\, click once on Source and then click OK, so the entry in the 'Where is the source code' box should read C:/EQ/Source/

To the right of the 'Where to build the binaries box', click 'Browse Build', expand the tree down to C:\EQ\Source. With 'Source' highlighted, click 'Make New Folder'.
Name the new folder Build and click OK. The 'Where to build the binaries box' should now have C:/EQ/Source/Build in it.

Click on Configure.

In the next dialogue that says 'Specify the generator for this project', select 'Visual Studio 11'. Click on Finish.

Some messages should appear in the lower window with hopefully no errors.

If you want to use 'Bots' on your server, click the box next to EQEMU_ENABLE_BOTS and then click Configure again.

Click on Generate and CMake should say 'Generating done' in the output window.

You can now close CMake.


heres what it says:

The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (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:315 (_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:150 (FIND_PACKAGE)


Configuring incomplete, errors occurred!

Burningsoul
05-19-2013, 01:06 PM
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

^ Well there's your problem. Gotta get, and add, Zlib before you can generate.

rent
05-19-2013, 01:37 PM
Download the ""MySQL"" and zlib headers/libraries∞ and unzip them into C:\EQ\Source\dependencies
If you do it correctly, you should have two folders underneath C:\EQ\Source\dependencies, one called mysql_x86 and one called zlib_x86.



So redo this right? I have the 2 files in there it says I should but I will delete them and try again

rent
05-19-2013, 03:02 PM
yeah, no dice

ive deleted the folder twice and redownloaded twice, maybe that file is missing from the download?

rent
05-19-2013, 03:47 PM
haha, dummy me, I DLed the wrong version of Visual......

all is good now, thank you