Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-11

copmpiling the glu.pp fails on win32

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

Copmpiling the lastest glu.pp fails on win32.

make.exe[3]: Entering directory
`C:/lazarus/source/fpc-1.9/packages/extra/opengl'
c:/lazarus/source/fpc-1.9/compiler/ppc386.exe -Xs -OG2p3 -n -FuC:/lazarus/source/fpc-1.9/rtl/units/i386-win32 -FE. -FUunits/i386-win32 -di386 -dRELEASE glu.pp
glu.pp(512,38) Error: Identifier not found "getlastdlerror" glu.pp(512,53) Error: Illegal expression
glu.pp(538) Fatal: There were 2 errors compiling module, stopping

getlastdlerror is declared in DLLFuncs, which is not used on win32.

It might be appropiate to use GetLastError on win32 instead, but I am not sure.

Regards,
Vincent.

Jonas Maebe
to Vincent Snijders
Vincent Snijders wrote 5 lines
glu.pp(512,38) Error: Identifier not found "getlastdlerror" glu.pp(512,53) Error: Illegal expression glu.pp(538) Fatal: There were 2 errors compiling module, stopping getlastdlerror is declared in DLLFuncs, which is not used on win32.

Sorry, it should be fixed now.

It might be appropiate to use GetLastError on win32 instead, but I am not sure.

I've simply deleted the call to getlastdlerror, it was only there for debugging purposes.

Jonas