Jump to content
The Dark Mod Forums

7318

Member
  • Posts

    167
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by 7318

  1. I'm compiling with the default, i see I have gcc-7 and gcc-8, maybe the default is now gcc-8?
  2. after compiling when executing the program i get the following message and then a memory overflow: $ darkradiant Fatal Error: Mismatch between the program and library build versions detected. The library used 3.1.2 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 3.0), and your program used 3.1.2 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 3.0). Avortat (s'ha bolcat la memòria)it seems that ubuntu supplies the wx library compiled with the 2013 c++ ABI and darkradiant needs it compiled with 2011?
  3. great now it works! excellent mission! There is one thing that bothers me though: Why the two guards patrolling in the city streets go for you on sight? whilst the tavern is full of people that obviously have gone there through the city streets, is that because you're dressed like a thief? or because you have a recognizable face? if so the people in the tavern should react to you too isn't it? and in case of the face, it would be cool to communicate this to the player with wanted posters everywhere. is there a way to limit areas to the general public, like if you walk through the city streets you're fine, but once you walk trough the metal fence and you're seen by the guard patrol then they see you and attack you, like a social stealth thing. so streets are fine, but once you cross several places, then you're a criminal, or also you're fine while you're not holding a weapon out, or are not seen climbing or on top of some box, or barrel. (like if seen in any unreachable area for the AI, and you're in neutral territory, then you're climbing and so a criminal)
  4. I can't play it with TDM 2.05 I get the same picture referenced above! electrical sounds and no ability to move or do anything, if I quick save i get: "can't save until you start the map"
  5. where is my mind?

  6. ok next error seems to be related to wxwidgets 3.1.2 too: CXX ui/prefdialog/darkradiant-PrefDialog.o ui/prefdialog/PrefDialog.cpp: In constructor ‘ui::PrefDialog::PrefDialog(wxWindow*)’: ui/prefdialog/PrefDialog.cpp:38:26: error: invalid use of incomplete type ‘class wxTreeCtrl’ _notebook->GetTreeCtrl()->SetMinClientSize(wxSize(200, -1)); ^~ In file included from /usr/local/include/wx-3.1/wx/treebook.h:20:0, from ui/prefdialog/PrefDialog.cpp:11: /usr/local/include/wx-3.1/wx/treebase.h:57:35: note: forward declaration of ‘class wxTreeCtrl’ friend class WXDLLIMPEXP_FWD_CORE wxTreeCtrl; ^~~~~~~~~~ Makefile:3796: recipe for target 'ui/prefdialog/darkradiant-PrefDialog.o' failed make[2]: *** [ui/prefdialog/darkradiant-PrefDialog.o] Error 1 make[2]: Leaving directory '/home/biel/games/src/DarkRadiant/radiant' Makefile:750: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/biel/games/src/DarkRadiant' Makefile:491: recipe for target 'all' failed make: *** [all] Error 2
  7. I have both the stable wxwidgets version 3.0 downloaded with apt-get (the maximum version i can download from the official ubuntu repositories) and i have compiled myself the latest version 3.1.2 with GTK 3.0. So currently I have both versions in my system. and ./configure has always been finding the following: checking for wxWidgets version >= 3.0.0... yes (version 3.1.2) aaaaannddd.... *** waits the compiler expectant ... *** OK great! the patch fixes it! at the moment it keeps compiling further than TreeView.lo ! CXX PathEntry.lo CXX TreeModel.lo CXX TreeView.lo CXX TreeModelFilter.lo CXX ModalProgressDialog.lo
  8. I'm in Ubuntu18.04 i have a WX3.1 gtk version compiled in my system for other programs. cloned from the git: https://github.com/codereader/DarkRadiant.git installed: zlib1g-devlibjpeg62-devlibwxgtk3.0-devlibxml2-devlibsigc++-2.0-devlibpng-devlibftgl-devlibglew-devlibalut-devlibvorbis-devpybind11-devand obviously automake libtool g++ gettext pkg-config Making all in wxutil make[3]: Entering directory '/home/biel/games/src/DarkRadiant/libs/wxutil' CXX ConsoleView.lo CXX FreezePointer.lo CXX GLWidget.lo CXX KeyValueTable.lo CXX PanedPosition.lo CXX VFSTreePopulator.lo CXX WindowPosition.lo CXX window/TransientWindow.lo CXX dialog/Dialog.lo CXX dialog/MessageBox.lo CXX preview/ModelPreview.lo CXX preview/ParticlePreview.lo CXX preview/RenderPreview.lo CXX preview/GuiRenderer.lo CXX preview/GuiView.lo CXX GLFont.lo CXX menu/PopupMenu.lo CXX PathEntry.lo CXX TreeModel.lo CXX TreeView.lo TreeView.cpp: In member function ‘void wxutil::TreeView::_onSearch(wxutil::TreeView::SearchEvent&)’: TreeView.cpp:359:63: error: no matching function for call to ‘wxDataViewEvent::wxDataViewEvent(const wxEventTypeTag<wxDataViewEvent>&, wxWindowID)’ wxDataViewEvent le(wxEVT_DATAVIEW_SELECTION_CHANGED, GetId()); ^ In file included from TreeView.h:3:0, from TreeView.cpp:1: /usr/local/include/wx-3.1/wx/dataview.h:832:5: note: candidate: wxDataViewEvent::wxDataViewEvent(const wxDataViewEvent&) wxDataViewEvent(const wxDataViewEvent& event) ^~~~~~~~~~~~~~~ /usr/local/include/wx-3.1/wx/dataview.h:832:5: note: candidate expects 1 argument, 2 provided /usr/local/include/wx-3.1/wx/dataview.h:824:5: note: candidate: wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, const wxDataViewItem&) wxDataViewEvent(wxEventType evtType, ^~~~~~~~~~~~~~~ /usr/local/include/wx-3.1/wx/dataview.h:824:5: note: candidate expects 3 arguments, 2 provided /usr/local/include/wx-3.1/wx/dataview.h:814:5: note: candidate: wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, wxDataViewColumn*, const wxDataViewItem&) wxDataViewEvent(wxEventType evtType, ^~~~~~~~~~~~~~~ /usr/local/include/wx-3.1/wx/dataview.h:814:5: note: candidate expects 4 arguments, 2 provided /usr/local/include/wx-3.1/wx/dataview.h:807:5: note: candidate: wxDataViewEvent::wxDataViewEvent() wxDataViewEvent() ^~~~~~~~~~~~~~~ /usr/local/include/wx-3.1/wx/dataview.h:807:5: note: candidate expects 0 arguments, 2 provided TreeView.cpp:362:25: warning: ‘void wxDataViewEvent::SetModel(wxDataViewModel*)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations] le.SetModel(GetModel()); ^ In file included from TreeView.h:3:0, from TreeView.cpp:1: /usr/local/include/wx-3.1/wx/dataview.h:901:10: note: declared here void SetModel( wxDataViewModel *model ) { m_model = model; } ^~~~~~~~ TreeView.cpp:363:29: warning: ‘void wxDataViewEvent::SetItem(const wxDataViewItem&)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations] le.SetItem(_curSearchMatch); ^ In file included from TreeView.h:3:0, from TreeView.cpp:1: /usr/local/include/wx-3.1/wx/dataview.h:905:10: note: declared here void SetItem( const wxDataViewItem &item ) { m_item = item; } ^~~~~~~ Makefile:649: recipe for target 'TreeView.lo' failed make[3]: *** [TreeView.lo] Error 1 make[3]: Leaving directory '/home/biel/games/src/DarkRadiant/libs/wxutil' Makefile:437: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/biel/games/src/DarkRadiant/libs'sudo apt-get install git Makefile:752: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/biel/games/src/DarkRadiant' Makefile:493: recipe for target 'all' failed make: *** [all] Error 2 it seems to be a wxwidgets problem? which version of wxwidgets should I have?
  9. in my other linux machine ubuntu 17.10 I get the same error
  10. yes, I cloned it today from https://github.com/codereader/DarkRadiant I also downloaded all the needed packs stated in the readme
  11. On Ubuntu 17.10 I can't compile the current build: when typing "./configure" i get the following error message: configure: error: conditional "SYSTEM_HAS_PYBIND11" was never defined.
  12. oops it's true, looking at it with more attention I see that the mantling is disabled if there is an immobilization! sorry I confused the code!
  13. recently I've been porting the mantling code to standard doom3 and I've found a small error in the code: idPhysics_Player::PerformMantle blocks the player movement and the weapon before checking if the mantle is possible, if mantle is possible the code calls: idPhysics_Player::StartMantle and idPhysics_Player::StartMantle already blocks the player and the weapon and by that time we already are sure we can mantle so I think idPhysics_Player::PerformMantle doesn't need to block anything because idPhysics_Player::StartMantle already does I hope it helps you...
  14. on Ubuntu 16:04 I can't get it to start past the selection of engine and engine directory
  15. despite all the commits of today I still get the same memory map and eventually a segfault in the end. I see however that I don't get the same memory map always, sometimes I don't get a memory map at all, just the segfault message. and sometimes the memory map is different does anyone have this error besides me? what sort of info can I supply in order to solve this? I'm on an old Intel graphics( Sandybridge ) and using mesa (current OpenGL core version is 3.3 which fits my hardware capabilities)
  16. compiled fine without an error I don't have libjpeg62-dev as stated by the README but libjpeg8-dev (I need it for other programs) yet it still compiled then I did "sudo make install" it all went fine then I did start it but after selecting doom3 as a engine and the correct directory where I have doom3 and imputing "base" as mod folder I get a segmentation fault after pressing "ok" I created my own custom game RBDoom3BFG for this version of the engine, but I haven't used it yet, here is the log from ./darkradiant/darkradiant.log: could this all be because the libjpeg*-dev being 8 instead of 62?
  17. ok I might have found what creates that error: I have to do: $ ./autogen.sh before I do: $ ./configurethis info is on the wiki linux compile guide but not on the readme, I'll do a quick PR to the README in order to amend the error... now it's compiling --edit-- done a PR in github
  18. the code is from the current git at https://github.com/codereader/DarkRadiant I get the following just $ make CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I m4 /bin/bash: aclocal-1.14: no s'ha trobat l'ordre Makefile:517: recipe for target 'aclocal.m4' failed make: *** [aclocal.m4] Error 127 configure doesn't seem to give me any error: any idea what's happening?
  19. now I get the following error when compiling on Linux: CXX Document.lo Document.cpp:4:25: fatal error: itextstream.h: No such file or directory #include "itextstream.h" ^ compilation terminated. Makefile:503: recipe for target 'Document.lo' failed make[3]: *** [Document.lo] Error 1 make[3]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/libs/xmlutil' Makefile:426: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/libs' Makefile:742: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant' Makefile:482: recipe for target 'all' failed make: *** [all] Error 2
×
×
  • Create New...