Jump to content

Missing SD3 CMakeLists.txt


Recommended Posts

Posted

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.

Posted

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 : 

 

Posted

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
Posted

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.

Posted

Right, which is why I originally didn't comment when I saw the post before Elms did, hence treating it as a bug report to investigate into further detail later.

Posted

I tried the git clone of the source and used that instead of letting the script download it but the script bombed out later on.

When it got to the build stage, it went back to the root menu for some reason. I hit enter and then it just bombed out.

Mac.

Posted

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..

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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