EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Compile Error (https://www.eqemulator.org/forums/showthread.php?t=42540)

Nightrider84 07-26-2019 03:34 PM

Compile Error
 
So long story short I use the old method for compiling through cmake and visual studio. I did a fresh git clone from the repository put the zlib boost ect files where they are suppose to go and when I go to cmake to make I get this error

Boost version: 1.53.0
CMake Error at CMakeLists.txt:383 (ADD_SUBDIRECTORY):
The source directory

C:/EQ/Fresh Source/submodules/fmt

does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:384 (ADD_SUBDIRECTORY):
The source directory

C:/EQ/Fresh Source/submodules/libuv

does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:389 (ADD_SUBDIRECTORY):
The source directory

C:/EQ/Fresh Source/submodules/recastnavigation

does not contain a CMakeLists.txt file.


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

Now if I simply copy the cmake file from the source folder to those folders it gives me all kinds of other errors. So im curious if doing it this way is still viable or do I need to bite the bullet and do it a different way?

Edit: Im using Cmake 3.8.1 and VS 15 2017

joligario 07-26-2019 03:50 PM

7/3: https://github.com/EQEmu/Server/blob.../changelog.txt

Also, update your CMAKE to 3.15 and make sure your VS2017 is up-to-date.

Uleat 07-26-2019 06:14 PM

I've been working on getting the vcpkg exports to work with our building methods.

If you're willing to try it out, you can get it from: https://github.com/EQEmu/Server/rele...export-x86.zip

That contains more recent dependencies (for some programs) than what are in the actual dependencies download.

Just create a sub-folder in your code repo that looks like this
Code:

../Server/vcpkg
Then, put the downloaded zip into that folder and extract.

CMake will do its thing and pull from the correct locations.


EDIT: I posted this because I saw that your Boost is out-dated. Version 1.58 is the min to compile and this package contains Version 1.68

Huppy 07-26-2019 06:57 PM

Quote:

Originally Posted by Uleat (Post 263086)
EDIT: I posted this because I saw that your Boost is out-dated. Version 1.58 is the min to compile and this package contains Version 1.68

Nightrider - I just went through having to update my cmake (3.15) and VS updates recently, in another thread and the compiles were working fine after that.

Uleat - Just an observation. Even though I have been using Boost 1.67 for a long time now, the link on the windows install page is for 1.58 (not sure if that needs updating ?) ;)

https://github.com/EQEmu/Server/wiki...indows-Install

Uleat 07-26-2019 07:11 PM

That install page is going bye-bye soon.

We shouldn't have to special case an installation guide like that.

This is what will replace it when I finalize the process: https://github.com/EQEmu/Server/wiki...Install-Rework

Huppy 07-26-2019 09:29 PM

Quote:

Originally Posted by Uleat (Post 263088)
That install page is going bye-bye soon.

We shouldn't have to special case an installation guide like that.

This is what will replace it when I finalize the process: https://github.com/EQEmu/Server/wiki...Install-Rework

Server Wiki Rework. That's a good thing.


All times are GMT -4. The time now is 08:20 PM.

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