MaNGOSR2
Would you like to react to this message? Create an account in a few clicks or log in to continue.
MaNGOSR2

MangosR2 is a free, open source MMORPG framework, derived from MaNGOS project


You are not connected. Please login or register

how do i setup mangos r2 i dont understand the cmake thing

4 posters

Go down  Message [Page 1 of 1]

shanas



ive never setup mangosr2 b4 just normal mangos and trinity so how do i do this...

im getting a lot of errors in cmake and ive put the scriptdev2 in bindings. i really want to use mangos for my testing and trinitycore is crap in my opinion.

The C compiler identification is MSVC 17.0.50727.1
The CXX compiler identification is MSVC 17.0.50727.1
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- 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/MaNGOS

Use PCH : Yes
Build in debug-mode : No (default)

CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:647 (file):
file problem creating directory: C:/Program Files/MaNGOS
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)


CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:649 (message):
dir 'C:/Program Files/MaNGOS' does not exist after file(MAKE_DIRECTORY)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)


Configuring incomplete, errors occurred!

VENOM

VENOM

Download mangosR2 extract to C: disk. Download Scriptdev2 extract to C:\mangos-master\src\bindings\
rename Scriptdev2-master to Scriptdev2

open Cmake. Source code location: C:/mangos-master
where to build binaries: C:/mangos-master/Build

Configure to what version of Microsoft visual you have. but i guess its works corectly only on Visual studio 2012.
configure second time. if no errors. then Generate.

go to C:/mangos-maste/Build folder and open ALL_BUILD.vcxproj project file.

then in Visual studio right click on ALL_BUILD. and build it. thats all i guess.
then u have to find all the files exe files and dll files and but them to one folder for server to work corectly...

right now im have some compile errors. after some updates....

shanas



The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/mangos-master/build/CMakeFiles/CMakeTmp



Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec218929910



Microsoft (R) Visual Studio Version 10.0.30319.1.

Copyright (C) Microsoft Corp. All rights reserved.



The evaluation period for Visual Studio Trial ends in 29 days.

1>------ Build started: Project: cmTryCompileExec218929910, Configuration:
Debug Win32 ------

1>Build started 11/17/2012 3:03:58 PM.

1>PrepareForBuild:

1> Creating directory "C:\mangos-master\build\CMakeFiles\CMakeTmp\Debug\".

1>InitializeBuildStatus:

1> Creating
"cmTryCompileExec218929910.dir\Debug\cmTryCompileExec218929910.unsuccessfulbuild"
because "AlwaysCreate" was specified.

1>ClCompile:

1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01
for 80x86

1> Copyright (C) Microsoft Corporation. All rights reserved.

1>

1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec218929910.dir\Debug\\"
/Fd"C:/mangos-master/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec218929910.pdb"
/Gd /TC /analyze- /errorReport:prompt testCCompiler.c /Zm1000

1>

1> testCCompiler.c

1>LINK : fatal error LNK1123: failure during conversion to COFF: file
invalid or corrupt

1>

1>Build FAILED.

1>

1>Time Elapsed 00:00:04.27

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (project)

VENOM

VENOM

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


The C compiler "C:/Program Files/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is not able to compile a simple test program.


install Microsoft Visual Studio 2012 Ultimate.

shanas



Now im getting´this. btw im on windows...



The C compiler identification is MSVC 17.0.50727.1
The CXX compiler identification is MSVC 17.0.50727.1
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- 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/MaNGOS

Use PCH : Yes
Build in debug-mode : No (default)

CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:647 (file):
file problem creating directory: C:/Program Files/MaNGOS
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)


CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:649 (message):
dir 'C:/Program Files/MaNGOS' does not exist after file(MAKE_DIRECTORY)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)

rsa

rsa
Admin

> file problem creating directory: C:/Program Files/MaNGOS
need additional translate? please, don't use GUI for compiling, only project_setup.bat supported.
full documentation - in https://mangosr2.forumotion.com/t48-cmake-for-windows#301 (in russian, anyone may translate to english).

shanas



I don't understand russian. That's the problem.

KiriX

KiriX
Admin

shanas wrote:I don't understand russian. That's the problem.
http://translate.google.com understand russian...

http://aetherius.ru

shanas



Yes, I tried. I kinda understand now but i ran the batch file and did the cmake shit. nothing happens.

batch file just makes something like .config.m.cmake


KiriX

KiriX
Admin

shanas wrote:Yes, I tried. I kinda understand now but i ran the batch file and did the cmake shit. nothing happens.

batch file just makes something like .config.m.cmake
Where is log? Show me it =)

http://aetherius.ru

shanas



The C compiler identification is MSVC 17.0.50727.1
The CXX compiler identification is MSVC 17.0.50727.1
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- 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/MaNGOS

Use PCH : Yes
Build in debug-mode : No (default)

CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:647 (file):
file problem creating directory: C:/Program Files/MaNGOS
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)


CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:649 (message):
dir 'C:/Program Files/MaNGOS' does not exist after file(MAKE_DIRECTORY)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)

KiriX

KiriX
Admin

Grrrrrrrrrrrrrr.... Are you understand English???
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:647 (file):
file problem creating directory: C:/Program Files/MaNGOS
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1657 (_ep_set_directories)
dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:649 (message):
dir 'C:/Program Files/MaNGOS' does not exist after file(MAKE_DIRECTORY)
Try to create dir 'C:/Program Files/MaNGOS' manually.
Cmake may havn't access to create this dir.

http://aetherius.ru

VENOM

VENOM

project_setup.bat working perfectly if i use Visual Studio Command Prompt window.
windows CMD not working properly.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum