[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] FTGL Removed!
From: |
Jon Kinsey |
Subject: |
Re: [Bug-gnubg] FTGL Removed! |
Date: |
Tue, 18 Oct 2005 17:02:41 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7 |
macherius wrote:
> Hi,
>
> I have trouble compiling widget3d.c from the latest CVS (as per today). I'm
> using VS2004, ICC8.1 and GTK 2.8.6 (of course, lol). The configuration is
> Jon's msdev config from CVS modified to reflect my different Path and
> librabry structure. All but "board3d/widget3d.c" compiles just fine. It also
> seems to run fine with 2.8.6, with the one exception of the file dialogs,
> which immediately dump core. "PIXELFORMATDESCRIPTOR" and friends live in
> <WinGDI.h> in the MS include world, but just including that file won't fix
> it. Any idea?
Comment out the CheckAccelerated() code just change line 269 to:
#if 0
This will let it run using the msdev compiler.
Jon
> Here is the error I get:
>
> ===============================S====N====I====P=============================
> ======
> ------ Erstellen gestartet: Projekt: board3d, Konfiguration: Release Win32
> ------
>
> Compiling with Intel(R) C++ 8.1 ...(Intel C++ Environment)
> widget3d.c
> ..\board3d\widget3d.c(281): error: identifier "PIXELFORMATDESCRIPTOR" is
> undefined
> PIXELFORMATDESCRIPTOR pfd;
> ^
>
> ..\board3d\widget3d.c(284): warning #266: function declared implicitly
> int format = GetPixelFormat(hdc);
> ^
>
> ..\board3d\widget3d.c(294): warning #266: function declared implicitly
> if (!DescribePixelFormat(hdc, format, sizeof(PIXELFORMATDESCRIPTOR),
> &pfd))
> ^
>
> ..\board3d\widget3d.c(294): error: identifier "PIXELFORMATDESCRIPTOR" is
> undefined
> if (!DescribePixelFormat(hdc, format, sizeof(PIXELFORMATDESCRIPTOR),
> &pfd))
> ^
>
> ..\board3d\widget3d.c(300): error: identifier "PFD_GENERIC_FORMAT" is
> undefined
> *accl = !((pfd.dwFlags & PFD_GENERIC_FORMAT) && !(pfd.dwFlags &
> PFD_GENERIC_ACCELERATED));
> ^
>
> ..\board3d\widget3d.c(301): error: identifier "PFD_DOUBLEBUFFER" is
> undefined
> *dbl = pfd.dwFlags & PFD_DOUBLEBUFFER;
> ^
>
> ..\board3d\widget3d.c(323): warning #266: function declared implicitly
> HDC dc = wglGetCurrentDC();
> ^
>
> ..\board3d\widget3d.c(323): warning #144: a value of type "int" cannot be
> used to initialize an entity of type "HDC"
> HDC dc = wglGetCurrentDC();
> ^
>
> compilation aborted for ..\board3d\widget3d.c (code 2)
>
> Build log was saved at
> "file://C:\DOKUME~1\Ingo\LOKALE~1\Temp\Intermediate\Release\BuildLog.htm"
> board3d - 4 error(s), 4 warning(s)
>
> ===============================S====N====I====P=============================
> ======
>
> Thx,
> Ingo
>
>
>>-----Original Message-----
>>Subject: Re: [Bug-gnubg] FTGL Removed!
>>
>>
>>Jon Kinsey wrote:
>>
>>>Ok, who is a config expert? I could "have a go", but I'd mostly be
>>>guessing...
>>
>>Ok, I've "had a go"... It may all work ok now (I'll try it on
>>my linux box in a minute). Anyone else who can try building
>>would help.
>>
>>Note that I've tidied things up a bit (remove myftgl.h and
>>myftgl.c and limited the use of freetype to the font building).
>>
>>Jon
>>
>
>
>
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
>
>
signature.asc
Description: OpenPGP digital signature