[Compile] Error with Transmogrification Script.


I get this error when i compile:

7> Transmogrifier.cpp
7>…trinitysrcserverscriptsCustomTransmogrification.cpp(604): error C2352: ‘ConfigMgr::GetBoolDefault’ : illegal call of non-static member function
7> C:/trinity/src/server/shared/ConfigurationConfig.h(54) : see declaration of ‘ConfigMgr::GetBoolDefault’
7>…trinitysrcserverscriptsCustomTransmogrification.cpp(605): error C2352: ‘ConfigMgr::GetIntDefault’ : illegal call of non-static member function
7> C:/trinity/src/server/shared/ConfigurationConfig.h(55) : see declaration of ‘ConfigMgr::GetIntDefault’
7>…trinitysrcserverscriptsCustomTransmogrification.cpp(605): fatal error C1903: unable to recover from previous error(s); stopping compilation
Does anyone know the problem? /emoticons/default_smile.png


— Canned message start —

This thread is not related to the official Trinity codebase and was moved to the Custom Code section.

Please read the stickies next time.

— Canned message end —

In future, check the custom code section for the specific patch you are dealing with. It’s better to ask for support within the designated patch topic than to make an entirely new topic. That said, you should always check the topic first because, like in this case, the answer for this particular problem already exists.

Change “ConfigMgr::GetBoolDefault” to “sConfigMgr->GetBoolDefault” and “ConfigMgr::GetIntDefault” to “sConfigMgr->GetIntDefault”