Jump to content
  • 0

Missing SD3 CMakeLists.txt


Mac Wheeler

Question

HI folks,

I am trying to setup zero using the getmangos.sh script.

Everything goes fine up until the build, and then I get:

CMake Error at src/modules/CMakeLists.txt:22 (add_subdirectory):
  The source directory

    /home/mangos/zero/src/server/src/modules/SD3

  does not contain a CMakeLists.txt file.


===================================================
Build type            : Release
Install server(s) to  : /home/mangos/zero/bin
Install configs to    : ../etc
Build main server     : Yes (default)
+-- with Eluna script engine
+-- with SD3 script engine
Build login server    : Yes (default)
Support for SOAP      : No (default)
Build tools           : Yes (default)

===================================================
-- Configuring incomplete, errors occurred!
See also "/home/mangos/zero/src/server/linux/CMakeFiles/CMakeOutput.log".
See also "/home/mangos/zero/src/server/linux/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
There was an error building MaNGOS!

And I checked, there is no CMakeLists.txt file in the modules/sd3 folder.

Any ideas how to solve this?

Thanks.

Mac.

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 1

I almost mentioned the git command, but using getmangos.sh that should take care of everything..  I also use it from the Fedora guide and you grab that individually from GitHub, and it should download the code I think.

Edited by Pysis
Link to comment
Share on other sites

  • 0

Hi @Mac Wheeler

Can you provide the link to the script you are talking about ? Perhaps it is outdated and then we will make an update :)

You can solve the problem by make a fresh clone and using :

git clone https://github.com/mangoszero/server.git --recursive --depth 1

The issue you had is related to the fact the main repo is referencing submodules.

The manipulation is explained in this guide : 

 

Link to comment
Share on other sites

  • 0

OK that's great, I will give it a try thanks.

Is there a current installation guide?

I took the script from here:, which I found on the CentOS 7 install guide:

https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh
Edited by Mac Wheeler
Link to comment
Share on other sites

  • 0

That's a lot of dots...

"I am trying to setup zero using the getmangos.sh script."
So that would be a fresh install.

Guides have you do:

I took the script from here:, which I found on the CentOS 7 install guide:

https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh

Edited Wednesday at 10:08 AM by Mac Wheeler

 

Now, we can download our installer:

wget https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh

Set the permissions to be allowed to execute it:

chmod 700 getmangos.sh

And execute it:

./getmangos.sh

That doesn't have him doing any git, at least for now..

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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