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

Same problem, anybody solved it?

[ENV]

Mac OSX 10.7.4

i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)

[Command]

clone today(2012/07/10)

commit a24b6576e2b3fbda0a1356197984aadba1bdde55

cmake ../TrinityCore_edge

-G"Eclipse CDT4 - Unix Makefiles"

-DCMAKE_BUILD_TYPE=Debug

-DMYSQL_INCLUDE_DIR=/usr/local/include

-DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib

-DREADLINE_INCLUDE_DIR=/usr/local/include/readline

-DREADLINE_LIBRARY=/usr/local/lib/libreadline.dylib

-DACE_INCLUDE_DIR=/usr/local/include

-DACE_LIBRARY=/usr/local/lib/libACE.dylib

-DPREFIX=/opt/apps/trinitycore

-DWARNINGS=0

make

[output]


/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:53:18: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long long') vs 'ACE_UINT64'

	 (aka 'unsigned long'))

typedef uint64_t uint64;

				 ^

/Users/jason/dev_opensource/TrinityCore_edge/src/server/shared/Define.h:77:20: note: previous definition is here

typedef ACE_UINT64 uint64;

				 ^

2 warnings and 1 error generated.

make[2]: *** [src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o] Error 1

make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2

make: *** [all] Error 2

Edited by janckerchen
Link to comment
Share on other sites

Hey guys.i have a linux dedicated running ubuntu and i cant seem to get trinity up yet.i followed the instructions till after cmake when using make.I will post all of the info from terminal to here.I just saw there was errors but i dont know what they mean.Heres the info.thanks

:/build# cmake ../TrinityCore/ -DPREFIX=/home/trinity/server -DWITH_WARNINGS=1

-- Detected 64-bit platform

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: SSE2 flags forced

-- GCC: All warnings enabled

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

-- Found MySQL library: /usr/lib/libmysqlclient_r.so

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

-- Found Readline library: /usr/lib/libreadline.so

-- Include dir is: /usr/include

* TrinityCore rev. hash : 5485f92c5fa0

* TrinityCore rev. date : 2012-07-14 14:31:11 +0200

* TrinityCore buildtype : Release

* Install core to : /home/trinity/server

* Install libraries to : /home/trinity/server/lib

* Install configs to : /home/trinity/server/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 all warnings : Yes

* Use coreside debug : No (default)

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

-- SCRIPT PREPARATION COMPLETE

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake files:

ACE_INCLUDE_DIR (ADVANCED)

used as include directory in directory /TrinityCore/src/server/shared

used as include directory in directory /TrinityCore/src/server/game

used as include directory in directory /TrinityCore/src/server/collision

used as include directory in directory /TrinityCore/src/server/authserver

used as include directory in directory /TrinityCore/src/server/scripts

used as include directory in directory /TrinityCore/src/server/worldserver

ACE_LIBRARY (ADVANCED)

linked by target "shared" in directory /TrinityCore/src/server/shared

linked by target "worldserver" in directory /TrinityCore/src/server/worldserver

-- Configuring incomplete, errors occurred!

error i recieve make: *** No targets specified and no makefile found. Stop.

root@cl-t178-303cl:/build# make install

make: *** No rule to make target `install'. Stop.

Link to comment
Share on other sites

Mac OS was kinda "deprecated". I don't know about any dev that uses it.

This should probably be indicated on the wiki. Perhaps in red next to the "Mac OSX" link under the "how to" section on the homepage. At least that way people can decide wether they want to try it or not.

Link to comment
Share on other sites

This should probably be indicated on the wiki. Perhaps in red next to the "Mac OSX" link under the "how to" section on the homepage. At least that way people can decide wether they want to try it or not.

It wasn't a decision. It's dying slowly for lack of maintenance.

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