Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2014, 02:18 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default CMAKE Error

I have been following the new guide on how to setup my own server. I am running into an error with cmake, and I am hoping I can receive some help here.

I plan on running this Everquest Server on a brand new install of Windows Server 2012 R2, everything has been updated.

I am running all software packages suggested within the guide, with the exception, I am not using Xampp, so a stand alone MYSQL server.

I receive the following error within Cmake when I attempt to compile:

Build FAILED.

"C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId CXX\CompilerIdCXX.vcxproj" (default target) (1) ->
(Link target) ->
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerIdC XX\CompilerIdCXX.vcxproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.47


Here is the error code I receive within the lower pane of Cmake:

CMake Error at C:/Program Files (x86)/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:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files (x86)/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:/Program Files (x86)/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:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files (x86)/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:/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: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:192 (FIND_PACKAGE)


Configuring incomplete, errors occurred!
See also "C:/EQ/Source/Build/CMakeFiles/CMakeOutput.log".
See also "C:/EQ/Source/Build/CMakeFiles/CMakeError.log".


Below I will paste the entire error log from cmake. I thank everyone who looks at this post and helps with a solution.
__________________________________________________ _____________


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
Microsoft (R) Build Engine version 12.0.21005.1
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 4/15/2014 10:42:50 AM.
Project "C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId C\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug\".
Creating directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /nologo /W0 /WX- /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X86 /SAFESEH Debug\CMakeCCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerIdC \CompilerIdC.vcxproj]
Done Building Project "C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId C\CompilerIdC.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId C\CompilerIdC.vcxproj" (default target) (1) ->
(Link target) ->
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerIdC \CompilerIdC.vcxproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.45


Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:

The output was:
1
Microsoft (R) Build Engine version 12.0.21005.1
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 4/15/2014 10:42:50 AM.
Project "C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId CXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug\".
Creating directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /nologo /W0 /WX- /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue CMakeCXXCompilerId.cpp
CMakeCXXCompilerId.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X86 /SAFESEH Debug\CMakeCXXCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerIdC XX\CompilerIdCXX.vcxproj]
Done Building Project "C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId CXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerId CXX\CompilerIdCXX.vcxproj" (default target) (1) ->
(Link target) ->
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib' [C:\EQ\Source\Build\CMakeFiles\2.8.12.2\CompilerIdC XX\CompilerIdCXX.vcxproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.47


Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Determining if files stdint.h exist failed with the following output:

Source:
/* */
#include <stdint.h>


int main(){return 0;}
Reply With Quote
  #2  
Old 04-15-2014, 04:37 PM
moofta
Sarnak
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 53
Default

Did you copy the dependencies in? It says zlib is missing. Other that, which flavour of visual studio 2012 was it that you installed? It's not finding the c++ libraries. (I'm no cmake expert though!)
Reply With Quote
  #3  
Old 04-15-2014, 05:16 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Yes I have the dependencies folder created with the four files residing in said folder. My path is:

C:\EQ\Source\dependencies

With that folder are the following folders:


boost
luaj_x86
mysql_x86
zlib_x86.

I am using Visual Studio Express 2013, and selecting VS 12 within Cmake. The Cmake version I am using is the latest 2.8.12.2, and I even tried an older version of cmake, received same error.
Reply With Quote
  #4  
Old 04-16-2014, 01:14 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

As I have been looking into this, it seems that Cmake is NOT grabbing default locations and thus the compiler is failing. For example, can anyone tell me what location to point to for this:

CMAKE_LINKER
Reply With Quote
  #5  
Old 04-16-2014, 05:47 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,106
Default

did joo run as admin
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
Reply With Quote
  #6  
Old 04-16-2014, 10:36 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Yes, as I am running actual server software, I am logged in as the administrator when doing all of these functions.
Reply With Quote
  #7  
Old 04-16-2014, 11:32 AM
moofta
Sarnak
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 53
Default

1) try repairing your vs2013 installation, if that doesn't work:-
2) Try installing http://msdn.microsoft.com/en-US/wind.../bg162891.aspx , or repair it if already installed. if that doesn't work:-
3) Open up the VS2013 developer command prompt (not the normal one) and then type

"set lib"

and post the contents here.
Reply With Quote
  #8  
Old 04-16-2014, 08:53 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Moofta,

First let me thank you for the great guide to follow in learning to set up my own server. second, thank you for the continued support you give to us new people.

After installing the SDK, everything worked within Cmake without any errors. I am on to the next steps........
Reply With Quote
  #9  
Old 04-16-2014, 09:39 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Ok I am using VS 2013 Express, per the guide, and when it opens the EQEmu.sln file, on the right side it says the file is incompatible with this version of VS.....

Ideas?
Reply With Quote
  #10  
Old 04-16-2014, 09:45 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

With all your previous problems, I recommend deleting the build directory, clearing out the CMAKE cache, and starting the generate process over.
Reply With Quote
  #11  
Old 04-17-2014, 12:09 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Joligario, thanks for the suggestion. I tried that twice, and still failed. Here is a link to a screen shot of VS 2013 and the incompatible portion:


http://prntscr.com/3aqlxh
Reply With Quote
  #12  
Old 04-17-2014, 12:11 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Make sure that you select 'visual studio 12' for your compiler. I believe there are 3 versions listed (x64 and arm are the other two.)

You want the basic compiler, if you're building x86.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #13  
Old 04-17-2014, 12:42 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Uleat, Yes I did select the basic compiler of VS 12.

Really weird it says the wrong version....
Reply With Quote
  #14  
Old 04-17-2014, 12:56 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Okay, deleted the Build directory, cleared the cache, even deleted all source files including Dependencies and re-downloaded them all. Screenshot one shows the configure up to LUA.

http://prntscr.com/3aqtmu

Screenshot 2 shows the LUA

http://prntscr.com/3aqu3m

Screenshot 3 shows the generate:

http://prntscr.com/3aqu92


Thanks again everyone. I WILL get this done!
Reply With Quote
  #15  
Old 04-17-2014, 12:56 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I spoke to one of the dev's about the 'unknown version' problem and they are aware of it.

It doesn't, however, keep you from generating a solution and opening it in vs 2013.


If you are (still) getting fatal errors, there's definitely something else going on...


EDIT: I just saw your screenshots... go back and redo cmake..this time, click configure twice. There was a red line indicating that a configuration option had not been set.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:56 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3