libpng icon indicating copy to clipboard operation
libpng copied to clipboard

install error

Open MrJiangSheng opened this issue 7 years ago • 7 comments

Dear sir,

I have install zlib first,but I install The libpng in my win64 with mingw32+cmake+vs2015.but I found the error as follow.what I can do? I will very appreciate wo receive your reply.

CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.8/Modules/FindZLIB.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:52 (find_package)

Configuring incomplete, errors occurred! See also "D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeOutput.log".

MrJiangSheng avatar Jul 12 '17 01:07 MrJiangSheng

the cmakeoutput.log is as follow:

The system is: Windows - 10.0.14393 - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: D:/Program Files (x86)/mingw-w64/mingw32/bin/gcc.exe Build flags: Id flags:

The output was: 0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"

The C compiler identification is GNU, found in "D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/3.8.1/CompilerIdC/a.exe"

Determining if the C compiler works passed with the following output: Change Dir: D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp

Run Build Command:"D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe" "cmTC_e5769/fast" D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_e5769.dir\build.make CMakeFiles/cmTC_e5769.dir/build

mingw32-make.exe[1]: Entering directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_e5769.dir/testCCompiler.c.obj

"D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -o CMakeFiles\cmTC_e5769.dir\testCCompiler.c.obj -c "D:\Program Files (x86)\some_lib\mingw64-libpng\CMakeFiles\CMakeTmp\testCCompiler.c"

Linking C executable cmTC_e5769.exe

"C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_e5769.dir\link.txt --verbose=1

"C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_e5769.dir/objects.a "D:\Program Files (x86)\mingw-w64\mingw32\bin\ar.exe" cr CMakeFiles\cmTC_e5769.dir/objects.a @CMakeFiles\cmTC_e5769.dir\objects1.rsp "D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -Wl,--whole-archive CMakeFiles\cmTC_e5769.dir/objects.a -Wl,--no-whole-archive -o cmTC_e5769.exe -Wl,--out-implib,libcmTC_e5769.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_e5769.dir\linklibs.rsp mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Detecting C compiler ABI info compiled with the following output: Change Dir: D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp

Run Build Command:"D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe" "cmTC_fff14/fast" D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_fff14.dir\build.make CMakeFiles/cmTC_fff14.dir/build

mingw32-make.exe[1]: Entering directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_fff14.dir/CMakeCCompilerABI.c.obj

"D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -o CMakeFiles\cmTC_fff14.dir\CMakeCCompilerABI.c.obj -c "C:\Program Files\CMake\share\cmake-3.8\Modules\CMakeCCompilerABI.c"

Linking C executable cmTC_fff14.exe

"C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_fff14.dir\link.txt --verbose=1

"C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_fff14.dir/objects.a "D:\Program Files (x86)\mingw-w64\mingw32\bin\ar.exe" cr CMakeFiles\cmTC_fff14.dir/objects.a @CMakeFiles\cmTC_fff14.dir\objects1.rsp "D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -v -Wl,--whole-archive CMakeFiles\cmTC_fff14.dir/objects.a -Wl,--no-whole-archive -o cmTC_fff14.exe -Wl,--out-implib,libcmTC_fff14.dll.a -Wl,--major-image-version,0,--minor-image-version,0 Using built-in specs.

COLLECT_GCC=D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe

COLLECT_LTO_WRAPPER=D:/Program\ Files\ (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/lto-wrapper.exe

Target: i686-w64-mingw32

Configured with: ../../../src/gcc-7.1.0/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-sjlj-exceptions --with-dwarf2 --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-pkgversion='i686-posix-dwarf-rev0, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/include -I/c/mingw710/prerequisites/i686-zlib-static/include -I/c/mingw710/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/include -I/c/mingw710/prerequisites/i686-zlib-static/include -I/c/mingw710/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/include -I/c/mingw710/prerequisites/i686-zlib-static/include -I/c/mingw710/prerequisites/i686-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/lib -L/c/mingw710/prerequisites/i686-zlib-static/lib -L/c/mingw710/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'

Thread model: posix

gcc version 7.1.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project)

COMPILER_PATH=D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/bin/

LIBRARY_PATH=D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/../lib/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../lib/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/;D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../

COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fff14.exe' '-mtune=generic' '-march=i686'

