Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  Reveal hidden contents

 

Still got some problems with version 2.8.9 of cmake and rev: efdbc68caea5dbe5f9dcdc8f3531ae3a7b2c4e76

Link to comment
Share on other sites

+maestro:

 

Well, no problem, it's fixed now.

 

That specific compiler error was not triggered on our buildbot, that is known to be "very bitchty" regarding builds, but our other bot, Aokromes, quickly spotted this topic and forwarded it to me.

 

It seems that this error was changed on GCC 4.5 (hopefully), before that it's a simple warning "warning: cannot pass objects of non-POD type ‘struct std::string’ through ‘...’; call will abort at runtime".

Link to comment
Share on other sites

Hello when i try to compile trinity core i get this error on CMAKE

 

The C compiler identification is unknown
The CXX compiler identification is unknown
Detected 32-bit platform
Using supplied MySQL sources
Found OpenSSL: C:/OpenSSL-Win32/lib/ssleay32.lib;C:/OpenSSL-Win32/lib/libeay32.lib  
CMake Error at cmake/macros/FindGit.cmake:24 (message):
  

      Git was NOT FOUND on your system - did you forget to install a recent version, or setting the path to it?
      Observe that for revision hash/date to work you need at least version 1.7
Call Stack (most recent call first):
  CMakeLists.txt:65 (find_package)


Configuring incomplete, errors occurred!

 

I got GIT on this computer but i dont know what it means ,or setting the path to it

Link to comment
Share on other sites

Trinity Core 4.3.4 Cata lastest Revision

Anyone can tell me why give me error "No such file or directory" when i have it. Thanks in advance :rolleyes:

root@kaloian:/home/cannibaldev/WoW Server/Core/build# cmake .. -DPREFIX='/home/cannibaldev/WoW Server/BIN'
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- GCC: SFMT enabled, SSE2 flags forced
-- Found ACE library: /usr/local/lib/libACE.so
-- Found ACE headers: /usr/local/include
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
-- Found MySQL headers: /usr/include/mysql
-- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Include dir is: /usr/include
-- Found git binary : /usr/bin/git

* TrinityCore revision   : ff75a1b54329+ 2013-03-25 08:25:55 +0200 (4.3.4 branch)
* TrinityCore buildtype  : Release

* Install core to        : /home/cannibaldev/WoW Server/BIN
* Install libraries to   : /home/cannibaldev/WoW Server/BIN/lib
* Install configs to     : /home/cannibaldev/WoW Server/BIN/etc

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (default)
* Build map/vmap tools   : No  (default)
* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Use GIT revision hash  : Yes

-- SCRIPT PREPARATIONS
  -> Prepared: Spells
  -> Prepared: Commands
  -> Prepared: Examples
  -> Prepared: Custom
  -> Prepared: World
  -> Prepared: Outdoor PVP Zones
  -> Prepared: Eastern Kingdoms
  -> Prepared: Kalimdor
  -> Prepared: Outland
  -> Prepared: Northrend
  -> Prepared: Events
-- SCRIPT PREPARATION COMPLETE

