I have the similar problem with LIBJPEG. Qt support confirmed me that it is a bug, but they don’t know what kind and how to fix it yet.
Regards, Gunnar Roth > Am 10.07.2017 um 13:28 schrieb John Schneiderman <jschneider...@gog.com>: > > I’m trying to build the latest Qt 5.9 on Windows using Visual Studio 2015. > However, I’m having issues getting it to recognise the libraries already > built. Below is the results of the configuration command. > > === CONFIGURATION === > > Configure summary: > > Build type: win32-msvc (i386, CPU features: sse sse2) > Configuration: sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 compile_examples f16c > largefile ltcg msvc_mp precompile_header silent shared release c++11 > concurrent no-pkg-config stl > Build options: > Mode ................................... release > Optimize release build for size ........ no > Building shared libraries .............. yes > Using C++ standard ..................... C++11 > Using gold linker ...................... no > Using precompiled headers .............. yes > Using LTCG ............................. yes > Target compiler supports: > SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 > AVX .................................. AVX AVX2 F16C > AVX512 ............................... <none> > Build parts ............................ libs tools > App store compliance ................... no > Qt modules and options: > Qt Concurrent .......................... yes > Qt D-Bus ............................... no > Qt D-Bus directly linked to libdbus .... no > Qt Gui ................................. yes > Qt Network ............................. yes > Qt Sql ................................. yes > Qt Testlib ............................. yes > Qt Widgets ............................. yes > Qt Xml ................................. yes > Support enabled for: > Using pkg-config ....................... no > QML debugging .......................... yes > udev ................................... no > Using system zlib ...................... no > Qt Core: > DoubleConversion ....................... yes > Using system DoubleConversion ........ no > GLib ................................... no > iconv .................................. no > ICU .................................... no > Logging backends: > journald ............................. no > syslog ............................... no > slog2 ................................ no > Using system PCRE2 ..................... no > Qt Network: > getaddrinfo() .......................... no > getifaddrs() ........................... no > IPv6 ifname ............................ no > libproxy ............................... no > OpenSSL ................................ yes > Qt directly linked to OpenSSL ........ no > SCTP ................................... no > Use system proxies ..................... yes > Qt Sql: > DB2 (IBM) .............................. no > InterBase .............................. no > MySql .................................. no > OCI (Oracle) ........................... no > ODBC ................................... yes > PostgreSQL ............................. no > SQLite2 ................................ no > SQLite ................................. yes > Using system provided SQLite ......... no > TDS (Sybase) ........................... no > Qt Gui: > Accessibility .......................... yes > FreeType ............................... yes > Using system FreeType ................ no > HarfBuzz ............................... yes > Using system HarfBuzz ................ no > Fontconfig ............................. no > Image formats: > GIF .................................. yes > ICO .................................. yes > JPEG ................................. yes > Using system libjpeg ............... no > PNG .................................. yes > Using system libpng ................ no > EGL .................................... yes > OpenVG ................................. no > OpenGL: > ANGLE ................................ yes > Combined ANGLE Library ............... no > Desktop OpenGL ....................... no > Dynamic OpenGL ....................... no > OpenGL ES 2.0 ........................ yes > OpenGL ES 3.0 ........................ no > OpenGL ES 3.1 ........................ no > Session Management ..................... yes > Features used by QPA backends: > evdev .................................. no > libinput ............................... no > mtdev .................................. no > tslib .................................. no > xkbcommon-evdev ........................ no > QPA backends: > DirectFB ............................... no > EGLFS .................................. no > LinuxFB ................................ no > VNC .................................... no > Mir client ............................. no > Windows: > Direct 2D ............................ yes > DirectWrite .......................... yes > DirectWrite 2 ........................ yes > Qt Widgets: > GTK+ ................................... no > Styles ................................. Fusion Windows WindowsXP > WindowsVista > Qt PrintSupport: > CUPS ................................... no > Qt SerialBus: > Socket CAN ............................. no > Socket CAN FD .......................... no > QtXmlPatterns: > XML schema support ..................... yes > Qt QML: > QML interpreter ........................ yes > QML network support .................... yes > Qt Quick: > Direct3D 12 ............................ no > AnimatedImage item ..................... yes > Canvas item ............................ yes > Support for Quick Designer ............. yes > Flipable item .......................... yes > GridView item .......................... yes > ListView item .......................... yes > Path support ........................... yes > PathView item .......................... yes > Positioner items ....................... yes > ShaderEffect item ...................... yes > Sprite item ............................ yes > Qt Gamepad: > SDL2 ................................... no > Qt 3D: > Assimp ................................. yes > System Assimp .......................... no > Output Qt3D Job traces ................. no > Output Qt3D GL traces .................. no > Qt 3D GeometryLoaders: > Autodesk FBX ........................... no > Qt Wayland Client ........................ no > Qt Wayland Compositor .................... no > Qt Bluetooth: > BlueZ .................................. no > BlueZ Low Energy ....................... no > Linux Crypto API ....................... no > Qt Sensors: > sensorfw ............................... no > Qt Multimedia: > ALSA ................................... no > GStreamer 1.0 .......................... no > GStreamer 0.10 ......................... no > Video for Linux ........................ no > OpenAL ................................. no > PulseAudio ............................. no > Resource Policy (libresourceqt5) ....... no > Windows Audio Services ................. yes > DirectShow ............................. yes > Windows Media Foundation ............... yes > Media player backend ................... DirectShow > Qt Quick Controls 2: > Styles ................................. Default Material Universal > Qt Quick Templates 2: > Hover support .......................... yes > Qt Location: > Gypsy GPS Daemon ....................... no > WinRT Geolocation API .................. no > Qt WebEngine: > Embedded build ......................... no > Pepper Plugins ......................... yes > Printing and PDF ....................... yes > Proprietary Codecs ..................... yes > Spellchecker ........................... yes > WebRTC ................................. yes > Using system ninja ..................... no > > Note: No wayland-egl support detected. Cross-toolkit compatibility disabled. > > ERROR: Feature 'c++14' was enabled, but the pre-condition 'features.c++11 && > tests.c++14' failed. > > ERROR: Feature 'system-zlib' was enabled, but the pre-condition 'libs.zlib' > failed. > > ERROR: Feature 'system-sqlite' was enabled, but the pre-condition > 'features.sql-sqlite && libs.sqlite3' failed. > > === > > > The issues are the last three errors. I’m using the batch follow below to > build Qt. > > === Batch Build File === > > @echo off > > IF [%1] == [] GOTO MissingArgument > IF [%2] == [] GOTO MissingArgument > IF [%3] == [] GOTO MissingArgument > > SET QT_SRC_BUILD_DIR=%1 > REM The source directory on Windows needs to be at the root level otherwise > REM the compilation will fail with strange errors. > SET QT_SRC_DIR=%2 > REM Location of third-party libraries. > SET BIN_DIR=%3 > SET PATH=%PATH%;C:\Python27; > > SET ZLIB_INCLUDE_DIR=%BIN_DIR%\zlib\include > SET ZLIB_LIBRARY_DIR=%BIN_DIR%\zlib\lib > SET ZLIB_LIBRARIES_RELEASE=zlib.lib > SET ZLIB_LIBRARIES_DEBUG=zlibd.lib > > SET OPENSSL_INCLUDE_DIR=%BIN_DIR%\openssl\include > SET OPENSSL_LIBRARY_DIR=%BIN_DIR%\openssl\lib > SET OPENSSL_LIBRARIES_RELEASE=libeay32.lib ssleay32.lib > SET OPENSSL_LIBRARIES_DEBUG=libeay32d.lib ssleay32d.lib > > SET SQLITE_INCLUDE_DIR=%BIN_DIR%\sqlite\include > SET SQLITE_LIBRARY_DIR=%BIN_DIR%\sqlite\lib > SET SQLITE_LIBRARIES_RELEASE=sqlite.lib > SET SQLITE_LIBRARIES_DEBUG=sqlited.lib > > > mkdir %QT_SRC_BUILD_DIR% > pushd %QT_SRC_BUILD_DIR% > %QT_SRC_DIR%\configure.bat ^ > -recheck-all ^ > -prefix %BIN_DIR%\qt ^ > -verbose ^ > -opensource ^ > -confirm-license ^ > -release ^ > -shared ^ > -qtnamespace QtSdk ^ > --c++std c++14 ^ > -ltcg ^ > -silent ^ > -nomake tests ^ > -nomake examples ^ > -gui ^ > -widgets ^ > -no-dbus ^ > -zlib ^ > ZLIB_INCDIR="%ZLIB_INCLUDE_DIR%" ^ > ZLIB_LIBDIR="%ZLIB_LIBRARY_DIR%" ^ > ZLIB_LIBS_DEBUG="%ZLIB_LIBRARIES_DEBUG%" ^ > ZLIB_LIBS_RELEASE="%ZLIB_LIBRARIES_RELEASE%" ^ > -ssl ^ > -openssl-runtime ^ > OPENSSL_INCDIR="%OPENSSL_INCLUDE_DIR%" ^ > OPENSSL_LIBDIR="%OPENSSL_LIBRARY_DIR%" ^ > OPENSSL_LIBS_DEBUG="%OPENSSL_LIBRARIES_DEBUG%" ^ > OPENSSL_LIBS_RELEASE="%OPENSSL_LIBRARIES_RELEASE%" ^ > -sql-sqlite ^ > -sqlite ^ > SQLITE_INCDIR="%SQLITE_INCLUDE_DIR%" ^ > SQLITE_LIBDIR="%SQLITE_LIBRARY_DIR%" ^ > SQLITE_LIBS_DEBUG="%SQLITE_LIBRARIES_DEBUG%" ^ > SQLITE_LIBS_RELEASE="%SQLITE_LIBRARIES_RELEASE%" ^ > -proprietary-codecs ^ > -mp ^ > -platform win32-msvc > if %errorlevel% NEQ 0 goto Failed > nmake > if %errorlevel% NEQ 0 goto Failed > nmake docs > if %errorlevel% NEQ 0 goto Failed > nmake install > if %errorlevel% NEQ 0 goto Failed > nmake install_docs > if %errorlevel% NEQ 0 goto Failed > > popd > rmdir /s /q %QT_SRC_BUILD_DIR% > rmdir /s /q %QT_SRC_DIR% > exit 0 > > :MissingArgument > echo Missing expected arguments. > echo. > pause > exit 1 > > :Failed > echo Failed to build. Error Code: %errorlevel% 1>&2 > echo. > popd > pause > exit 2 > > === > > Any assistance in fixing these errors would be greatly appreciated as I’ve > hit a brick wall on this. I’ve confirmed the paths to the libraries are > correct, both name and directory. > > Thanks, > > John Schneiderman > Senior Software Engineer > Galaxy Desktop Team > GOG.com <http://gog.com/> > > _______________________________________________ > Interest mailing list > Interest@qt-project.org <mailto:Interest@qt-project.org> > http://lists.qt-project.org/mailman/listinfo/interest > <http://lists.qt-project.org/mailman/listinfo/interest>
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest