Jump to content
The Dark Mod Forums

Compilation error - reference to 'basic_string' is ambiguous.


Recommended Posts

  • 2 months later...

I'm bumping this as I'm still having this problem.

I've managed to get dhewm3 to working with my ps3 controller and I'd love to have a crack at implementing it with darkmod.

Please help if you can

In file included from game/Missions/MissionManager.h:28:0,
                 from game/Missions/MissionDB.cpp:27:
game/Missions/../pugixml/pugixml.hpp:97:10: error: reference to ‘basic_string’ is ambiguous
  typedef std::basic_string<PUGIXML_CHAR, std::char_traits<PUGIXML_CHAR>, std::allocator<PUGIXML_CHAR> > string_t;

I'm on build 6675 from the svn repo.


log: https://ptpb.pw/OEAU

Edited by Crinkelite
Link to comment
Share on other sites

Hello freyk

Thanks for the reply, I'm not having an problem connecting the controller.

The problem is that there doesn't appear to be any code in darkmod to handle joystick input.

The same is true of dhewm3 but I managed to cludge some code in to handle it.

I can now play doom3 with my dualshock3 (although without being able to navigate the gui.)

I'd like to compile darkmod with this extra functionality but I've never been able to compile the bloody thing.


I'm tempted to open a bug report on the svn but I'm pretty sure I'm the only one having this issue and I don't want to hinder the good work with something that is quite possibly a problem with my system alone.


I'd also to offer my modest skills to help with the coding effort.

Edited by Crinkelite
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.

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.


  • Create New...