Jump to content
The Dark Mod Forums

7318

Member
  • Content Count

    120
  • Joined

  • Last visited

  • Days Won

    1

7318 last won the day on January 24 2012

7318 had the most liked content!

Community Reputation

10 Neutral

About 7318

  • Rank
    Member
  1. here this error is explained with great detail: https://wiki.gentoo.org/wiki/Upgrading_GCC
  2. sudo update-alternatives --config gcc tells me there is no alternative to choose from after the update to Ubuntu 19.4 all I got is gcc-7 and gcc-8 installed, and only g++-8 installed. Both gcc --version and g++ --version report as (Ubuntu 8.3.0-6ubuntu1) 8.3.0 maybe I should install g++-7?
  3. this is in the configure.ac file? I've tried the line directly on the Darkradiant base folder and got this: $ CXX="g++-7" ./configure --enable-darkmod-plugins && make -j3 && make install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for msgfmt... yes checking for msgmerge... yes checking for xgettext... yes checking whether we are using the GNU C++ compiler... no checking whether g++-7 accepts -g... no checking dependency style of g++-7... none checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm - interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... failed checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for dlfcn.h... no checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /lib/cpp checking whether the g++-7 linker (/usr/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for g++-7 option to produce PIC... -DPIC checking if g++-7 PIC flag -DPIC works... no checking if g++-7 static flag works... no checking if g++-7 supports -c -o file.o... no checking if g++-7 supports -c -o file.o... (cached) no checking whether the g++-7 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... unsupported checking whether g++-7 supports C++11 features by default... no checking whether g++-7 supports C++11 features with -std=c++11... no checking whether g++-7 supports C++11 features with +std=c++11... no checking whether g++-7 supports C++11 features with -h std=c++11... no checking whether g++-7 supports C++11 features with -std=c++0x... no checking whether g++-7 supports C++11 features with +std=c++0x... no checking whether g++-7 supports C++11 features with -h std=c++0x... no configure: error: *** A compiler with support for C++11 language features is required.g++-7 should support c++11 features, isn't it?
  4. I'm compiling with the default, i see I have gcc-7 and gcc-8, maybe the default is now gcc-8?
  5. 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?
  6. 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)
  7. 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"
  8. 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
  9. 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
  10. 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?
  11. in my other linux machine ubuntu 17.10 I get the same error
×
×
  • Create New...