Modcraft - The community dedicated to quality WoW modding!
Featured => Noggit => Topic started by: funnybunny on November 02, 2014, 07:25:13 pm
-
I haven't been able to build the Qt version of Noggit because of API changes in StormLib, meaning I get errors like this:
.../noggit3/src/noggit/mpq/archive.cpp:125:9: error:
no matching function for call to 'SFileReadFile'
SFileReadFile (file_handle, *buffer, *size);
^~~~~~~~~~~~~
/usr/local/include/StormLib.h:899:15: note: candidate function not viable:
requires 5 arguments, but 3 were provided
bool WINAPI SFileReadFile(HANDLE hFile, void * lpBuffer, DWORD dwToRea...
^
do any developers know where I could get the right version of stormlib? none of the old versions i have are the right function signatures :(
-
Nope, sorry, likely the one current when that thing was developed.
-
its okay, i was able to patch archive.cpp to use the updated with the "out" parameters NULL (https://gist.github.com/jrsa/5db0f7d6f5c02f25255b)
-
When I was able to compile it without issues, the version I believe was at 8.2x.