{"action":"created","issue":{"url":"https://api.github.com/repos/cmangos/issues/issues/786","labels_url":"https://api.github.com/repos/cmangos/issues/issues/786/labels{/name}","comments_url":"https://api.github.com/repos/cmangos/issues/issues/786/comments","events_url":"https://api.github.com/repos/cmangos/issues/issues/786/events","html_url":"https://github.com/cmangos/issues/issues/786","id":114516410,"number":786,"title":"[CATA] build error since SD2 integration","user":{"login":"alysher","id":5109926,"avatar_url":"https://avatars.githubusercontent.com/u/5109926?v=3","gravatar_id":"","url":"https://api.github.com/users/alysher","html_url":"https://github.com/alysher","followers_url":"https://api.github.com/users/alysher/followers","following_url":"https://api.github.com/users/alysher/following{/other_user}","gists_url":"https://api.github.com/users/alysher/gists{/gist_id}","starred_url":"https://api.github.com/users/alysher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alysher/subscriptions","organizations_url":"https://api.github.com/users/alysher/orgs","repos_url":"https://api.github.com/users/alysher/repos","events_url":"https://api.github.com/users/alysher/events{/privacy}","received_events_url":"https://api.github.com/users/alysher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-02T03:14:35Z","updated_at":"2015-11-04T20:31:16Z","closed_at":null,"body":"getting a build error since SD2 Integration here are the errors from both make and make -j3\r\n\r\n**doing a regular make:**\r\nalysher@tcs-wow-server:~/mangos/sources+build/mangos-4.3.4/build$ make\r\n[  0%] Built target genrev\r\n[  0%] Built target revision.h\r\n[  1%] Built target TBB_Project\r\n[  1%] Built target ACE_Project\r\n[  2%] Built target detour\r\n[  6%] Built target g3dlite\r\n[  6%] Built target gsoap\r\n[ 26%] Built target storm\r\n[ 26%] Built target mangosscript_pch_dephelp\r\n[ 27%] Built target pch_Generate_mangosscript\r\n[ 27%] Building CXX object src/scriptdev2/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o\r\nIn file included from /home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/ScriptMgr.cpp:7:0:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/config.h:22:26: fatal error: SystemConfig.h: No such file or directory\r\n #include \"SystemConfig.h\"\r\n                          ^\r\ncompilation terminated.\r\nsrc/scriptdev2/CMakeFiles/mangosscript.dir/build.make:13256: recipe for target 'src/scriptdev2/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o' failed\r\nmake[2]: *** [src/scriptdev2/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o] Error 1\r\nCMakeFiles/Makefile2:586: recipe for target 'src/scriptdev2/CMakeFiles/mangosscript.dir/all' failed\r\nmake[1]: *** [src/scriptdev2/CMakeFiles/mangosscript.dir/all] Error 2\r\nMakefile:117: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\n**doing a make -j3:**\r\nalysher@tcs-wow-server:~/mangos/sources+build/mangos-4.3.4/build$ make -j3\r\n[  0%] Built target ACE_Project\r\n[  0%] [  1%] Built target genrev\r\nBuilt target TBB_Project\r\n[  2%] Built target detour\r\n[  2%] Built target gsoap\r\n[  6%] Built target g3dlite\r\n[  6%] Built target mangosscript_pch_dephelp\r\n[  6%] Built target framework\r\n[  6%] Built target game_pch_dephelp\r\n[  6%] Built target revision.h\r\n[ 26%] Built target storm\r\n[ 27%] [ 27%] Built target pch_Generate_mangosscript\r\nBuilt target pch_Generate_game\r\n[ 27%] Building CXX object src/shared/CMakeFiles/shared.dir/ByteBuffer.cpp.o\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:22:6: error: redefinition of ‘void ByteBufferException::PrintPosError() const’\r\n void ByteBufferException::PrintPosError() const\r\n      ^\r\nIn file included from /home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:19:0:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.h:55:14: note: ‘void ByteBufferException::PrintPosError() const’ previously defined here\r\n         void PrintPosError() const\r\n              ^\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp: In member function ‘uint8 BitStream::GetBit(uint32)’:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:43:9: error: return-statement with no value, in function returning ‘uint8 {aka unsigned char}’ [-fpermissive]\r\n         return;\r\n         ^\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:46:37: error: ‘size’ was not declared in this scope\r\n     ss <<  \"STORAGE_SIZE: \" << size() << \"\\n\";\r\n                                     ^\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:52:21: error: expected primary-expression before ‘(’ token\r\n         ss << uint32(read<uint8>(i)) << \" - \";\r\n                     ^\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:52:32: error: expected primary-expression before ‘>’ token\r\n         ss << uint32(read<uint8>(i)) << \" - \";\r\n                                ^\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp: At global scope:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:57:6: error: redefinition of ‘void ByteBuffer::textlike() const’\r\n void ByteBuffer::textlike() const\r\n      ^\r\nIn file included from /home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:19:0:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.h:778:14: note: ‘void ByteBuffer::textlike() const’ previously defined here\r\n         void textlike() const\r\n              ^\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:74:6: error: redefinition of ‘void ByteBuffer::hexlike() const’\r\n void ByteBuffer::hexlike() const\r\n      ^\r\nIn file included from /home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.cpp:19:0:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/shared/ByteBuffer.h:786:14: note: ‘void ByteBuffer::hexlike() const’ previously defined here\r\n         void hexlike() const\r\n              ^\r\nsrc/shared/CMakeFiles/shared.dir/build.make:491: recipe for target 'src/shared/CMakeFiles/shared.dir/ByteBuffer.cpp.o' failed\r\nmake[2]: *** [src/shared/CMakeFiles/shared.dir/ByteBuffer.cpp.o] Error 1\r\nCMakeFiles/Makefile2:754: recipe for target 'src/shared/CMakeFiles/shared.dir/all' failed\r\nmake[1]: *** [src/shared/CMakeFiles/shared.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\n[ 27%] [ 27%] [ 27%] Building CXX object src/scriptdev2/CMakeFiles/mangosscript.dir/system/system.cpp.o\r\nBuilding CXX object src/scriptdev2/CMakeFiles/mangosscript.dir/system/MangosdRev.cpp.o\r\nBuilding CXX object src/scriptdev2/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o\r\nIn file included from /home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/system/system.cpp:7:0:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/system/../config.h:22:26: fatal error: SystemConfig.h: No such file or directory\r\n #include \"SystemConfig.h\"\r\n                          ^\r\ncompilation terminated.\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/system/MangosdRev.cpp:5:41: fatal error: ../../../shared/revision_nr.h: No such file or directory\r\n #include \"../../../shared/revision_nr.h\"\r\n                                         ^\r\ncompilation terminated.\r\nIn file included from /home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/ScriptMgr.cpp:7:0:\r\n/home/alysher/mangos/sources+build/mangos-4.3.4/mangos/src/scriptdev2/config.h:22:26: fatal error: SystemConfig.h: No such file or directory\r\n #include \"SystemConfig.h\"\r\n                          ^\r\ncompilation terminated.\r\nsrc/scriptdev2/CMakeFiles/mangosscript.dir/build.make:13325: recipe for target 'src/scriptdev2/CMakeFiles/mangosscript.dir/system/system.cpp.o' failed\r\nmake[2]: *** [src/scriptdev2/CMakeFiles/mangosscript.dir/system/system.cpp.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\nsrc/scriptdev2/CMakeFiles/mangosscript.dir/build.make:13279: recipe for target 'src/scriptdev2/CMakeFiles/mangosscript.dir/system/MangosdRev.cpp.o' failed\r\nmake[2]: *** [src/scriptdev2/CMakeFiles/mangosscript.dir/system/MangosdRev.cpp.o] Error 1\r\nsrc/scriptdev2/CMakeFiles/mangosscript.dir/build.make:13256: recipe for target 'src/scriptdev2/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o' failed\r\nmake[2]: *** [src/scriptdev2/CMakeFiles/mangosscript.dir/ScriptMgr.cpp.o] Error 1\r\nCMakeFiles/Makefile2:586: recipe for target 'src/scriptdev2/CMakeFiles/mangosscript.dir/all' failed\r\nmake[1]: *** [src/scriptdev2/CMakeFiles/mangosscript.dir/all] Error 2\r\nMakefile:117: recipe for target 'all' failed\r\nmake: *** [all] Error 2"},"comment":{"url":"https://api.github.com/repos/cmangos/issues/issues/comments/153853741","html_url":"https://github.com/cmangos/issues/issues/786#issuecomment-153853741","issue_url":"https://api.github.com/repos/cmangos/issues/issues/786","id":153853741,"user":{"login":"alysher","id":5109926,"avatar_url":"https://avatars.githubusercontent.com/u/5109926?v=3","gravatar_id":"","url":"https://api.github.com/users/alysher","html_url":"https://github.com/alysher","followers_url":"https://api.github.com/users/alysher/followers","following_url":"https://api.github.com/users/alysher/following{/other_user}","gists_url":"https://api.github.com/users/alysher/gists{/gist_id}","starred_url":"https://api.github.com/users/alysher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alysher/subscriptions","organizations_url":"https://api.github.com/users/alysher/orgs","repos_url":"https://api.github.com/users/alysher/repos","events_url":"https://api.github.com/users/alysher/events{/privacy}","received_events_url":"https://api.github.com/users/alysher/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T20:31:16Z","updated_at":"2015-11-04T20:31:16Z","body":"what happens if you reverse this? ie use the cpp version instead of the .h version?\r\n"}}