How to setup kde4 on windows?

Andreas Pakulat apaku at gmx.de
Sat Apr 7 16:58:30 CEST 2007


On 07.04.07 09:50:16, Christian Ehrlicher wrote:
> Andreas Pakulat schrieb:
> > However neither with system-jpeg support nor with qt-jpeg it builds
> > fine. I also can't seem to get the system-png to work. Basically it
> > seems that even though I have -L'ed the various gnuwin32 and win32libs
> > lib and bin dirs (not sure if both are needed, but the bin contains all
> > the dll's and the lib all those .lib files) it can't link to libjpeg.
> > What is a bit weird IMHO that the gcc-command uses -ljpeg.lib, is that
> > correct? (Never built a shared lib on windows or linked to it). For png
> > the problem seems to be mainly that Qt expects libpng and not libpng12
> > or libpng13.
> Just use built-in support from qt which works fine (if not, your system
> is not set up correct). I don't know why someone wants to use system-foo
> support on win32...

Ok, I tried with built-in qt libs for everything, but I'm getting
undefined references when linking the jpeg plugin. The exact output is
at the end of the mail.

I'm going to try qt4.3beta sources from TT next.

Andreas

Output from compilation:

g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,d:\MinGW\sources\qt-copy\plugins\image
formats\libqjpegd4.a -o "..\..\..\..\plugins\imageformats\qjpegd4.dll" object_sc
ript.qjpegd.Debug  -L"d:\MinGW\sources\qt-copy\lib" -L"d:\MinGW\sources\qt-copy\
lib" tmp\obj\debug_shared\qjpegd_resource_res.o -LD:\MinGW\win32libs\lib -lQtGui
d4 -lQtCored4
Creating library file: d:\MinGW\sources\qt-copy\plugins\imageformats\libqjpegd4.
a
./tmp\obj\debug_shared\qjpeghandler.o: In function `Z15read_jpeg_imageP9QIODevic
eP6QImageRK10QByteArray5QSizei':
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:622: und
efined reference to `_imp__jpeg_CreateDecompress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:626: und
efined reference to `_imp__jpeg_std_error'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:633: und
efined reference to `_imp__jpeg_read_header'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:636: und
efined reference to `_imp__jpeg_start_decompress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:716: und
efined reference to `_imp__jpeg_read_scanlines'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:741: und
efined reference to `_imp__jpeg_finish_decompress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:790: und
efined reference to `_imp__jpeg_read_scanlines'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:794: und
efined reference to `_imp__jpeg_finish_decompress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:830: und
efined reference to `_imp__jpeg_destroy_decompress'
./tmp\obj\debug_shared\qjpeghandler.o: In function `Z16write_jpeg_imageRK6QImage
P9QIODevicei':
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:910: und
efined reference to `_imp__jpeg_std_error'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:918: und
efined reference to `_imp__jpeg_CreateCompress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:942: und
efined reference to `_imp__jpeg_set_defaults'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:964: und
efined reference to `_imp__jpeg_set_quality'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:965: und
efined reference to `_imp__jpeg_start_compress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:1033: un
defined reference to `_imp__jpeg_write_scanlines'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:1036: un
defined reference to `_imp__jpeg_finish_compress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:1037: un
defined reference to `_imp__jpeg_destroy_compress'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:1040: un
defined reference to `_imp__jpeg_destroy_compress'
./tmp\obj\debug_shared\qjpeghandler.o: In function `Z6qRoundd':
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:(.text$_
ZN18my_jpeg_source_mgrC1EP9QIODevice[my_jpeg_source_mgr::my_jpeg_source_mgr(QIOD
evice*)]+0x33): undefined reference to `_imp__jpeg_resync_to_restart'
D:/MinGW/sources/qt-copy/src/plugins/imageformats/jpeg/qjpeghandler.cpp:(.text$_
ZN16jpegSmoothScaler8scanLineEiPK6QImage[jpegSmoothScaler::scanLine(int, QImage
const*)]+0x32): undefined reference to `_imp__jpeg_read_scanlines'
collect2: ld returned 1 exit status
mingw32-make[8]: *** [..\..\..\..\plugins\imageformats\qjpegd4.dll] Error 1
mingw32-make[8]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins/imagefo
rmats/jpeg'
mingw32-make[7]: *** [debug] Error 2
mingw32-make[7]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins/imagefo
rmats/jpeg'
mingw32-make[6]: *** [all] Error 2
mingw32-make[6]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins/imagefo
rmats/jpeg'
mingw32-make[5]: *** [sub-jpeg-make_default] Error 2
mingw32-make[5]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins/imagefo
rmats'
mingw32-make[4]: *** [all] Error 2
mingw32-make[4]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins/imagefo
rmats'
mingw32-make[3]: *** [sub-imageformats-make_default] Error 2
mingw32-make[3]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins'
mingw32-make[2]: *** [all] Error 2
mingw32-make[2]: Leaving directory `D:/MinGW/sources/qt-copy/src/plugins'
mingw32-make[1]: *** [sub-plugins-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `D:/MinGW/sources/qt-copy'
mingw32-make: *** [all] Error 2

D:\MinGW\sources\qt-copy>mingw32-make

-- 
You will be traveling and coming into a fortune.



More information about the Kde-windows mailing list