Atrik Posted 11 hours ago Report Share Posted 11 hours ago (edited) I'm not able to compile a28 or main, the compilation fail with this error: ../../../source/scriptinterface/ModuleLoader.h:86:15: required from here /usr/include/c++/11/bits/stl_pair.h:218:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type 218 | _T2 second; ///< The second member | ^~~~~~ In file included from ../../../source/dapinterface/DapInterface.cpp:30: ../../../source/scriptinterface/ModuleLoader.h:50:15: note: forward declaration of ‘class Script::ModuleLoader::CompiledModule’ 50 | class CompiledModule; | ^~~~~~~~~~~~~~ make[1]: *** [atlas.make:233: obj/atlas_Release/MiscHandlers.o] Error 1 make[1]: *** Waiting for unfinished jobs.... JSInterface_GameView.cpp JSInterface_Renderer.cpp make[1]: *** [engine.make:390: obj/engine_Release/CConsole.o] Error 1 make: *** [Makefile:122: engine] Error 2 AtlasObjectJS.cpp make[1]: *** [graphics.make:417: obj/graphics_Release/FontManager.o] Error 1 make[1]: *** Waiting for unfinished jobs.... CCmpMotionBall.cpp make[1]: *** [simulation2.make:371: obj/simulation2_Release/CCmpAIManager.o] Error 1 make[1]: *** Waiting for unfinished jobs.... AtlasObjectText.cpp CommonConvert.cpp make[1]: *** [dapinterface.make:142: obj/dapinterface_Release/DapInterface.o] Error 1 make: *** [Makefile:92: dapinterface] Error 2 Some time ago I already had this error when compiling main, and though it was because of some WIP, but now I'm guessing the problem is on my end since it's still here. What am I doing wrong? Debian build Thanks Edited 11 hours ago by Atrik 1 Quote Link to comment Share on other sites More sharing options...
phosit Posted 4 hours ago Report Share Posted 4 hours ago I don't think that the problem is on your side. But it's weird that nobody encountered this error. Which compiler do you use? Quote Link to comment Share on other sites More sharing options...
phosit Posted 3 hours ago Report Share Posted 3 hours ago Could you test this: https://gitea.wildfiregames.com/0ad/0ad/pulls/8528 Quote Link to comment Share on other sites More sharing options...
Vantha Posted 33 minutes ago Report Share Posted 33 minutes ago I got an error like this a while ago too and the cause was that the compiler version was too old. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.