Project

General

Profile

Actions

Emulator Issues #11802

closed

dolphin-emu compiler fail against Image.cpp

Added by Alkaris over 5 years ago. Updated about 5 years ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

running into an issue when trying to compile latest source of dolphin-emu from GitHub when running make, it fails while trying to compile Image.cpp

$ make
[  1%] Built target bdisasm
[  1%] Built target cpp-optparse
[  6%] Built target glslang
[  6%] Built target imgui
[  8%] Built target enet
[  9%] Built target xxhash
[  9%] Built target minizip
[  9%] Built target FreeSurround
[ 10%] Built target SoundTouch
[ 11%] Built target discord-rpc
[ 11%] Built target speex
[ 13%] Built target cubeb
[ 15%] Built target audiocommon
[ 15%] Built target fmt
[ 16%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Image.cpp.o
/home/user/dolphin/Source/Core/Common/Image.cpp: In function ‘bool Common::LoadPNG(const std::vector<unsigned char>&, std::vector<unsigned char>*, u32*, u32*)’:
/home/user/dolphin/Source/Core/Common/Image.cpp:21:3: error: ‘png_image’ was not declared in this scope
   png_image png = {};
   ^~~~~~~~~
/home/user/dolphin/Source/Core/Common/Image.cpp:21:3: note: suggested alternative: ‘png_time’
   png_image png = {};
   ^~~~~~~~~
   png_time
/home/user/dolphin/Source/Core/Common/Image.cpp:22:3: error: ‘png’ was not declared in this scope
   png.version = PNG_IMAGE_VERSION;
   ^~~
/home/user/dolphin/Source/Core/Common/Image.cpp:22:17: error: ‘PNG_IMAGE_VERSION’ was not declared in this scope
   png.version = PNG_IMAGE_VERSION;
                 ^~~~~~~~~~~~~~~~~
/home/user/dolphin/Source/Core/Common/Image.cpp:22:17: note: suggested alternative: ‘_SC_REGEX_VERSION’
   png.version = PNG_IMAGE_VERSION;
                 ^~~~~~~~~~~~~~~~~
                 _SC_REGEX_VERSION
/home/user/dolphin/Source/Core/Common/Image.cpp:23:8: 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/user/dolphin/Source/Core/Common/Image.cpp:27:16: error: ‘PNG_FORMAT_RGBA’ was not declared in this scope
   png.format = PNG_FORMAT_RGBA;
                ^~~~~~~~~~~~~~~
/home/user/dolphin/Source/Core/Common/Image.cpp:27:16: note: suggested alternative: ‘PNG_NORETURN’
   png.format = PNG_FORMAT_RGBA;
                ^~~~~~~~~~~~~~~
                PNG_NORETURN
/home/user/dolphin/Source/Core/Common/Image.cpp:28:21: error: ‘PNG_IMAGE_SIZE’ was not declared in this scope
   size_t png_size = PNG_IMAGE_SIZE(png);
                     ^~~~~~~~~~~~~~
/home/user/dolphin/Source/Core/Common/Image.cpp:28:21: note: suggested alternative: ‘_SC_PAGE_SIZE’
   size_t png_size = PNG_IMAGE_SIZE(png);
                     ^~~~~~~~~~~~~~
                     _SC_PAGE_SIZE
/home/user/dolphin/Source/Core/Common/Image.cpp:32:8: 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:335: 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:1039: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/all' failed
make[1]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

cmake shows some warnings, but shouldn't affect the build process.

$ cmake ..
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- Detected architecture: x86_64
-- Performing Test FLAG_C_HAVE_SSE2
-- Performing Test FLAG_C_HAVE_SSE2 - Success
-- Performing Test FLAG_CXX_HAVE_SSE2
-- Performing Test FLAG_CXX_HAVE_SSE2 - Success
-- Performing Test FLAG_C_HAVE_WALL
-- Performing Test FLAG_C_HAVE_WALL - Success
-- Performing Test FLAG_CXX_HAVE_WALL
-- Performing Test FLAG_CXX_HAVE_WALL - Success
-- Performing Test FLAG_C_TYPE_LIMITS
-- Performing Test FLAG_C_TYPE_LIMITS - Success
-- Performing Test FLAG_CXX_TYPE_LIMITS
-- Performing Test FLAG_CXX_TYPE_LIMITS - Success
-- Performing Test FLAG_C_SIGN_COMPARE
-- Performing Test FLAG_C_SIGN_COMPARE - Success
-- Performing Test FLAG_CXX_SIGN_COMPARE
-- Performing Test FLAG_CXX_SIGN_COMPARE - Success
-- Performing Test FLAG_C_IGNORED_QUALIFIERS
-- Performing Test FLAG_C_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_CXX_IGNORED_QUALIFIERS
-- Performing Test FLAG_CXX_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_C_UNINITIALIZED
-- Performing Test FLAG_C_UNINITIALIZED - Success
-- Performing Test FLAG_CXX_UNINITIALIZED
-- Performing Test FLAG_CXX_UNINITIALIZED - Success
-- Performing Test FLAG_C_LOGICAL_OP
-- Performing Test FLAG_C_LOGICAL_OP - Success
-- Performing Test FLAG_CXX_LOGICAL_OP
-- Performing Test FLAG_CXX_LOGICAL_OP - Success
-- Performing Test FLAG_C_SHADOW
-- Performing Test FLAG_C_SHADOW - Success
-- Performing Test FLAG_CXX_SHADOW
-- Performing Test FLAG_CXX_SHADOW - Success
-- Performing Test FLAG_C_INIT_SELF
-- Performing Test FLAG_C_INIT_SELF - Success
-- Performing Test FLAG_CXX_INIT_SELF
-- Performing Test FLAG_CXX_INIT_SELF - Success
-- Performing Test FLAG_C_MISSING_DECLARATIONS
-- Performing Test FLAG_C_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_CXX_MISSING_DECLARATIONS
-- Performing Test FLAG_CXX_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS - Failed
-- Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS - Failed
-- Performing Test FLAG_C_NO_STRICT_ALIASING
-- Performing Test FLAG_C_NO_STRICT_ALIASING - Success
-- Performing Test FLAG_CXX_NO_STRICT_ALIASING
-- Performing Test FLAG_CXX_NO_STRICT_ALIASING - Success
-- Performing Test FLAG_C_NO_EXCEPTIONS
-- Performing Test FLAG_C_NO_EXCEPTIONS - Success
-- Performing Test FLAG_CXX_NO_EXCEPTIONS
-- Performing Test FLAG_CXX_NO_EXCEPTIONS - Success
-- Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN - Failed
-- Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN - Success
-- Performing Test FLAG_C_VISIBILITY_HIDDEN
-- Performing Test FLAG_C_VISIBILITY_HIDDEN - Success
-- Performing Test FLAG_CXX_VISIBILITY_HIDDEN
-- Performing Test FLAG_CXX_VISIBILITY_HIDDEN - Success
-- Performing Test FLAG_C_FOMIT_FRAME_POINTER
-- Performing Test FLAG_C_FOMIT_FRAME_POINTER - Success
-- Performing Test FLAG_CXX_FOMIT_FRAME_POINTER
-- Performing Test FLAG_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test FLAG_C_GGDB
-- Performing Test FLAG_C_GGDB - Success
-- Performing Test FLAG_CXX_GGDB
-- Performing Test FLAG_CXX_GGDB - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Found OpenGL: /usr/local/lib/libOpenGL.so   
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Xrandr found
-- Checking for module 'xi>=1.5.0'
--   Found xi, version 1.7.9
-- X11 support enabled
-- Checking for module 'egl'
--   Found egl, version 19.0.2
-- Found EGL: /usr/include  
-- EGL OpenGL interface enabled
--  Found avcodec: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavcodec.so
--  Found avdevice: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavdevice.so
--  Found avfilter: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavfilter.so
--  Found avformat: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavformat.so
--  Found avutil: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavutil.so
--  Found swresample: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswresample.so
--  Found swscale: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswscale.so
-- Found FFmpeg: /usr/include/x86_64-linux-gnu  found components:  avcodec avformat avutil swscale 
-- libav/ffmpeg found, enabling AVI frame dumps
-- Found LIBUDEV: /lib/x86_64-linux-gnu/libudev.so  
-- Found libevdev: /usr/lib/x86_64-linux-gnu/libevdev.so  
-- libevdev/libudev found, enabling evdev controller backend
-- Using named pipes as controller inputs
-- Watching game memory for changes
-- Enabling analytics collection (subject to end-user opt-in)
-- Performing Test FLAG_C_CXX11
-- Performing Test FLAG_C_CXX11 - Failed
-- Performing Test FLAG_CXX_CXX11
-- Performing Test FLAG_CXX_CXX11 - Success
-- Version: 5.3.0
-- Build type: Release
-- CXX_STANDARD: 11
-- Performing Test has_std_11_flag
-- Performing Test has_std_11_flag - Success
-- Performing Test has_std_0x_flag
-- Performing Test has_std_0x_flag - Success
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success
-- Performing Test SUPPORTS_INITIALIZER_LIST
-- Performing Test SUPPORTS_INITIALIZER_LIST - Success
-- Performing Test SUPPORTS_ENUM_BASE
-- Performing Test SUPPORTS_ENUM_BASE - Success
-- Performing Test SUPPORTS_TYPE_TRAITS
-- Performing Test SUPPORTS_TYPE_TRAITS - Success
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Looking for open
-- Looking for open - found
-- Found pugixml: /usr/lib/x86_64-linux-gnu/libpugixml.so  
-- Using static enet from Externals
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Using static xxhash from Externals
-- Found ZLIB: /usr/local/lib/libz.so (found version "1.2.11") 
-- Using shared zlib
-- Using shared lzo
-- Using shared libpng
-- Using static FreeSurround from Externals
-- Could NOT find CUBEB (missing: CUBEB_INCLUDE_DIR CUBEB_LIBRARY) 
-- Using static cubeb from Externals
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for include file AudioUnit/AudioUnit.h
-- Looking for include file AudioUnit/AudioUnit.h - not found
-- Looking for include file pulse/pulseaudio.h
-- Looking for include file pulse/pulseaudio.h - found
-- Looking for include file alsa/asoundlib.h
-- Looking for include file alsa/asoundlib.h - found
-- Looking for include file jack/jack.h
-- Looking for include file jack/jack.h - found
-- Looking for include file audioclient.h
-- Looking for include file audioclient.h - not found
-- Looking for include files windows.h, mmsystem.h
-- Looking for include files windows.h, mmsystem.h - not found
-- Looking for include file SLES/OpenSLES.h
-- Looking for include file SLES/OpenSLES.h - not found
-- Looking for include file android/log.h
-- Looking for include file android/log.h - not found
-- Looking for include file sndio.h
-- Looking for include file sndio.h - found
-- Looking for include file kai.h
-- Looking for include file kai.h - not found
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.21
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Using shared LibUSB
-- Found SFML 2.5 in /usr/local/include
-- Using shared SFML
-- Found MINIUPNPC: /usr/include/miniupnpc  
-- Using shared miniupnpc
-- Performing Test MBEDTLS_VERSION_OK
-- Performing Test MBEDTLS_VERSION_OK - Success
-- Found MBEDTLS: /usr/include  
-- Using shared mbed TLS
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.58.0")  
-- Using shared libcurl
-- Found HIDAPI: /usr/lib/x86_64-linux-gnu/libhidapi-hidraw.so  
-- Using static DiscordRPC from Externals
-- Found SYSTEMD: /lib/x86_64-linux-gnu/libsystemd.so  
-- libsystemd found, enabling traversal server watchdog support
-- Using static gtest from Externals
-- Found PythonInterp: /usr/bin/python (found version "2.7.15") 
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Could NOT find OpenSLES (missing: OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR) 
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version "1.1.3") 
-- ALSA found, enabling ALSA sound backend
-- PulseAudio found, enabling PulseAudio sound backend
-- Found BlueZ: /usr/lib/x86_64-linux-gnu/libbluetooth.so  
-- BlueZ found, enabling bluetooth support
-- LLVM found, enabling LLVM support in disassembler
-- Found Qt version 5.9.5
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Configuring done
CMake Warning at Source/Core/Common/CMakeLists.txt:275 (add_executable):
  Cannot generate a safe runtime search path for target traversal_server
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.


