Jump to content

knuxyl

Members
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Everything posted by knuxyl

  1. 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= after 'cmake '. Also, you can specify the generator with -G. see 'cmake --help' for more details For example: cmake .. -DDEBUG=1 -DCMAKE_INSTALL_PREFIX=/opt/mangosNote:OnUNIXsystems,CONF_DIRisrelativetothebinfolder. -- Detected 64-bit platform. -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6") -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found -- Found Git: /usr/bin/git -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.so -- Found MySQL headers: /usr/include/mysql -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so -- Found OpenSSL headers: /usr/include/openssl -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- MaNGOS-Core revision : Git repository not found -- Install server to : /home/mangos/server -- Install configs to : /home/mangos/server/etc/ -- Search configs from : etc/ -- Support for SOAP : No (default) -- Script engine Eluna : Yes (default) -- Script engine SD2 : Yes (default) -- Build tools : Yes (default) -- Use PCH : Yes (default) -- Build in debug-mode : No (default) [COLOR="#FF0000"]CMake Error at CMakeLists.txt:407 (add_subdirectory): The source directory /home/mangos/server-release20/dep does not contain a CMakeLists.txt file. CMake Error at src/CMakeLists.txt:51 (add_subdirectory): The source directory /home/mangos/server-release20/src/realmd does not contain a CMakeLists.txt file. CMake Error at src/modules/CMakeLists.txt:10 (add_subdirectory): The source directory /home/mangos/server-release20/src/modules/Eluna does not contain a CMakeLists.txt file.[/COLOR] -- Configuring incomplete, errors occurred! See also "/home/mangos/server-release20/build/CMakeFiles/CMakeOutput.log". 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]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use