D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/collect2.exe -plugin D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/liblto_plugin-0.dll -plugin-opt=D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Administrator\AppData\Local\Temp\ccVjbnFY.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-liconv -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt --sysroot=C:/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32 -m i386pe -Bdynamic -o cmTC_fff14.exe D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/crtbegin.o -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0 -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/../lib -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../lib -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../.. --whole-archive CMakeFiles\cmTC_fff14.dir/objects.a --no-whole-archive --out-implib libcmTC_fff14.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -liconv -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/crtend.o

COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fff14.exe' '-mtune=generic' '-march=i686'

mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Parsed C implicit link information from above output: link line regex: [^( |.[/])(ld.exe|([^/]+-)?ld|collect2)[^/]*( |$)] ignore line: [Change Dir: D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe" "cmTC_fff14/fast"] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_fff14.dir\build.make CMakeFiles/cmTC_fff14.dir/build] ignore line: [mingw32-make.exe[1]: Entering directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_fff14.dir/CMakeCCompilerABI.c.obj] ignore line: ["D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -o CMakeFiles\cmTC_fff14.dir\CMakeCCompilerABI.c.obj -c "C:\Program Files\CMake\share\cmake-3.8\Modules\CMakeCCompilerABI.c"] ignore line: [Linking C executable cmTC_fff14.exe] ignore line: ["C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_fff14.dir\link.txt --verbose=1] ignore line: ["C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_fff14.dir/objects.a] ignore line: ["D:\Program Files (x86)\mingw-w64\mingw32\bin\ar.exe" cr CMakeFiles\cmTC_fff14.dir/objects.a @CMakeFiles\cmTC_fff14.dir\objects1.rsp] ignore line: ["D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -v -Wl,--whole-archive CMakeFiles\cmTC_fff14.dir/objects.a -Wl,--no-whole-archive -o cmTC_fff14.exe -Wl,--out-implib,libcmTC_fff14.dll.a -Wl,--major-image-version,0,--minor-image-version,0 ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe] ignore line: [COLLECT_LTO_WRAPPER=D:/Program\ Files\ (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/lto-wrapper.exe] ignore line: [Target: i686-w64-mingw32] ignore line: [Configured with: ../../../src/gcc-7.1.0/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-sjlj-exceptions --with-dwarf2 --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw710/prerequisites/i686-w64-mingw32-static --with-pkgversion='i686-posix-dwarf-rev0, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/include -I/c/mingw710/prerequisites/i686-zlib-static/include -I/c/mingw710/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/include -I/c/mingw710/prerequisites/i686-zlib-static/include -I/c/mingw710/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/include -I/c/mingw710/prerequisites/i686-zlib-static/include -I/c/mingw710/prerequisites/i686-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32/opt/lib -L/c/mingw710/prerequisites/i686-zlib-static/lib -L/c/mingw710/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'] ignore line: [Thread model: posix] ignore line: [gcc version 7.1.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project) ] ignore line: [COMPILER_PATH=D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/bin/] ignore line: [LIBRARY_PATH=D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/../lib/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../lib/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/] ignore line: [D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fff14.exe' '-mtune=generic' '-march=i686'] ignore line: [ D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/collect2.exe -plugin D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/liblto_plugin-0.dll -plugin-opt=D:/Program Files (x86)/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/7.1.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Administrator\AppData\Local\Temp\ccVjbnFY.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-liconv -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt --sysroot=C:/mingw710/i686-710-posix-dwarf-rt_v5-rev0/mingw32 -m i386pe -Bdynamic -o cmTC_fff14.exe D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/crtbegin.o -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0 -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib/../lib -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../lib -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/lib -LD:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../.. --whole-archive CMakeFiles\cmTC_fff14.dir/objects.a --no-whole-archive --out-implib libcmTC_fff14.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -liconv -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt D:/Program Files (x86)/mingw-w64/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/crtend.o] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fff14.exe' '-mtune=generic' '-march=i686'] ignore line: [mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'] ignore line: [] implicit libs: [] implicit dirs: [] implicit fwks: []

Detecting C [-std=c11] compiler features compiled with the following output: Change Dir: D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp

Run Build Command:"D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe" "cmTC_208ed/fast" D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_208ed.dir\build.make CMakeFiles/cmTC_208ed.dir/build

mingw32-make.exe[1]: Entering directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_208ed.dir/feature_tests.c.obj

"D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -std=c11 -o CMakeFiles\cmTC_208ed.dir\feature_tests.c.obj -c "D:\Program Files (x86)\some_lib\mingw64-libpng\CMakeFiles\feature_tests.c"

Linking C executable cmTC_208ed.exe

"C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_208ed.dir\link.txt --verbose=1

"C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_208ed.dir/objects.a "D:\Program Files (x86)\mingw-w64\mingw32\bin\ar.exe" cr CMakeFiles\cmTC_208ed.dir/objects.a @CMakeFiles\cmTC_208ed.dir\objects1.rsp "D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -Wl,--whole-archive CMakeFiles\cmTC_208ed.dir/objects.a -Wl,--no-whole-archive -o cmTC_208ed.exe -Wl,--out-implib,libcmTC_208ed.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_208ed.dir\linklibs.rsp mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c99] compiler features compiled with the following output: Change Dir: D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp

