The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could NOT find PNG, but it IS installed.
03-18-2017, 12:02 AM (This post was last modified: 03-18-2017 02:16 AM by WeereeBoo.)
Post: #1
Question Could NOT find PNG, but it IS installed.
First, https:// github.com/hrydgard/ppsspp/issues/9026.

I'm using Manjaro Linux, fully updated, and I have libpng on both version 1.6 and 1.2, 32 and 64 bits. (there's no -dev package avaible, if I'm not mistaken Arch Linux bundles base and -dev packages together right?)

So, I tried using ppsspp version 1.3 that's in the default repos, but then I get the trouble in the above link. Maybe it was mistakenly compiled withouth the bundled-old-version of FFMpeg that ppsspp uses, as I understood it?

But when trying either to use the AUR version or from the git (https:// github.com/hrydgard/ppsspp/wiki/Build-instructions), it always complains about not finding libpng:

Code:
[WEEEE@WEEE ppsspp]> make ..
Clang enabled
Normal Build
-- No build type selected, default to Release
CMAKE_SYSTEM_PROCESSOR: x86_64
Generating for x86, Release
Generating for x86_64, Release
-- Google Mock was not found - tests based on that will not build
CMake Error at CMakeLists.txt:389 (target_link_libraries):
  Target "Snappy::Snappy" of type UNKNOWN_LIBRARY may not be linked into
  another target.  One may link only to STATIC or SHARED libraries, or to
  executables with the ENABLE_EXPORTS property set.


--  Found avcodec: /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/include /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/lib/libavcodec.a
--  Found avformat: /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/include /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/lib/libavformat.a
--  Found avutil: /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/include /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/lib/libavutil.a
--  Found swresample: /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/include /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/lib/libswresample.a
--  Found swscale: /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/include /home/eine/ppsspp-git/ppsspp/ffmpeg/linux/x86_64/lib/libswscale.a
-- Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/ui_atlas.zim
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn15.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn14.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn9.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn11.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn4.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/jpn0.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn0.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn12.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn2.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn8.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn7.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/kr0.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn6.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn1.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn5.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn3.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn10.pgf
-- Up-to-date: /home/eine/ppsspp-git/ppsspp/assets/flash0/font/ltn13.pgf
-- Configuring incomplete, errors occurred!
See also "/home/eine/ppsspp-git/ppsspp/CMakeFiles/CMakeOutput.log".
See also "/home/eine/ppsspp-git/ppsspp/CMakeFiles/CMakeError.log".

I can't understand the marked the logs(don't actually mention png at all), on this forum there's only one similar problem with MacOS, I don't feel enlighted... Sad

Any tip on where to go from here?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Could NOT find PNG, but it IS installed. - WeereeBoo - 03-18-2017 12:02 AM

Forum Jump: