LOL, now i see what u mean :lol:
GL_LIGHTING is the OpenGL name and TGLXLighting is the component, the .pas mane is wrong =)
LOL, now i see what u mean :lol:
GL_LIGHTING is the OpenGL name and TGLXLighting is the component, the .pas mane is wrong =)
Amnoxx
Oh, and this code appears to be an approximate replacement for return(random() & 0x01);
Phoenix Wiki
http://www.phoenixlib.net/
Phoenix Forum
http://www.pascalgamedevelopment.com/viewforum.php?f=71
Awesome Component m8, I just love it keep up the good work
/ Kenneth
Trying to install the package in Delphi 5 (dpk file) it says the rtl in the USES cannot be found .. Where do I get this rtl?
The lastest version cannot be installed unless I uninstall glscene package. Is there anyway to install both packages?
Don't know where, if, you can get it, but don't think it's required, delphi added it when i created the package. Just remove it.Originally Posted by Philth
It complained about GLScreen i guess ? I can fix this by renaming the unit.Originally Posted by super[x]
Found another bug in the installation program today =/ I'll fix it and upload later.
Amnoxx
Oh, and this code appears to be an approximate replacement for return(random() & 0x01);
Phoenix Wiki
http://www.phoenixlib.net/
Phoenix Forum
http://www.pascalgamedevelopment.com/viewforum.php?f=71
Well, removed all the uses ... It still tries installing, but gets stuck on some internal error .. So much for doing it by hand. No idea why this wont go in Delphi5..
I don't have D5 myself, tried with D4 but that will never work so D4 is excluded from the version supported list, where lies the problem in D5 ?
Amnoxx
Oh, and this code appears to be an approximate replacement for return(random() & 0x01);
Phoenix Wiki
http://www.phoenixlib.net/
Phoenix Forum
http://www.pascalgamedevelopment.com/viewforum.php?f=71
Well, going through the DPK file ... I need to remove the 'requires' stuff out entirely.. D5 doesnt have any of that .. After that, it complains that GLFont.pas is not found, when it should be GLXFont.pas .. So i fixed that type in the DPK (Looks like its also a typo in the D6 DPK also) .. So then I try and install once more and it looks like it almost gets through it all till it gets to GLXScreens.pas .. Line 228 - Internal Error ..
Paste:
[Fatal Error] GLXScreens.pas(22: Internal error: C10652
Section of code:
//------------------------------------------------------------------------------
function TGLXDrawDisplay.GetMode: TGLXDisplayMode;
begin
Result:=FModes[FCurrentMode];
end;
.... the end; is line 228 .. This is almost the end of the file.
Hope this helps as i'm really interested in getting this to work in Delphi5 if possible.
I had a similar problem with installing Omega when PowerDraw was already installed. The problem then was because the DirectX header files were contained in both libraries. I created a separate library called 'DirectX' containing the DirectX headers, and then added that to the requires clause of the Omega and PowerDraw libraries. I guess if you do something similar with the OpenGL header, you should be able to get it to work.
[size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]
I don't thing it's a header problem because the OpenGL headers v1.0 wich i'm using is included with delphi. The Internal Error is wery strange, need to get a copy of d5 and test it out. Going to look trough all my uses etc and remove al unused and wrong includes, hopefully this gets rid of many of these dumb errors.
Have patience
Fixed the D5 error, i never used the function so just deleted it and the assosiated property, will upload a new version tomorrow. it's midnight here now, soon time to sleep =)
Amnoxx
Oh, and this code appears to be an approximate replacement for return(random() & 0x01);
Phoenix Wiki
http://www.phoenixlib.net/
Phoenix Forum
http://www.pascalgamedevelopment.com/viewforum.php?f=71
Bookmarks