mod-playerbots icon indicating copy to clipboard operation
mod-playerbots copied to clipboard

ubuntu-22.04.4 compile mod-eluna and mod-playerbots error

Open nolemlin opened this issue 1 year ago • 1 comments

hi, i get source form your google video https://www.youtube.com/watch?v=qXtc3O4eKuc 1. git clone https://github.com/najoast/acore-playerbots.git 2.cd modules 3. git clone https://github.com/najoast/mod-eluna.git 4. git clone https://github.com/najoast/mod-playerbots.git 5. cd ../build 6. cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static 7.make -j 4

---as compile result [ 75%] Built target game make: *** [Makefile:136: all] Error 2

--error in compile list

[ 47%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp.o 4 warnings generated. [ 47%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp.o /wow/robot/acore-playerbots/modules/mod-playerbots/src/ChatFilter.cpp:166:47: fatal error: no member named 'GetTargetIcon' in 'Group' ObjectGuid rtiTarget = group->GetTargetIcon(RtiTargetValue::GetRtiIndex(rti.substr(1))); ~~~~~ ^ 1 error generated. make[2]: *** [modules/CMakeFiles/modules.dir/build.make:846: modules/CMakeFiles/modules.dir/mod-playerbots/src/ChatFilter.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1362: modules/CMakeFiles/modules.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

nolemlin avatar Feb 23 '24 17:02 nolemlin

It looks like you are using some random dudes forks of this project that are way behind, You should use the repos provided here and compile again. That includes getting mod-eluna from the original repo.

codynottltd avatar Mar 04 '24 00:03 codynottltd