PDA

View Full Version : Qt 4.8.3 compile errors statically



yaseminyilmaz
26th September 2012, 11:59
Hi all,

I try to compile Qt 4.8.3 with MinGW on Windows 7 Professional. I follow the http://qt-project.org/wiki/How_to_build_a_static_Qt_version_for_Windows_with_ gcc. But the following errors has been thrown after I run "mingw32-make". Is there anyone who encountered with such problem? What can the problem be?

mingw32-make[2]: *** [tmp/obj/release_static/qisciicodec.o] Error 1
mingw32-make[2]: Leaving directory 'C:/QtSTATIC/4.8.3/src/tools/bootstrap'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory 'C:/QtSTATIC/4.8.3/src/tools/bootstrap'
mingw32-make: *** [sub-tools-bootstrap-make_default-ordered] Error 2

Thanks advance for your helps and explanations,

amleto
26th September 2012, 20:46
http://www.qtcentre.org/forums/5-Installation-and-Deployment

yaseminyilmaz
27th September 2012, 07:18
The environment variables INCLUDE/LIB/LIBPATH/PATH have been set for Visual Studio compiler and I’ve realised it is the source of this error.
This problem has been solved after I’ve removed the ones related to Visual Studio compiler from the environment variables.
The disscussion at link http://qt-project.org/forums/viewthread/9192 has been very helpful to understand this problem.

Thanks,