EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Errors when generating in CMake (https://www.eqemulator.org/forums/showthread.php?t=37490)

TylerBarnes 11-08-2013 03:44 PM

Errors when generating in CMake
 
I keep getting errors when I try to generate the files in cmake.
I've been trying to follow the guide as closely as possible and yes, I did download and install the dependencies.
I downloaded and installed Microsoft Visual Studio Express 2013 for Windows Desktop. 2012 wasn't available.
Not sure what's going on here but hopefully you guys can help this noob out. :confused:
I'm using Windows 7 64 bit

CMake Error at C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:14 (PROJECT)


The C compiler identification is unknown
CMake Error at C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:14 (PROJECT)


The CXX compiler identification is unknown
Looking for include file stdint.h
CMake Error at C:/EQ/Installs/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:/EQ/Installs/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:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:151 (FIND_PACKAGE)

cmake error log info:
Build started 11/8/2013 11:39:19 AM.
Project "C:\EQ\Source\Build\CMakeFiles\2.8.12\CompilerIdCX X\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\EQ\Source\Build\CMakeFiles\2.8.12\CompilerIdCXX \CompilerIdCXX.vcxproj(14,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\EQ\Source\Build\CMakeFiles\2.8.12\CompilerIdCX X\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

Lighted Shadows 11-08-2013 06:07 PM

It is still avalable

http://www.microsoft.com/en-us/downl....aspx?id=34673

Following this guide

http://www.eqemulator.net/wiki/wikka...rverSetupGuide

make sure you read VERY CAREFULLY

most notable line is

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

TylerBarnes 11-08-2013 07:10 PM

That appears to have been the issue. Once I installed the 2012 edition it seemed to start working. Thanks for the tip.

TylerBarnes 11-09-2013 01:59 AM

Okay maybe that wasn't the issue.
Visual Studio Express was coming up with 193 errors while trying to build so I cleared out Source, ran the git again, extracted the dependencies, made extra sure Visual Studio 11 was selected (made sure each time, including the first), I even went back and made sure MySQL was installed EXACTLY as the guide said.
I've been extra careful to follow this exactly and when I run cmake now I'm getting:

CMake Error at C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:14 (PROJECT)


The C compiler identification is unknown
CMake Error at C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:14 (PROJECT)


The CXX compiler identification is unknown
Looking for include file stdint.h
CMake Error at C:/EQ/Installs/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:/EQ/Installs/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:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
C:/EQ/Installs/CMake 2.8/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:151 (FIND_PACKAGE)

I'm going nuts here trying to figure this out. Been at it since this morning. I think I might have misplaced my sanity along the way.

Vexyl 11-09-2013 02:25 AM

What were some of the 193 errors? List a few. Maybe you're missing a required library? If you are having trouble setting the compiler, then this is relevant: http://www.cmake.org/Wiki/CMake_FAQ#...nt_compiler.3F

joligario 11-09-2013 07:00 AM

I'm not home, but i can try to walk through what i remember. I built on 2013 and it works but you need to do a few extra things. Get Boost 1.55 and make sure you have cmake 2.8.12 or later (i think I used oct 12 beta). Delete your old build folder and delete cache in cmake. Redo your configure, generate new, and it should pick up on version 12. Build it and check the error messages. I had to modify one of the boost files (it will show up in the error list) for the version in 2 or 3 spots. I changed from version == some number to version >= some number.

TylerBarnes 11-09-2013 01:35 PM

The error I was getting during the build was winsock2.h doesn't exist.
Thanks, Joli. I'm going to check that out right now.
I appreciate all the help, guys.

TylerBarnes 11-09-2013 02:23 PM

Yeah, I don't think I'm cut out for this.
I thought it was going to be a cut and dry thing, code I could learn as I went along and that's that.
I looked up boost 1.55 and couldn't figure out how to install it so I googled it and it has step by step instructions which include download binary packages, download and install Docbook XML 4.2 and then another copy of Docbook XML and unpack it here, do that there. Instead of an intuitive all in one pack.
This is WAY too complicated and ridiculous.
I've already installed several programs and drove myself crazy just with what was on the guide. Now I have a bunch of other stuff to download and install? I'm starting to wonder if it's even worth it.

TylerBarnes 11-09-2013 02:34 PM

Yeah I give up.
Thanks for trying, though.

Lighted Shadows 11-09-2013 03:39 PM

Yea, it was a pain in the rear to get my server even functional. The guides are out dated and even some of the links to the programs needed don't work or you get redirected to newer releases like Visual Studio. Getting a server running took me a couple days of Googling and forum serching. I am not even sure what I did to get mine to work is the proper or must updated because I still find missing tables in my database I need to manually enter to make things work that I found broken like BOTS. If you are interested PM me I will tell you what I did to make a server work useing
peqbeta_2013-xx-xx-xx.xx.tar.gz
and various sql files from the now outdated
http://projecteqdb.googlecode.com/sv...k/peqdatabase/
and
a couple from the
C:\EQ\source\utils\sql\git\required Folder

TylerBarnes 11-09-2013 03:50 PM

I'm pretty good with computers but a total novice at anything that requires any programming knowledge (novice is overstating it).
I'm a mess if it doesn't give me step by step instructions.

I'm hella bummed because I had a great idea for a server. I was going to take Classic, Kunark and Velious and make it more modern. Tweak some classes, add new class/race combinations. I even had where I was going to put the trainers.
It was a childhood fantasy of mine to be able to run EverQuest my way since I was a kid. I played from '99 - '04.

Lighted Shadows 11-09-2013 04:00 PM

LoL yea I can help you get a server running with the Titanium Client. Past that any changes as to stripping out content and modding classes and such is tinkering with code. I am capable of making minor changes or tweaking existing code but anything super major is past me.

TylerBarnes 11-10-2013 04:02 PM

I finally got it working.
There was an issue with Visual Studio 2012. I installed 2013, then 2012, then uninstalled 2013 and used the installer for 2012 to repair the installation and it worked.
It looks like I'm up and going.


All times are GMT -4. The time now is 03:54 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.