Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp: In function ‘bool Common::LoadPNG(const std::vector<unsigned char>&, std::vector<unsigned char>*, u32*, u32*)’:
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:21:3: error: ‘png_image’ was not declared in this scope
- png_image png = {};
- ^~~~~~~~~
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:22:3: error: ‘png’ was not declared in this scope
- png.version = PNG_IMAGE_VERSION;
- ^~~
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:22:17: error: ‘PNG_IMAGE_VERSION’ was not declared in this scope
- png.version = PNG_IMAGE_VERSION;
- ^~~~~~~~~~~~~~~~~
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:23:73: error: ‘png_image_begin_read_from_memory’ was not declared in this scope
- if (!png_image_begin_read_from_memory(&png, input.data(), input.size()))
- ^
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:27:16: error: ‘PNG_FORMAT_RGBA’ was not declared in this scope
- png.format = PNG_FORMAT_RGBA;
- ^~~~~~~~~~~~~~~
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:28:39: error: ‘PNG_IMAGE_SIZE’ was not declared in this scope
- size_t png_size = PNG_IMAGE_SIZE(png);
- ^
- /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:32:73: error: ‘png_image_finish_read’ was not declared in this scope
- if (!png_image_finish_read(&png, nullptr, data_out->data(), 0, nullptr))
- ^
- Source/Core/Common/CMakeFiles/common.dir/build.make:542: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o' failed
- make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o] Error 1
- CMakeFiles/Makefile2:1066: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/all' failed
- make[1]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Error 2
- Makefile:149: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement