Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. /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*)’:
  2. /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:21:3: error: ‘png_image’ was not declared in this scope
  3. png_image png = {};
  4. ^~~~~~~~~
  5. /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:22:3: error: ‘png’ was not declared in this scope
  6. png.version = PNG_IMAGE_VERSION;
  7. ^~~
  8. /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:22:17: error: ‘PNG_IMAGE_VERSION’ was not declared in this scope
  9. png.version = PNG_IMAGE_VERSION;
  10. ^~~~~~~~~~~~~~~~~
  11. /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
  12. if (!png_image_begin_read_from_memory(&png, input.data(), input.size()))
  13. ^
  14. /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:27:16: error: ‘PNG_FORMAT_RGBA’ was not declared in this scope
  15. png.format = PNG_FORMAT_RGBA;
  16. ^~~~~~~~~~~~~~~
  17. /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:28:39: error: ‘PNG_IMAGE_SIZE’ was not declared in this scope
  18. size_t png_size = PNG_IMAGE_SIZE(png);
  19. ^
  20. /home/kat/Documents/Scripts/dolphin/Source/Core/Common/Image.cpp:32:73: error: ‘png_image_finish_read’ was not declared in this scope
  21. if (!png_image_finish_read(&png, nullptr, data_out->data(), 0, nullptr))
  22. ^
  23. Source/Core/Common/CMakeFiles/common.dir/build.make:542: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o' failed
  24. make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o] Error 1
  25. CMakeFiles/Makefile2:1066: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/all' failed
  26. make[1]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Error 2
  27. Makefile:149: recipe for target 'all' failed
  28. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement