PDA

View Full Version : Error compiling Qt 4.0 in Debug mode



Doug Broadwell
10th October 2006, 21:12
I get the following error trying to compile QT in debug mode:

g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
ime-pseudo-reloc -Wl,-s -Wl,-s -shared -Wl,--out-implib,c:\Data\Qt\4.2.0\plugins
\imageformats\libqjpeg1.a -o "..\..\..\..\plugins\imageformats\qjpeg1.dll" objec
t_script.qjpeg.Release -L"c:\Data\Qt\4.2.0\lib" -L"c:\Data\Qt\4.2.0\lib" tmp\ob
j\release_shared\qjpeg_resource_res.o -lQtGui4 -lQtCore4
C:\Data\Qt\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\. .\..\..\mingw32\bin\ld.exe: ca
nnot open output file ..\..\..\..\plugins\imageformats\qjpeg1.dll: Permission de
nied
collect2: ld returned 1 exit status
mingw32-make[4]: *** [..\..\..\..\plugins\imageformats\qjpeg1.dll] Error 1
mingw32-make[4]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins/imageformats/jp
eg'
mingw32-make[3]: *** [release-all] Error 2
mingw32-make[3]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins/imageformats/jp
eg'
mingw32-make[2]: *** [sub-jpeg-make_default] Error 2
mingw32-make[2]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins/imageformats'
mingw32-make[1]: *** [sub-imageformats-make_default] Error 2
mingw32-make[1]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins'
mingw32-make: *** [debug-plugins] Error 2

?? Help.

Thanks

e8johan
11th October 2006, 09:15
Permission denied when trying to write to dlls and exes is usually because the dll/exe is in use. Try closing all Qt based applications you've got an make again.