CMake Warning at Source/Core/DolphinNoGUI/CMakeLists.txt:1 (add_executable):
  Cannot generate a safe runtime search path for target dolphin-nogui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.


CMake Warning at Source/Core/DolphinQt/CMakeLists.txt:12 (add_executable):
  Cannot generate a safe runtime search path for target dolphin-emu because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target CommonFuncsTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:6 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target CryptoEcTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:7 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target NandPathsTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:13 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target BusyLoopTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:5 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target BitUtilsTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:3 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target BlockingLoopTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:4 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target StringUtilTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:15 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target BitFieldTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:1 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target FlagTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:10 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target BitSetTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:2 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target EventTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:8 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target FixedSizeQueueTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:9 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target x64EmitterTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:19 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target FloatUtilsTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:11 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target SPSCQueueTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:14 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target MathUtilTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:12 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target SwapTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Common/CMakeLists.txt:16 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target FileSystemTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:15 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target PageFaultTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:2 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target DSPAssemblyTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:6 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target MMIOTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:1 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target PowerPCTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:18 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target CoreTimingTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:3 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target DSPAcceleratorTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:5 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target ESFormatsTest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/Core/CMakeLists.txt:13 (add_dolphin_test)


CMake Warning at Source/UnitTests/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target VertexLoaderTest
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libEGL.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  Source/UnitTests/VideoCommon/CMakeLists.txt:1 (add_dolphin_test)


-- Generating done
-- Build files have been written to: /home/user/dolphin/build

Actions #1

Updated by JosJuice over 5 years ago

Please update to libpng 1.6 or newer.

Actions #2

Updated by Billiard26 about 5 years ago

  • Status changed from New to Working as intended

No response from user.

Actions

Also available in: Atom PDF