Unsolved zconf.h no such file or directory
-
Im build qt5.5 source from source in windows 10 using x64 vs2010. I am facing this error zconf.h no such file or directory. can anyone please help me to resolve this.
-
Hi @Shidharth
May https://bugreports.qt.io/browse/QTBUG-48237 be related to your problem?
-
No, im getting this error,
qbytearray.cpp(48) : fatal error C1083: Cannot open include file: 'zconf.h': No such file or directory -
Qt5Bootstrap.lib(qbytearray.obj) : error LNK2019: unresolved external symbol uncompress referenced in function "class QByteArray __cdecl qUncompress(unsigned char const *,int)" (?qUncompress@@YA?AVQByteArray@@PEBEH@Z)
Qt5Bootstrap.lib(qbytearray.obj) : error LNK2019: unresolved external symbol compress2 referenced in function "class QByteArray __cdecl qCompress(unsigned char const *,int,int)" (?qCompress@@YA?AVQByteArray@@PEBEHH@Z)
......\bin\moc.exe : fatal error LNK1120: 2 unresolved externalsnow im getting this error, please help me to resolve this
-
I really wonder if Qt5.5 could be compiled with vs2010 / 64bit at all... would suggest using a recent Qt version and a compiler which is not 8 years old :)
-
@Christian-Ehrlicher we already using Qt5.5 with x86, now we want to add support for x64 so only we are building the source with Qt5.5. Please let me know what i am missing and let me know to resolve this.
-
@Shidharth zconf.h is from zlib. Do you have zlib library and header files?
-
yes I have downloaded it from zlib.net and set path of include and lib folder. Now it throws the linker errors. https://forum.qt.io/topic/89207/zconf-h-no-such-file-or-directory/5
-
@Shidharth You should now start from a clean state without any artefacts from previous builds
-
@jsulm Thanks. I will clean and try build the source, I will update details once it is succeeded.