CMakeLists.txt not found in several subdirectories
I am running Xubuntu 15.10 x64 and I'm trying to compile from source Mangos One. I have found 2 problems, one with the database, and one with the server.
The database make_full_db.sh inside the Tools folder has a typo.
At line 22 this
../World/Setup/fullDB/*.sql;
should say this
../World/Setup/FullDB/*.sql;
The fullDB needs a capital F.
For the server/main problem
I am following the guide here
[url]https://getmangos.eu/wiki/Installation%20Guides/Linux/Debianinstall.md[/url]
I created the build directory inside the server source folder and the install prefix is set to $HOME/server. I do
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/mangos/server
and this is the output
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
This script builds the MaNGOS server.
Options that can be used in order to configure the process:
General:
CMAKE_INSTALL_PREFIX Path where the server should be installed to
CONF_DIR Path to the configs, can be absolute or relative.
PCH Use precompiled headers
DEBUG Debug mode
USE_STD_MALLOC Use standard malloc instead of TBB
ACE_USE_EXTERNAL Use external ACE
BUILD_TOOLS Build map/vmap/mmap extractors
SOAP Enable remote access via SOAP
Scripting engines:
SCRIPT_LIB_ELUNA Compile with support for Eluna scripts
SCRIPT_LIB_SD2 Compile with support for ScriptDev2 scripts
To set an option simply type -D
I have checked the directories and sure enough there are no CMakeLists.txt in the directories. I don't know if there should be, if I am not doing something, or the configuration is wrong. I seem to have all dependencies.
Btw, does this server have dungeon finder/battleground support? And do all bosses work? Thanks
[QUOTE]PS I didn't know what affected version meant so I just chose something[/QUOTE]
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now