NTRViewer
NTRViewer copied to clipboard
compile error on windows
ntrviewer.cpp(541): error C2065: 'PIX_FMT_RGB24' : undeclared identifier
I don't know enough about C to give any more help than pointing out that error.
Changing line 48 to #define XXX_PIX_FMT_RGB24 (AV_PIX_FMT_RGB24) seems to work. Also, you need to the 'shared' release of FFmpeg in addition to the dev release, and copy the DLL files from 'bin' to the same folder as the executable, along with 'turbojpeg.dll' from the 'jpeg' folder of the source and 'SDL.dll' from 'SDL\lib\x86'. Might want to add that to the windows build instructions.