Frustration is starting to kill me : QT 2 Win32 and freetype.h
problems function has been defined already
Dutch SMI Development
dutchsmidevelopment at wanadoo.nl
Mon Oct 13 23:41:55 CEST 2003
Dear all,
I have been trying to for one week to compile QT 2 X11 based version under cygwin. Due to a lot of linking problems with X11 I decided to download the win32 version using
cvs -d :pserver:anonymous at cvs.kde-cygwin.sf.net:/cvsroot/kde-cygwin co -r QT_WIN32_2_BRANCH qt-2
Now I notice that there are still X11 related flags in the makefile. For instance :
SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
but also I notice that in configure.cygwin there is still for example the xft flag (which leads to the rather vague problem with where freetype\freetype.h is missing in the X11\xft.h header file. I also found a bug report on the Internet stating that this error is still open for the X11 lib: http://mail-index.netbsd.org/netbsd-bugs/2003/06/10/0000.html
I tried to install freetype but this was so very much undocumented that I stopped trying. freetype is also coming with X11 but the header files are located in a freetype2\freetype directory. Why is this ???. I extended the include path to the point where the X11 freetype headers where located but this led to a lot of "function has been redefined errors". The header files where found but for some reason the functions already declared in for example stdlib.h where redeclared.)
Now I wonder
- Whether it is correct that the QT_WIN32_2_BRANCH still contains X11 references ?
- Does somebody know how one can prevent the "function has been redefined" error. I had this error several time using open sources. It seems to have something to do with libraries and header files that are compiled more than once for some reason. If I would understand the mechanism than I could possibly solve this myself.
kind regards from marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-cygwin/attachments/20031013/648da3e5/attachment.htm
More information about the kde-cygwin
mailing list