[DEV] Trying to build NTRViewer, Getting an error

Discussion in '3DS - Homebrew Development and Emulators' started by ShinyMK, Dec 20, 2016.

  1. ShinyMK

    ShinyMK known as @initPRAGMA

    Dec 29, 2015
    So I never work with C++, Im getting this error when trying to build NTRViewer:
    Error 4 error C2065: 'PIX_FMT_RGB24' : undeclared identifier ntrviewer.cpp 537 1 NTRViewer

    On this line:
    scr->swsContext = sws_getContext(scr->rawWidth, scr->rawHeight, XXX_PIX_FMT_RGB24, scr->srcRect.w, scr->srcRect.h, XXX_PIX_FMT_RGB24,
    swsFlag, NULL, NULL, NULL);

    All I can tell is that its something to do with FFMPEG