Run Build Command:"D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe" "cmTC_25735/fast" D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_25735.dir\build.make CMakeFiles/cmTC_25735.dir/build

mingw32-make.exe[1]: Entering directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_25735.dir/feature_tests.c.obj

"D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -std=c99 -o CMakeFiles\cmTC_25735.dir\feature_tests.c.obj -c "D:\Program Files (x86)\some_lib\mingw64-libpng\CMakeFiles\feature_tests.c"

Linking C executable cmTC_25735.exe

"C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_25735.dir\link.txt --verbose=1

"C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_25735.dir/objects.a "D:\Program Files (x86)\mingw-w64\mingw32\bin\ar.exe" cr CMakeFiles\cmTC_25735.dir/objects.a @CMakeFiles\cmTC_25735.dir\objects1.rsp "D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -Wl,--whole-archive CMakeFiles\cmTC_25735.dir/objects.a -Wl,--no-whole-archive -o cmTC_25735.exe -Wl,--out-implib,libcmTC_25735.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_25735.dir\linklibs.rsp mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c90] compiler features compiled with the following output: Change Dir: D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp

Run Build Command:"D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe" "cmTC_f3be9/fast" D:/Program Files (x86)/mingw-w64/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_f3be9.dir\build.make CMakeFiles/cmTC_f3be9.dir/build

mingw32-make.exe[1]: Entering directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_f3be9.dir/feature_tests.c.obj

"D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -std=c90 -o CMakeFiles\cmTC_f3be9.dir\feature_tests.c.obj -c "D:\Program Files (x86)\some_lib\mingw64-libpng\CMakeFiles\feature_tests.c"

Linking C executable cmTC_f3be9.exe

"C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_f3be9.dir\link.txt --verbose=1

"C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_f3be9.dir/objects.a "D:\Program Files (x86)\mingw-w64\mingw32\bin\ar.exe" cr CMakeFiles\cmTC_f3be9.dir/objects.a @CMakeFiles\cmTC_f3be9.dir\objects1.rsp "D:\Program Files (x86)\mingw-w64\mingw32\bin\gcc.exe" -Wl,--whole-archive CMakeFiles\cmTC_f3be9.dir/objects.a -Wl,--no-whole-archive -o cmTC_f3be9.exe -Wl,--out-implib,libcmTC_f3be9.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_f3be9.dir\linklibs.rsp mingw32-make.exe[1]: Leaving directory 'D:/Program Files (x86)/some_lib/mingw64-libpng/CMakeFiles/CMakeTmp'

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros

MrJiangSheng avatar Jul 12 '17 01:07 MrJiangSheng

What are your zlib and libpng versions?

glennrp avatar Jul 12 '17 02:07 glennrp

Dear sir, thanks for your reply.my zlib is 1.2.11,and libpng is lpng1629. thanks again . Jiangsheng

MrJiangSheng avatar Jul 12 '17 02:07 MrJiangSheng

Sir, I have install the libpng,but why the system can't find it when i install other lib depend onlibpng? I use win10+mingw+libbpg.

MrJiangSheng avatar Jul 12 '17 13:07 MrJiangSheng

Thans a lot for your reply.

MrJiangSheng avatar Jul 12 '17 13:07 MrJiangSheng

@MrJiangSheng the cmake build system has been considerably updated and, in particular, zlib handling has been modified. Please test the latest libpng version to see if this problem remains.

jbowler avatar Dec 27 '23 02:12 jbowler

@ctruta: dead bug, please close.

jbowler avatar Aug 13 '24 21:08 jbowler