-- Configuring done
-- Generating done
-- Build files have been written to: /home/cannibaldev/WoW Server/Core/build
root@kaloian:/home/cannibaldev/WoW Server/Core/build# make -j 90
Scanning dependencies of target g3dlib
Scanning dependencies of target Recast
Scanning dependencies of target Detour
Scanning dependencies of target jemalloc
Scanning dependencies of target gsoap
Scanning dependencies of target revision.h
[  0%] [  0%] [  1%] [  1%] Scanning dependencies of target sharedPCH.cpp_dephelp
[  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastArea.cpp.o
[  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastAlloc.cpp.o
[  1%] [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastContour.cpp.o
Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastFilter.cpp.o
[  1%] [  1%] [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Recast.cpp.o
[  2%] [  2%] [  2%] [  2%] [  2%] [  2%] [  3%] Scanning dependencies of target gamePCH.cpp_dephelp
[  2%] Scanning dependencies of target collisionPCH.cpp_dephelp
[  2%] [  3%] [  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o
[  3%] [  3%] [  3%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourAlloc.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o
Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNavMesh.cpp.o
Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourCommon.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o
[  3%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNavMeshBuilder.cpp.o
Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNavMeshQuery.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/tcache.c.o
Scanning dependencies of target authPCH.cpp_dephelp
[  3%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNode.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o
[  3%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mb.c.o
Scanning dependencies of target worldPCH.cpp_dephelp
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o
Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o
Scanning dependencies of target ScriptPCH.cpp_dephelp
Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o
[  3%] [  3%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o
Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastMesh.cpp.o
Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastMeshDetail.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o
Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastRasterization.cpp.o
Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastRegion.cpp.o
[  4%] [  4%] [  4%] [  4%] Building CXX object src/server/shared/CMakeFiles/sharedPCH.cpp_dephelp.dir/PrecompiledHeaders/sharedPCH.cpp.o
[  4%] [  4%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/prof.c.o
[  5%] [  5%] [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/stats.c.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/rtree.c.o
[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o
[  5%] [  5%] [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o
Building CXX object src/server/collision/CMakeFiles/collisionPCH.cpp_dephelp.dir/PrecompiledHeaders/collisionPCH.cpp.o
[  6%] [  6%] Building CXX object src/server/authserver/CMakeFiles/authPCH.cpp_dephelp.dir/PrecompiledHeaders/authPCH.cpp.o
[  6%] [  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_mmap.c.o
[  6%] [  6%] [  6%] [  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o
[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_swap.c.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o
[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o
Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o
[  6%] [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o
[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o
[  7%] [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o
Building CXX object src/server/game/CMakeFiles/gamePCH.cpp_dephelp.dir/PrecompiledHeaders/gamePCH.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o
[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o
[  7%] [  7%] Building CXX object src/server/scripts/CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o
[  7%] Building CXX object src/server/worldserver/CMakeFiles/worldPCH.cpp_dephelp.dir/PrecompiledHeaders/worldPCH.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o
[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o
[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o
[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o
[  7%] [  8%] [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o
[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
[  8%] [  8%] [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o
[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o
[  8%] [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o
[  8%] [  9%] [  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o
Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o
[  9%] Built target revision.h
Linking CXX shared module libsharedPCH.cpp_dephelp.so
[  9%] Built target sharedPCH.cpp_dephelp
Scanning dependencies of target generate_sharedPCH.cpp
[  9%] Generating sharedPCH.h.gch
c++: error: Server/Core/build/src/server/shared: No such file or directory
c++: error: Server/Core/build: No such file or directory
c++: error: Server/Core/dep/recastnavigation/Detour: No such file or directory
c++: error: Server/Core/dep/SFMT: No such file or directory
c++: error: Server/Core/dep/sockets/include: No such file or directory
c++: error: Server/Core/dep/utf8cpp: No such file or directory
c++: error: Server/Core/src/server: No such file or directory
c++: error: Server/Core/src/server/shared: No such file or directory
c++: error: Server/Core/src/server/shared/Configuration: No such file or directory
c++: error: Server/Core/src/server/shared/Cryptography: No such file or directory
c++: error: Server/Core/src/server/shared/Database: No such file or directory
c++: error: Server/Core/src/server/shared/DataStores: No such file or directory
c++: error: Server/Core/src/server/shared/Debugging: No such file or directory
c++: error: Server/Core/src/server/shared/Dynamic: No such file or directory
c++: error: Server/Core/src/server/shared/Logging: No such file or directory
c++: error: Server/Core/src/server/shared/Packets: No such file or directory
c++: error: Server/Core/src/server/shared/Threading: No such file or directory
c++: error: Server/Core/src/server/shared/Utilities: No such file or directory
c++: error: Server/Core/src/server/game/Entities/Object: No such file or directory
make[2]: *** [src/server/shared/sharedPCH.h.gch] Error 1
make[1]: *** [src/server/shared/CMakeFiles/generate_sharedPCH.cpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX static library libDetour.a
[  9%] Built target Detour
Linking CXX shared module libcollisionPCH.cpp_dephelp.so
Linking CXX shared module libauthPCH.cpp_dephelp.so
Linking C static library libjemalloc.a
[  9%] Built target authPCH.cpp_dephelp
[  9%] Built target jemalloc
[  9%] Built target collisionPCH.cpp_dephelp
Linking CXX static library libRecast.a
Linking CXX shared module libworldPCH.cpp_dephelp.so
[  9%] Built target Recast
[  9%] Built target worldPCH.cpp_dephelp
Linking CXX shared module libgamePCH.cpp_dephelp.so
[  9%] Built target gamePCH.cpp_dephelp
Linking CXX static library libg3dlib.a
Linking CXX shared module libScriptPCH.cpp_dephelp.so
[  9%] Built target g3dlib
[  9%] Built target ScriptPCH.cpp_dephelp
Linking CXX static library libgsoap.a
[  9%] Built target gsoap
make: *** [all] Error 2
 

Edited by Kaloian
Link to comment
Share on other sites

  On 3/25/2013 at 2:00 PM, Paradox said:
try pulling the source again, you may have gotten a corrupt or incomplete clone.

afther this:

root@kaloian:/home/cannibaldev/WoW Server/TrinityCore# mkdir build

root@kaloian:/home/cannibaldev/WoW Server/TrinityCore# cd build

root@kaloian:/home/cannibaldev/WoW Server/TrinityCore/build# cmake ../TrinityCore/

-- The C compiler identification is GNU 4.7.2

-- The CXX compiler identification is GNU 4.7.2

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detected 64-bit platform

-- UNIX: Using jemalloc

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: SFMT enabled, SSE2 flags forced

-- Found ACE library: /usr/local/lib/libACE.so

-- Found ACE headers: /usr/local/include

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so  

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so

-- Include dir is: /usr/include

-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")

-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")

-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found

-- Found git binary : /usr/bin/git

* TrinityCore revision   : d03da1320a3d 2013-03-25 14:36:04 +0100 (master branch)

* TrinityCore buildtype  : Release

* Install core to        : /usr/local

* Install libraries to   : /usr/local/lib

* Install configs to     : /usr/local/etc

* Build world/auth       : Yes (default)

* Build with scripts     : Yes (default)

* Build map/vmap tools   : No  (default)

* Build core w/PCH       : Yes (default)

* Build scripts w/PCH    : Yes (default)

* Show compile-warnings  : No  (default)

* Use coreside debug     : No  (default)

* Use GIT revision hash  : Yes

-- SCRIPT PREPARATIONS

  -> Prepared: Spells

  -> Prepared: Commands

  -> Prepared: Examples

  -> Prepared: Custom

  -> Prepared: World

  -> Prepared: Outdoor PVP Zones

  -> Prepared: Eastern Kingdoms

  -> Prepared: Kalimdor

  -> Prepared: Outland

  -> Prepared: Northrend

  -> Prepared: Events

-- SCRIPT PREPARATION COMPLETE

-- Configuring done

-- Generating done

-- Build files have been written to: /home/cannibaldev/WoW Server/TrinityCore/build

root@kaloian:/home/cannibaldev/WoW Server/TrinityCore/build# cmake ../TrinityCore/ -DPREFIX='/home/cannibaldev/WoW Server/BIN'

-- Detected 64-bit platform

-- UNIX: Using jemalloc

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: SFMT enabled, SSE2 flags forced

-- Found ACE library: /usr/local/lib/libACE.so

-- Found ACE headers: /usr/local/include

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so

-- Include dir is: /usr/include

-- Found git binary : /usr/bin/git

* TrinityCore revision   : d03da1320a3d 2013-03-25 14:36:04 +0100 (master branch)

* TrinityCore buildtype  : Release

* Install core to        : /home/cannibaldev/WoW Server/BIN

* Install libraries to   : /home/cannibaldev/WoW Server/BIN/lib

* Install configs to     : /home/cannibaldev/WoW Server/BIN/etc

* Build world/auth       : Yes (default)

* Build with scripts     : Yes (default)

* Build map/vmap tools   : No  (default)

* Build core w/PCH       : Yes (default)

* Build scripts w/PCH    : Yes (default)

* Show compile-warnings  : No  (default)

* Use coreside debug     : No  (default)

* Use GIT revision hash  : Yes

-- SCRIPT PREPARATIONS

  -> Prepared: Spells

  -> Prepared: Commands

  -> Prepared: Examples

  -> Prepared: Custom

  -> Prepared: World

  -> Prepared: Outdoor PVP Zones

  -> Prepared: Eastern Kingdoms

  -> Prepared: Kalimdor

  -> Prepared: Outland

  -> Prepared: Northrend

  -> Prepared: Events

-- SCRIPT PREPARATION COMPLETE

-- Configuring done

-- Generating done

-- Build files have been written to: /home/cannibaldev/WoW Server/TrinityCore/build

root@kaloian:/home/cannibaldev/WoW Server/TrinityCore/build# make -j 90

Scanning dependencies of target jemalloc

Scanning dependencies of target g3dlib

Scanning dependencies of target revision.h

Scanning dependencies of target Recast

Scanning dependencies of target Detour

Scanning dependencies of target sharedPCH.cpp_dephelp

Scanning dependencies of target gsoap

[  0%] Scanning dependencies of target collisionPCH.cpp_dephelp

[  0%] [  0%] Scanning dependencies of target authPCH.cpp_dephelp

[  0%] Scanning dependencies of target gamePCH.cpp_dephelp

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mb.c.o

Scanning dependencies of target ScriptPCH.cpp_dephelp

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/tcache.c.o

[  0%] [  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o

[  0%] [  0%] [  0%] [  0%] [  0%] Scanning dependencies of target worldPCH.cpp_dephelp

[  0%] [  1%] [  2%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourAlloc.cpp.o

Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNavMesh.cpp.o

[  2%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourCommon.cpp.o

Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Recast.cpp.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o

Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastAlloc.cpp.o

Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o

[  2%] [  2%] [  2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastContour.cpp.o

Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o

Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastArea.cpp.o

Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o

[  2%] [  2%] [  2%] Building CXX object src/server/collision/CMakeFiles/collisionPCH.cpp_dephelp.dir/PrecompiledHeaders/collisionPCH.cpp.o

[  2%] [  2%] [  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/prof.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o

[  3%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastMesh.cpp.o

Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastFilter.cpp.o

[  3%] [  3%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNavMeshBuilder.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o

[  3%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/rtree.c.o

[  3%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNode.cpp.o

[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/DetourNavMeshQuery.cpp.o

[  3%] [  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/stats.c.o

[  5%] [  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastMeshDetail.cpp.o

Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastRasterization.cpp.o

Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/RecastRegion.cpp.o

[  4%] [  5%] [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o

Building CXX object src/server/shared/CMakeFiles/sharedPCH.cpp_dephelp.dir/PrecompiledHeaders/sharedPCH.cpp.o

[  5%] [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o

Building CXX object src/server/authserver/CMakeFiles/authPCH.cpp_dephelp.dir/PrecompiledHeaders/authPCH.cpp.o

[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_mmap.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o

[  5%] [  5%] [  5%] [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o

[  5%] [  5%] [  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o

Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_swap.c.o

[  6%] [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o

[  6%] Building CXX object src/server/worldserver/CMakeFiles/worldPCH.cpp_dephelp.dir/PrecompiledHeaders/worldPCH.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o

[  6%] Building CXX object src/server/game/CMakeFiles/gamePCH.cpp_dephelp.dir/PrecompiledHeaders/gamePCH.cpp.o

[  6%] [  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o

[  7%] [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o

Building CXX object src/server/scripts/CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o

[  7%] [  7%] [  7%] [  7%] [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o

Built target revision.h

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o

[  7%] [  7%] [  7%] [  8%] [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o

[  8%] [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o

[  8%] [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o

[  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o

[  9%] [  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o

[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o

[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o

Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o

[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o

Linking CXX shared module libcollisionPCH.cpp_dephelp.so

[  9%] Linking CXX shared module libsharedPCH.cpp_dephelp.so

Built target collisionPCH.cpp_dephelp

Scanning dependencies of target generate_collisionPCH.cpp

[  9%] Generating collisionPCH.h.gch

c++: error: Server/TrinityCore/build/src/server/collision: No such file or directory

c++: error: Server/TrinityCore/build: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/dep/g3dlite/include: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/dep/recastnavigation/Detour: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Configuration: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Debugging: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Database: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Debugging: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Dynamic: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Dynamic/LinkedReference: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Logging: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Threading: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Packets: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/Utilities: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/shared/DataStores: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Addons: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Conditions: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Entities/Item: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Entities/GameObject: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Entities/Creature: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Entities/Object: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Entities/Object/Updates: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Entities/Unit: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Combat: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Loot: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Miscellaneous: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Grids: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Grids/Cells: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Grids/Notifiers: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Maps: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/DataStores: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Movement/Waypoints: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Movement/Spline: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Movement: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Server: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Server/Protocol: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/World: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Spells: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/game/Spells/Auras: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/collision: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/collision/Management: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/collision/Maps: No such file or directory

c++: error: Server/TrinityCore/TrinityCore/src/server/collision/Models: No such file or directory

make[2]: *** [src/server/collision/collisionPCH.h.gch] Error 1

make[1]: *** [src/server/collision/CMakeFiles/generate_collisionPCH.cpp.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[  9%] Built target sharedPCH.cpp_dephelp

Linking CXX shared module libworldPCH.cpp_dephelp.so

[  9%] Built target worldPCH.cpp_dephelp

Linking CXX shared module libauthPCH.cpp_dephelp.so

Linking C static library libjemalloc.a

[  9%] Built target authPCH.cpp_dephelp

[  9%] Built target jemalloc

Linking CXX static library libDetour.a

[  9%] Built target Detour

Linking CXX shared module libgamePCH.cpp_dephelp.so

Linking CXX static library libRecast.a

[  9%] Built target gamePCH.cpp_dephelp

[  9%] Built target Recast

Linking CXX static library libg3dlib.a

[  9%] Built target g3dlib

Linking CXX shared module libScriptPCH.cpp_dephelp.so

[  9%] Built target ScriptPCH.cpp_dephelp

Linking CXX static library libgsoap.a

[  9%] Built target gsoap

make: *** [all] Error 2

 

Link to comment
Share on other sites

  On 3/26/2013 at 5:01 AM, Jiinx said:
use cmake ../ instead, you are only going back one directory from build.

 

Also you should use -DPREFIX (at least) for your server, this tells where to build the servers.

 

example: cmake ../ -DPREFIX=/home/user/directory

again with out any result :S

Link to comment
Share on other sites

I'd also like to point out that the tutorial that stalkyrealm post also has the same issue as janckerchen is struggling with. As its an issue with the source on Mac OS X mountain lion and apparently lion as well. The line

typedef uint64_t uint64

In DetourNavMesh.h seems to be causing the issue, I'm sorry I have very basic knowledge and don't know how to fix this or why it is happening.

Link to comment
Share on other sites

TC doesn't condone editing external dependencies to make the code work, but, if you figure out how to fix it, and a change in the dep is required, the devs might consider including a patch for it, and, if it can be done in a way that doesn't break the other OS builds, maybe it could even be pushed upstream (if that project is even still alive)...

Link to comment
Share on other sites

  • 2 weeks later...

I have tried to download the files from the zip the git hub and using the git command.  I get the following error.  I have looked though all your things and I did not see any one else with the problem already answered.

 

Make Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):

Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)

cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)

CMakeLists.txt:53 (find_package)

 

 



Hope I did not miss something I am sorry if I did.

Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...