Jump to content
  • 0

Corsol

Question

I'm trying to build the develop21 version of Zero core on windows, but when i compile with INSTALL project i got this error:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exiting command "setlocal\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" con codice 1. [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
Compiling project "G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj" (default destination) NOT COMPLETED.

Compiling FAILED.

"G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj" (destinazione predefinita) (1) -> (destinazione: PostBuildEvent) ->
 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exiting command "setlocal\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd\r [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" con codice 1. [G:\WoW Mangos Test\UI_TEST\buildServer\INSTALL.vcxproj]

   Avvisi: 0
   Errori: 1

What's wrong with my compiling steps?

I've done via cmd directly and via visual studio, creating project via Mangos_Easybuild tool and via cmq with cmake command options but both way fail with same error....

Thanks.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

yes of course!

Build command:

"%ProgramFiles%\CMake\bin\cmake.exe" -Wno-dev -DCMAKE_INSTALL_PREFIX="G:\Virtual PC\WoW Mangos Test\UI_Test\Run" ..\server

-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.21005.1
-- The CXX compiler identification is MSVC 18.0.21005.1
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013
-- Check for working CXX compiler using: Visual Studio 12 2013 -- 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.
   DEBUG                   Debug mode (strict compile, all warnings)
   ACE_USE_EXTERNAL        Use external ACE
   BUILD_TOOLS             Build the 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
  Modules:
   PLAYERBOTS              Enable Player Bots
 To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.
 Also, you can specify the generator with -G. see 'cmake --help' for more details
 For example: cmake .. -DDEBUG=1 -DCMAKE_INSTALL_PREFIX=/opt/mangos

 Note: On UNIX systems, CONF_DIR is relative to the bin folder.

-- Detected 32-bit platform
-- Could NOT find Git (missing:  GIT_EXECUTABLE)
-- Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;
C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib
-- Found OpenSSL headers: C:/OpenSSL-Win32/include
-- Found MySQL library: C:/Program Files (x86)/MySQL/MySQL Server 5.6/lib/libmysql.lib
-- Found MySQL headers: C:/Program Files (x86)/MySQL/MySQL Server 5.6/include
-- MaNGOS-Core revision  : Git not found
-- Install server to     : G:/Virtual PC/WoW Mangos Test/UI_Test/Run
-- Install configs to    : G:/Virtual PC/WoW Mangos Test/UI_Test/Run/
-- Search configs from   : binary directory (default)
-- Support for SOAP      : No (default)
-- Script engine Eluna   : Yes (default)
-- Script engine SD2     : Yes (default)
-- Enable Player Bots    : No
-- Build tools           : Yes (default)
-- Build in debug-mode   : No  (default)
-- Configuring done
-- Generating done
-- Build files have been written to: G:/Virtual PC/WoW Mangos Test/UI_Test/buildServer

Compile command:

"%ProgramFiles%\CMake\bin\cmake.exe" --build . --target INSTALL

Link to comment
Share on other sites

The INSTALL project under Win builds never, and I pointed at this at least twice. There is a mess with quotes (for non-DOS-compliant Win paths with spaces etc.) and wrong-style definition of the parameters of a CMake command (probably cmake -E copy), I suppose. If you have the binaries ready, just ignore this error and copy them manually.

Link to comment
Share on other sites

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