You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering this issue trying to install wxwidgets using vcpkg. I've already posted an issue on the vcpkg git but I thought it would be worth a shot getting this issue resolved posting here as well.
Error: C:\libs\cpp\vcpkg\installed\x64-windows\debug\bin\pcre2-16d.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x348
Resolve Attempts:
I'm relatively new to using vcpkg so I've just attempted to uninstall and re-install using the following command vcpkg remove pcre2 --recurse
then vcpkg install pcre2 --no-binarycaching
I have no issues with the pcre2 installation according to the cli output
Installing 1/2 pcre2:x64-windows...
Building pcre2[core]:x64-windows...
-- Using cached PCRE2Project-pcre2-pcre2-10.40.tar.gz.
-- Cleaning sources at C:/libs/cpp/vcpkg/buildtrees/pcre2/src/cre2-10.40-42fc341438.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/libs/cpp/vcpkg/downloads/PCRE2Project-pcre2-pcre2-10.40.tar.gz
-- Applying patch pcre2-10.35_fix-uwp.patch
-- Applying patch no-static-suffix.patch
-- Using source at C:/libs/cpp/vcpkg/buildtrees/pcre2/src/cre2-10.40-42fc341438.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/lib/pkgconfig/libpcre2-16.pc
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/lib/pkgconfig/libpcre2-32.pc
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/lib/pkgconfig/libpcre2-8.pc
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/lib/pkgconfig/libpcre2-posix.pc
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at C:/libs/cpp/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-16.pc
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-32.pc
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-8.pc
-- Fixing pkgconfig file: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-posix.pc
-- Installing: C:/libs/cpp/vcpkg/packages/pcre2_x64-windows/share/pcre2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Elapsed time to handle pcre2:x64-windows: 1.232 min
But when trying to install the target port I get the error message above. Any pointers in the right direction to help get this resolved would be much appreciated.
The text was updated successfully, but these errors were encountered:
After more than a month, I don't think you are going to get any help here, and I doubt very much that this is in fact a PCRE2 issue, so I'm going to close it.
I'm encountering this issue trying to install wxwidgets using vcpkg. I've already posted an issue on the vcpkg git but I thought it would be worth a shot getting this issue resolved posting here as well.
Error:
C:\libs\cpp\vcpkg\installed\x64-windows\debug\bin\pcre2-16d.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x348
Environment:
Resolve Attempts:
I'm relatively new to using vcpkg so I've just attempted to uninstall and re-install using the following command
vcpkg remove pcre2 --recurse
then
vcpkg install pcre2 --no-binarycaching
I have no issues with the pcre2 installation according to the cli output
But when trying to install the target port I get the error message above. Any pointers in the right direction to help get this resolved would be much appreciated.
The text was updated successfully, but these errors were encountered: