TcT2k / HLMWadExplorer

Small tool to edit resources in Hotline Miami 2
GNU General Public License v3.0
62 stars 15 forks source link

Is this in any way maintained? // Failed to build on Linux #18

Open vickythechills opened 1 year ago

vickythechills commented 1 year ago

title

Script started on 2023-02-24 11:29:52+02:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="145" LINES="37"]
]0;vick@troll:~/.local/src[?2004hvick ~/.local/src $ cd HLMWadExplorer/
[?2004l
]0;vick@troll:~/.local/src/HLMWadExplorer[?2004hvick ~/.local/src/HLMWadExplorer $ cmake .
[?2004l
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: -pthread;-lwx_gtk3u_core-3.2;-lwx_baseu-3.2 (found suitable version "3.2.2", minimum required is "3.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vick/.local/src/HLMWadExplorer
]0;vick@troll:~/.local/src/HLMWadExplorer[?2004hvick ~/.local/src/HLMWadExplorer $ make 
[?2004l
[ 10%] Building CXX object CMakeFiles/HLMWADExplorer.dir/App.cpp.o
[ 20%] Building CXX object CMakeFiles/HLMWADExplorer.dir/ExploreFrame.cpp.o
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp: In member function ‘void ExploreFrame::ExtractPak(const WADArchiveEntry*)’:
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp:544:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘wxUint32’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;]
  544 |                 for (int i = 0; i < fileCount; ++i)
      |                                 ~~^~~~~~~~~~~
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp:557:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘wxUint32’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;]
  557 |                 for (int i = 0; i < fileCount; ++i)
      |                                 ~~^~~~~~~~~~~
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp: In member function ‘virtual void ExploreFrame::OnExtractClicked(wxCommandEvent&)’:
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp:606:58: warning: ‘wxPATH_NORM_ALL’ is deprecated: specify the wanted flags explicitly to avoid surprises []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  606 |                                 targetFileName.Normalize(wxPATH_NORM_ALL, dirDlg.GetPath());
      |                                                          ^~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.2/wx/filesys.h:18,
                 from /usr/include/wx-3.2/wx/xrc/xmlres.h:23,
                 from /home/vick/.local/src/HLMWadExplorer/HLMWADFrames.h:12,
                 from /home/vick/.local/src/HLMWadExplorer/ExploreFrame.h:16,
                 from /home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp:9:
/usr/include/wx-3.2/wx/filename.h:83:5: note: declared here
   83 |     wxPATH_NORM_ALL
      |     ^~~~~~~~~~~~~~~
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp: In member function ‘virtual void ExploreFrame::OnReplaceClicked(wxCommandEvent&)’:
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp:692:69: error: no matching function for call to ‘wxDataViewEvent::wxDataViewEvent(const wxEventTypeTag<wxDataViewEvent>&)’
  692 |                 wxDataViewEvent evt(wxEVT_DATAVIEW_SELECTION_CHANGED);
      |                                                                     ^
In file included from /home/vick/.local/src/HLMWadExplorer/HLMWADFrames.h:27:
/usr/include/wx-3.2/wx/dataview.h:882:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent(const wxDataViewEvent&)’
  882 |     wxDataViewEvent(const wxDataViewEvent& event)
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:882:44: note:   no known conversion for argument 1 from ‘const wxEventTypeTag<wxDataViewEvent>’ to ‘const wxDataViewEvent&’
  882 |     wxDataViewEvent(const wxDataViewEvent& event)
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/wx-3.2/wx/dataview.h:874:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, const wxDataViewItem&)’
  874 |     wxDataViewEvent(wxEventType evtType,
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:874:5: note:   candidate expects 3 arguments, 1 provided
/usr/include/wx-3.2/wx/dataview.h:864:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, wxDataViewColumn*, const wxDataViewItem&)’
  864 |     wxDataViewEvent(wxEventType evtType,
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:864:5: note:   candidate expects 4 arguments, 1 provided
/usr/include/wx-3.2/wx/dataview.h:857:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent()’
  857 |     wxDataViewEvent()
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:857:5: note:   candidate expects 0 arguments, 1 provided
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp: In member function ‘virtual void ExploreFrame::OnDeleteClicked(wxCommandEvent&)’:
/home/vick/.local/src/HLMWadExplorer/ExploreFrame.cpp:733:69: error: no matching function for call to ‘wxDataViewEvent::wxDataViewEvent(const wxEventTypeTag<wxDataViewEvent>&)’
  733 |                 wxDataViewEvent evt(wxEVT_DATAVIEW_SELECTION_CHANGED);
      |                                                                     ^
/usr/include/wx-3.2/wx/dataview.h:882:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent(const wxDataViewEvent&)’
  882 |     wxDataViewEvent(const wxDataViewEvent& event)
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:882:44: note:   no known conversion for argument 1 from ‘const wxEventTypeTag<wxDataViewEvent>’ to ‘const wxDataViewEvent&’
  882 |     wxDataViewEvent(const wxDataViewEvent& event)
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/wx-3.2/wx/dataview.h:874:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, const wxDataViewItem&)’
  874 |     wxDataViewEvent(wxEventType evtType,
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:874:5: note:   candidate expects 3 arguments, 1 provided
/usr/include/wx-3.2/wx/dataview.h:864:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, wxDataViewColumn*, const wxDataViewItem&)’
  864 |     wxDataViewEvent(wxEventType evtType,
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:864:5: note:   candidate expects 4 arguments, 1 provided
/usr/include/wx-3.2/wx/dataview.h:857:5: note: candidate: ‘wxDataViewEvent::wxDataViewEvent()’
  857 |     wxDataViewEvent()
      |     ^~~~~~~~~~~~~~~
/usr/include/wx-3.2/wx/dataview.h:857:5: note:   candidate expects 0 arguments, 1 provided
make[2]: *** [CMakeFiles/HLMWADExplorer.dir/build.make:90: CMakeFiles/HLMWADExplorer.dir/ExploreFrame.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/HLMWADExplorer.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
]0;vick@troll:~/.local/src/HLMWadExplorer[?2004hvick ~/.local/src/HLMWadExplorer $ [?2004l

exit

Script done on 2023-02-24 11:30:20+02:00 [COMMAND_EXIT_CODE="2"]

I understand wxWidgets has changed a lot since this original software was created, but I fail to deny there is a workaround for this. Do I need to have an additional old version of wxWidgets installed? And if yes, is it gonna break anything that is looking for (the present-day) wxWidgets?