This repository was archived by the owner on Jan 31, 2023. It is now read-only.
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
Unable to build PHP master with VS 2019 because of iconv/sqlite3 dependency mismatch #72
Closed
Description
VS 2019 installed and updated to latest, attempting to build PHP-8.1.0-dev (master) with sqlite3 support (configure --with-sqlite3 ...
) results in following error, which can only be resolved by disabling libiconv and libxml, or by not including sqlite3.
libiconv_a.lib(iconv1.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
fatal error C1047: The object or library file 'D:\php8-sync\phpmaster\vs16\x64\deps\lib\libsqlite3_a.lib' was created by a different version of the compiler than other objects like 'D:\php8-sync\phpmaster\vs16\x64\deps\lib\libiconv_a.lib'; rebuild all objects and libraries with the same compiler
LINK : fatal error LNK1257: code generation failed
NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe"' : return code '0x4e9'
Metadata
Metadata
Assignees
Labels
No labels