NTRViewer icon indicating copy to clipboard operation
NTRViewer copied to clipboard

compile error on windows

Open FirEmerald opened this issue 7 years ago • 1 comments

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.

FirEmerald avatar Jan 07 '18 21:01 FirEmerald

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.

FirEmerald avatar Jan 07 '18 21:01 FirEmerald