Closed Bit-Sage closed 10 months ago
Thanks for this. As it stands, it doesn't really compile on the Pi though.
/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev/es-app/src/scrapers/ScreenScraper.cpp:188:62: error: 'getContent' was not declared in this scope; did you mean 'content'?
188 | pugi::xml_parse_result parseResult = doc.load_buffer(getContent(), content.size());
| ^~~~~~~~~~
| content
make[2]: *** [es-app/CMakeFiles/emulationstation.dir/build.make:538: es-app/CMakeFiles/emulationstation.dir/src/scrapers/ScreenScraper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1008: es-app/CMakeFiles/emulationstation.dir/all] Error 2
Could you look into it?
This was solved in #843
Updated ScreenScraper.cpp to replace deprecated pugi::xml_document::load method with load_buffer for XML parsing, aligning with current pugixml API standards.