View Full Version : Error when compiling

12-16-2013, 01:54 AM
Hi Guys

Just created a fresh 3.3.5a trinity core, compiled with no errors. I followed the below video to add Eluna and im getting one error

Error 1 error C1083: Cannot open include file: 'HookMgr.h': No such file or directory C:\Trinity\src\server\game\Handlers\CharacterHandl er.cpp 49

Then i double click the error and it comes up with another error just below

2 IntelliSense: cannot open source file "HookMgr.h" c:\trinity\src\server\game\handlers\characterhandl er.cpp 49

What i done was copy and paste the files into my Trinity folder, open up TrinityCore.sln and build solution, Anyone know a fix for this or am i doing something wrong?

12-16-2013, 02:01 AM
Did you run CMake after merging the files? There's nothing wrong with the CMakeLists.txt, are you sure you merged those too?

12-16-2013, 02:01 AM
Copy and paste everything from Eluna\TrinityCore\WotLK to your Trinity repo clone, then open cmake and click configure then generate and after it open TrinityCore.sln and compile :)

12-16-2013, 02:30 AM
thanks guys! totally forgot to do the cmake part :D It has complied fine with no errors