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 01-03-2019, 02:00 AM
Garudan
Sarnak
 
Join Date: Jun 2005
Posts: 38
Default CMAKE NOTFOUND problem

when i try to compile the files with cmake, i get a NOFOUND error with the following error log:

Quote:
"E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_353a9.vcxproj " (Standardziel) (1) ->

(ClCompile Ziel) ->

E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\src.cxx(2): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "unistd.h": No such file or directory [E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_353a9.vcxproj]



1 Warnung(en)

1 Fehler



Verstrichene Zeit 00:00:00.76


Source file was:

#include <unistd.h>
int main() {}
Performing C++ SOURCE FILE Test HAVE_STD_GNUPP11_FLAG failed with the following output:
Change Dir: E:/EQEmuServer C++ files/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_68384.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R)-Buildmodul, Version 15.3.409.57025 fr .NET Framework

Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.



Der Buildvorgang wurde am 03.01.2019 06:51:35 gestartet.

Projekt "E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_68384.vcxproj " auf Knoten "1" (Standardziele).

PrepareForBuild:

Das Verzeichnis "cmTC_68384.dir\Debug\" wird erstellt.

Das Verzeichnis "E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\Debug\" wird erstellt.

Das Verzeichnis "cmTC_68384.dir\Debug\cmTC_68384.tlog\" wird erstellt.

InitializeBuildStatus:

"cmTC_68384.dir\Debug\cmTC_68384.tlog\unsuccessful build" wird erstellt, da "AlwaysCreate" angegeben wurde.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bi n\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D HAVE_STD_GNUPP11_FLAG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_68384.dir\Debug\\" /Fd"cmTC_68384.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue -O3 "E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\src.cxx"

Microsoft (R) C/C++-Optimierungscompiler Version 19.11.25508.2 fr x64

Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.



cl /c /Zi /W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D HAVE_STD_GNUPP11_FLAG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_68384.dir\Debug\\" /Fd"cmTC_68384.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue -O3 "E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\src.cxx"

src.cxx



cl : Befehlszeile warning D9002: Unbekannte Option "-O3" wird ignoriert. [E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_68384.vcxproj]

Link:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bi n\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\Debug\cmTC_68384.e xe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"E:/EQEmuServer C++ files/Build/CMakeFiles/CMakeTmp/Debug/cmTC_68384.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"E:/EQEmuServer C++ files/Build/CMakeFiles/CMakeTmp/Debug/cmTC_68384.lib" /MACHINE:X64 /machine64 cmTC_68384.dir\Debug\src.obj

cmTC_68384.vcxproj -> E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\Debug\cmTC_68384.e xe

cmTC_68384.vcxproj -> E:/EQEmuServer C++ files/Build/CMakeFiles/CMakeTmp/Debug/cmTC_68384.pdb (Full PDB)

FinalizeBuildStatus:

Die Datei "cmTC_68384.dir\Debug\cmTC_68384.tlog\unsuccessful build" wird gel”scht.

Aktualisieren des Timestamps von "cmTC_68384.dir\Debug\cmTC_68384.tlog\cmTC_68384.l astbuildstate".

Die Erstellung von Projekt "E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_68384.vcxproj " ist abgeschlossen (Standardziele).



Der Buildvorgang wurde erfolgreich ausgefhrt.



"E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_68384.vcxproj " (Standardziel) (1) ->

(ClCompile Ziel) ->

cl : Befehlszeile warning D9002: Unbekannte Option "-O3" wird ignoriert. [E:\EQEmuServer C++ files\Build\CMakeFiles\CMakeTmp\cmTC_68384.vcxproj]



1 Warnung(en)

0 Fehler



Verstrichene Zeit 00:00:01.08


Source file was:
int main() { return 0; }
Reply With Quote
  #2  
Old 01-03-2019, 05:34 AM
Garudan
Sarnak
 
Join Date: Jun 2005
Posts: 38
Default

well after carefully reading it again i am apparently missing the unistd.h dependency.
Any help (or link) where i might find this?
Reply With Quote
  #3  
Old 01-03-2019, 01:13 PM
Thalix's Avatar
Thalix
Sarnak
 
Join Date: Sep 2016
Posts: 91
Default

unistd.h is a file for unix/linux, not for windows.
Reply With Quote
  #4  
Old 01-03-2019, 02:44 PM
Garudan
Sarnak
 
Join Date: Jun 2005
Posts: 38
Default

i pulled the master branch from https://github.com/EQEmu/Server
and trying to build it with cmake.

Should i use a different source code?
Reply With Quote
  #5  
Old 01-04-2019, 03:32 PM
Garudan
Sarnak
 
Join Date: Jun 2005
Posts: 38
Default

so i solved the problem:

i followed this guide:
https://github.com/EQEmu/Server/wiki...indows-Install

which - at least for my system - shows problems with the dependencies.
using these dependencies:
https://eqemu.github.io/
works like a charm!
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 01:46 AM.


 

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