Open jancborchardt opened 9 years ago
Give the latest commit a try: 91bdbd3565d391da9a1b6db126c68b984c96e402 Seems to be an issue when using %d on a size_t on 64 bit build.
Great stuff, works now without any errors! (And yeah, I’m on a 64 bit system.)
For what it’s worth, there were also some notices during installation. No failures but maybe they help you to improve the code:
jan@Rechenknecht:~/HLMWadExplorer$ make
Scanning dependencies of target HLMWADExplorer
[ 14%] Building CXX object CMakeFiles/HLMWADExplorer.dir/App.cpp.o
[ 28%] Building CXX object CMakeFiles/HLMWADExplorer.dir/ExploreFrame.cpp.o
[ 42%] Building CXX object CMakeFiles/HLMWADExplorer.dir/HLMWADFrames.cpp.o
/home/jan/HLMWadExplorer/HLMWADFrames.cpp: In constructor ‘BaseExploreFrame::BaseExploreFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
/home/jan/HLMWadExplorer/HLMWADFrames.cpp:101:21: warning: variable ‘openTool’ set but not used [-Wunused-but-set-variable]
wxToolBarToolBase* openTool;
^
/home/jan/HLMWadExplorer/HLMWADFrames.cpp:104:21: warning: variable ‘saveTool’ set but not used [-Wunused-but-set-variable]
wxToolBarToolBase* saveTool;
^
/home/jan/HLMWadExplorer/HLMWADFrames.cpp:109:21: warning: variable ‘extractTool’ set but not used [-Wunused-but-set-variable]
wxToolBarToolBase* extractTool;
^
/home/jan/HLMWadExplorer/HLMWADFrames.cpp:114:21: warning: variable ‘applyTool’ set but not used [-Wunused-but-set-variable]
wxToolBarToolBase* applyTool;
^
[ 57%] Building CXX object CMakeFiles/HLMWADExplorer.dir/WADArchive.cpp.o
/home/jan/HLMWadExplorer/WADArchive.cpp: In member function ‘bool WADArchive::Extract(const WADArchiveEntry&, wxOutputStream&)’:
/home/jan/HLMWadExplorer/WADArchive.cpp:121:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (copiedSize + readSize > entry.GetSize())
^
[ 71%] Building CXX object CMakeFiles/HLMWADExplorer.dir/TexturePack.cpp.o
[ 85%] Building CXX object CMakeFiles/HLMWADExplorer.dir/TexturePackPanel.cpp.o
[100%] Building CXX object CMakeFiles/HLMWADExplorer.dir/StringTablePanel.cpp.o
Linking CXX executable HLMWADExplorer
[100%] Built target HLMWADExplorer
Cheers!
Installation went fine, but when I open a file (like hlm2_data_desktop.wad), I get this error: »An assertion failed!«. Everything works fine, but that error is strange.
Backtrace: