Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Issue on MacOS #408

Open
ujeane opened this issue Jul 10, 2024 · 0 comments
Open

Compile Issue on MacOS #408

ujeane opened this issue Jul 10, 2024 · 0 comments

Comments

@ujeane
Copy link

ujeane commented Jul 10, 2024

Hello guys,

I have some issue to compile this mod.

Error message:

eugenes-mini:build ujeane$ make -j `nproc`
[  1%] Built target argon2
[  1%] Built target sfmt
[  1%] Built target Detour
[  1%] Built target fmt
[  2%] Built target Recast
[  3%] Built target mpq
[  3%] Built target gsoap
[  3%] Built target revision.h
[  7%] Built target g3dlib
[ 12%] Built target common
[ 12%] Built target vmap4_assembler
[ 13%] Built target map_extractor
[ 13%] Built target mmaps_generator
[ 14%] Built target vmap4_extractor
[ 16%] Built target database
[ 16%] Built target dbimport
[ 17%] Built target shared
[ 17%] Built target authserver
[ 17%] Building CXX object modules/CMakeFiles/modules.dir/gen_scriptloader/static/ModulesLoader.cpp.o
[ 17%] Building CXX object modules/CMakeFiles/modules.dir/mod-progression-system/src/ProgressionSystem.cpp.o
[ 17%] Building CXX object modules/CMakeFiles/modules.dir/mod-progression-system/src/ProgressionSystem_loader.cpp.o
[ 17%] Building CXX object modules/CMakeFiles/modules.dir/mod-progression-system/src/Bracket_0/Bracket_0_loader.cpp.o
/Users/ujeane/azerothcore/modules/mod-progression-system/src/ProgressionSystem_loader.cpp:49:22: error: no matching member function for call to 'GetOption'
    if (!sConfigMgr->GetOption<bool>("ProgressionSystem.LoadScripts", true))
         ~~~~~~~~~~~~^~~~~~~~~~~~~~~
/Users/ujeane/azerothcore/src/common/Configuration/Config.h:51:7: note: candidate function template not viable: no known conversion from 'const char[30]' to 'const std::string' (aka 'const basic_string<char, char_traits<char>, allocator<char>>') for 1st argument
    T GetOption(std::string const& name, T const& def, bool showLogs = true) const;
      ^
1 error generated.
make[2]: *** [modules/CMakeFiles/modules.dir/mod-progression-system/src/ProgressionSystem_loader.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 43%] Built target game
make[1]: *** [modules/CMakeFiles/modules.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 94%] Built target scripts
make: *** [all] Error 2
eugenes-mini:build ujeane$

I already set the brackets in the conf file "/Users/ujeane/azerothcore/modules/mod-progression-system/conf/progression_system.conf.dist"

Compiling without the mod is working.

I would appreciate your help, big thanks!

Cheers!
Eugene

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant