Open dongfangZh opened 6 days ago
C:\Strawberry\c\bin\windres.exe D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe
Wrong windres for this gcc? Check you PATH
.
which file's path?the error is occured when vcpkg install pcl:x64-mingw-dynamic. and other libs are installed successfully.
the path of windres.exe i s right.
PATH
is an environment variable which determines how to look up executables, i.e. locations and order.
Try putting D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin
before C:\Strawberry\c\bin
.
(Or better, get rid of Strawberry in the PATH
. It comes with more surprises.)
(Or better, get rid of Strawberry in the
PATH
. It comes with more surprises.)
i've adjust the PATH and th e zlib installed,but the problem of flann #42022 is still occored
But the problem of flann #42022 is still occored
And that's why the other issue got another comment.
Nothing to fix in vcpkg here.
Package: zlib:x64-mingw-dynamic@1.3.1
Host Environment
To Reproduce
vcpkg install zlib:x64-mingw-dynamic
Failure logs
D:\vcpkg\buildtrees\zlib\install-x64-mingw-dynamic-dbg-out.log
``` Change Dir: 'D:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg' Run Build Command(s): D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v -v -j9 install [1/18] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\vcpkg\buildtrees\zlib\x64-mingw-dynamic-dbg && C:\Strawberry\c\bin\windres.exe -D GCC_WINDRES -I D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -I D:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -o D:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg/zlib1rc.obj -i D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/win32/zlib1.rc" [2/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/adler32.c.obj -MF CMakeFiles\zlib.dir\adler32.c.obj.d -o CMakeFiles/zlib.dir/adler32.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/adler32.c [3/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/compress.c.obj -MF CMakeFiles\zlib.dir\compress.c.obj.d -o CMakeFiles/zlib.dir/compress.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/compress.c [4/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/gzclose.c.obj -MF CMakeFiles\zlib.dir\gzclose.c.obj.d -o CMakeFiles/zlib.dir/gzclose.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/gzclose.c [5/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/crc32.c.obj -MF CMakeFiles\zlib.dir\crc32.c.obj.d -o CMakeFiles/zlib.dir/crc32.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/crc32.c [6/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/gzread.c.obj -MF CMakeFiles\zlib.dir\gzread.c.obj.d -o CMakeFiles/zlib.dir/gzread.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/gzread.c [7/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/gzlib.c.obj -MF CMakeFiles\zlib.dir\gzlib.c.obj.d -o CMakeFiles/zlib.dir/gzlib.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/gzlib.c [8/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/inflate.c.obj -MF CMakeFiles\zlib.dir\inflate.c.obj.d -o CMakeFiles/zlib.dir/inflate.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/inflate.c [9/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/gzwrite.c.obj -MF CMakeFiles\zlib.dir\gzwrite.c.obj.d -o CMakeFiles/zlib.dir/gzwrite.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/gzwrite.c [10/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/deflate.c.obj -MF CMakeFiles\zlib.dir\deflate.c.obj.d -o CMakeFiles/zlib.dir/deflate.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/deflate.c [11/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/inffast.c.obj -MF CMakeFiles\zlib.dir\inffast.c.obj.d -o CMakeFiles/zlib.dir/inffast.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/inffast.c [12/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/inftrees.c.obj -MF CMakeFiles\zlib.dir\inftrees.c.obj.d -o CMakeFiles/zlib.dir/inftrees.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/inftrees.c [13/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/uncompr.c.obj -MF CMakeFiles\zlib.dir\uncompr.c.obj.d -o CMakeFiles/zlib.dir/uncompr.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/uncompr.c [14/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/infback.c.obj -MF CMakeFiles\zlib.dir\infback.c.obj.d -o CMakeFiles/zlib.dir/infback.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/infback.c [15/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/zutil.c.obj -MF CMakeFiles\zlib.dir\zutil.c.obj.d -o CMakeFiles/zlib.dir/zutil.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/zutil.c [16/18] D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_LARGEFILE64_SOURCE=1 -ID:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean -ID:/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -g -MD -MT CMakeFiles/zlib.dir/trees.c.obj -MF CMakeFiles\zlib.dir\trees.c.obj.d -o CMakeFiles/zlib.dir/trees.c.obj -c D:/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean/trees.c [17/18] C:\WINDOWS\system32\cmd.exe /C "cd . && D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -g -shared -o libzlibd1.dll -Wl,--out-implib,libzlibd.dll.a -Wl,--major-image-version,1,--minor-image-version,3 zlib1rc.obj CMakeFiles/zlib.dir/adler32.c.obj CMakeFiles/zlib.dir/compress.c.obj CMakeFiles/zlib.dir/crc32.c.obj CMakeFiles/zlib.dir/deflate.c.obj CMakeFiles/zlib.dir/gzclose.c.obj CMakeFiles/zlib.dir/gzlib.c.obj CMakeFiles/zlib.dir/gzread.c.obj CMakeFiles/zlib.dir/gzwrite.c.obj CMakeFiles/zlib.dir/inflate.c.obj CMakeFiles/zlib.dir/infback.c.obj CMakeFiles/zlib.dir/inftrees.c.obj CMakeFiles/zlib.dir/inffast.c.obj CMakeFiles/zlib.dir/trees.c.obj CMakeFiles/zlib.dir/uncompr.c.obj CMakeFiles/zlib.dir/zutil.c.obj -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." FAILED: libzlibd1.dll libzlibd.dll.a C:\WINDOWS\system32\cmd.exe /C "cd . && D:\DependentLib\QT\5.14.1\Tools\mingw730_64\bin\x86_64-w64-mingw32-gcc.exe -g -shared -o libzlibd1.dll -Wl,--out-implib,libzlibd.dll.a -Wl,--major-image-version,1,--minor-image-version,3 zlib1rc.obj CMakeFiles/zlib.dir/adler32.c.obj CMakeFiles/zlib.dir/compress.c.obj CMakeFiles/zlib.dir/crc32.c.obj CMakeFiles/zlib.dir/deflate.c.obj CMakeFiles/zlib.dir/gzclose.c.obj CMakeFiles/zlib.dir/gzlib.c.obj CMakeFiles/zlib.dir/gzread.c.obj CMakeFiles/zlib.dir/gzwrite.c.obj CMakeFiles/zlib.dir/inflate.c.obj CMakeFiles/zlib.dir/infback.c.obj CMakeFiles/zlib.dir/inftrees.c.obj CMakeFiles/zlib.dir/inffast.c.obj CMakeFiles/zlib.dir/trees.c.obj CMakeFiles/zlib.dir/uncompr.c.obj CMakeFiles/zlib.dir/zutil.c.obj -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `zlib1rc.obj' is incompatible with i386:x86-64 output collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ```