Jump to content

Compilation error


Atrik
 Share

Recommended Posts

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 by Atrik
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...