Jump to content

Core Compilieren with CMaker


Auntie Mangos

Recommended Posts

I don't know why people insist on using CMake on Windows...

There are well tested project files for Visual Studio and we have repeatedly pointed out (e.g. in the announcement) that CMake is still experimental for Windows, so we will not give support at this point.

Of course you are free to discuss how to fix existing problems, but there is no guarantee for prompt solutions.

Oh and if you don't accept that the forum language is english, or continue personal flaming, i'll have to close this thread.

Link to comment
Share on other sites

  • 41 years later...

Hello

First, I must say that I do not speak English and have written everything with Googel translator. I hope I'll manage it some understanding

I'm trying to compile a core of mangos has just create these files to CMake Core only once a solution. Unfortunately I have only error

I'll show me the way I go, and the messages / errors

I have a folder on the desktop called test server

In this folder are 2 SubFolder

- Mangos Core = The files I've downloaded over Git

- Build = An empty folder for cmake.

I open CMake

In "Where is the source code" I choose only the test server folder and the folder mangos

In the "Where to build the binaries" I choose only the test server folder and then build folder for

Then I go to Configure

There I choose Visual Studio 10 made since I use Visual C + + 2010 and "Use default native compilers" and then go to Finish

He then Raddert by 7 and get files in a red box

- ACE_USE_EXTERNAL with an empty box behind

- CMAKE_INSTALL_PREFIX with "C: / Program Files (x86) / MaNGOS" behind

- DEBUG with an empty box behind

- PCH with a box and a check mark in it, behind it

- PREFIX "C: / Program Files (x86) / MaNGOS" behind

- TBB_USE_EXTERNAL with an empty box behind

- USE_STD_MALLOC with an empty box behind

And in the lower box is the following message

Check for working C compiler using: Visual Studio 10

Check for working C compiler using: Visual Studio 10 - works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working CXX compiler using: Visual Studio 10

Check for working CXX compiler using: Visual Studio 10 - works

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Detected 32-bit platform.

Could NOT find Git (missing: GIT_EXECUTABLE)

This script builds the MaNGOS server.

Options that can be used in order to configure the process:

PREFIX: Path where the server should be installed to

PCH: Use precompiled headers

DEBUG: Debug mode

To set an option simply type D = <OPTION> <VALUE> after 'cmake <srcs>'.

For example: cmake .. -DDEBUG = 1-DPREFIX = / opt / mangos

MaNGOS Core revision: Git not found

Install server to: C: / Program Files (x86) / MaNGOS

Use PCH: Yes

Build in debug-mode: No (default)

Configuring done

Then I go to Configure

He then Raddert and by the same 7 files appear in a white box back on and is in the lower window in black and red

Could NOT find Git (missing: GIT_EXECUTABLE)

This script builds the MaNGOS server.

Options that can be used in order to configure the process:

PREFIX: Path where the server should be installed to

PCH: Use precompiled headers

DEBUG: Debug mode

To set an option simply type D = <OPTION> <VALUE> after 'cmake <srcs>'.

For example: cmake .. -DDEBUG = 1-DPREFIX = / opt / mangos

MaNGOS Core revision: Git not found

Install server to: C: / Program Files (x86) / MaNGOS

Use PCH: Yes

Build in debug-mode: No (default)

Configuring done

Then I go to Generate and he rattles through again and then comes in the bottom window Generating done and I close again CMake

Then I go into the test server and then in the build folder where mango is a file for Visual C + + now and then I open it by double-

Having durchgerattert I put all files in Configuration Manager to Release from Debug and after the last files are durchgerattert I press F7 and wait while it builds the core

Then comes after the creation of the core are the following error

(As it is too long by pastebin)

http://pastebin.com/4mVe3q4V

I hope you can help me:)

Greetings

SkyAngel

Link to comment
Share on other sites

Through I am german, I will write it in both language this time. Do yourself a favour an stay away from mangos. You will never accomplish a good server without any english language skills.

Da ich Deutscher bin, werde ich die diesmal in beiden Sprachen schreiben. Tu dir selbst einen Gefallen und halte dich fern von Mangos. Du wirst niemals einen vernünftigen Server fertig stellen, wenn du keine Englischkenntnisse hast.

Link to comment
Share on other sites

Ich benutze schon fast 2 Jahre Mangos und ich wüsste nicht wo jetzt das Problem daran ist? Die Datenbank Struktur (Auch wenn sie auf Englisch ist) ist auch kein Problem und es gibt doch genügend Übersetzer (Googel Chrome) und es sind alle Emulatoren auf Englisch :D Wir benutzen auch noch ArcEmu und das ist auch auf Englisch und erst recht Lua und auch hier funktioniert es seit 2 Jahren ^^

Und die Antwort von dir hat auch nicht wirklich was mit meinem Beitrag zu tun da ich Hilfe suche wieso die Core nicht zu erstellen geht und nicht ob es sinvoll ist ohne Englischkenntnise Mangos zu benutzen oder nicht :)

Link to comment
Share on other sites

I have a problem

Dosent compile but i have cmake version 2.8.1

gabi2 build # cmake .. -DPREFIX=/var/www/htdocs/serverzxc -DPCH=1

CMake Error at bindings/ScriptDev2/CMakeLists.txt:95 (set_target_properties):

set_target_properties called with incorrect number of arguments.

CMake Error at bindings/ScriptDev2/CMakeLists.txt:133 (add_precompiled_header):

Unknown CMake command "add_precompiled_header".

CMake Warning (dev) in CMakeLists.txt:

No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower

if you wish to support older CMake versions for this project. For more

information run "cmake --help-policy CMP0000".

This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

gabi2 build # cmake --version

cmake version 2.8.1

Link to comment
Share on other sites

Guest
This topic is now 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