hello,
I used sources: https://github.com/trinityclassic/trinityone and i have a few question.
this is official sources TC? , when i try compile source make returns error :
/trinityone-master/src/server/game/Entities/GameObject/GameObject.cpp: In member function ‘void GameObject::Use(Unit*)’:
/trinityone-master/src/server/game/Entities/GameObject/GameObject.cpp:1720:30: error: ‘SMSG_ENABLE_BARBER_SHOP’ was not declared in this scope
/trinityone-master/src/server/game/Entities/GameObject/GameObject.cpp: In member function ‘void GameObject::ModifyHealth(int32, Unit*, uint32)’:
/trinityone-master/src/server/game/Entities/GameObject/GameObject.cpp:1914:26: error: ‘SMSG_DESTRUCTIBLE_BUILDING_DAMAGE’ was not declared in this scope
I understand that I have add “opcodes” or comments codes which using " SMSG_DESTRUCTIBLE_BUILDING_DAMAGE" ? or exist other fix?
Build Info:
– Detected 64-bit platform
– UNIX: Using jemalloc
– UNIX: Using default library directory
– UNIX: Configuring uninstall target
– UNIX: Created uninstall target
– UNIX: Detected compiler: /usr/bin/gcc
– GCC: Enabled c++11 support
– GCC: Enabled C99 support
– GCC: SFMT enabled, SSE2 flags forced
– GCC: All warnings enabled
– Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
– Found OpenSSL headers: /usr/include
– Boost version: 1.60.0
– Found the following Boost libraries:
– system
– thread
– program_options
– Using mysql-config: /usr/bin/mysql_config
– Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.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
–
Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
Continuing anyway - note that the versionstring will be set to “unknown 1970-01-01 00:00:00 (Archived)”
-
TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch)
- TrinityCore buildtype : Release
-
Install core to : /home/tbcCOREs/server
- Install libraries to : /home/tbcCOREs/server/lib
- Install configs to : /home/tbcCOREs/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)
- Use GIT revision hash : Yes
– SCRIPT PREPARATIONS
→ Prepared: Spells
→ Prepared: Commands
→ Prepared: Custom
→ Prepared: World
→ Prepared: Outdoor PVP Zones
→ Prepared: Eastern Kingdoms
→ Prepared: Kalimdor
→ Prepared: Outland
→ Prepared: Northrend
→ Prepared: Events
→ Prepared: Pet
– SCRIPT PREPARATION COMPLETE
– Configuring done
– Generating done