This file is actually part of Kylix. The problem is probably the case of the letters. You may test: xLib, XLib, Xlib.. Or simply search for the file If the first xlib the compiler finds is written in wrong case, it will complain, but if the first xlib found in a project is written right, the compiler seems not to have a problem with the case anymore.
No this would make no sense, as the xlib unit is only used for accessing the XServer, which is unix specific. It is only needed for initialization, so you won't need it under windows. You could use compiler directives, if you plan to use one initialization-unit for win32 and linux.
Registriert: Sa Mai 04, 2002 19:48 Beiträge: 3827 Wohnort: Tespe (nahe Hamburg)
Or trying a work-around with something completly different using SDL. Currently we don't have any templates for kylix, but have a look at the freepascal template. It shall be easy to port it.
_________________ "Light travels faster than sound. This is why some people appear bright, before you can hear them speak..."
Registriert: Do Dez 11, 2003 13:23 Beiträge: 25 Wohnort: South Africa
Hi Flow
I have tried using SDL, and it works, but I need to examine all the available options before I make a decision on what to use for the cross platform code.
I was thinking that perhaps I shoudl look into glut also.
Any of you guys used glut in kylix before?
_________________ Im out of my mind but please leave a message...
www.sulaco.co.za
Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
Being dependend on lots of external libraries is a bad thing i think. Therefore i have a template for win32 and a template for Linux. My code comes in a unit. All i have to do then is compile it. Take a look at the template that comes with the gl3ds or gui example program.
Registriert: Sa Mai 04, 2002 19:48 Beiträge: 3827 Wohnort: Tespe (nahe Hamburg)
In fact you shouldn hurry up with decision about libaries. But I think SDL is really the best possible way that is avaible. You do not need to write extra ports for window creation for windows and linux, nor do you need (for us windows programmers) exotic x libaries. I also think that SDL is really worth learning and as long as some commercial games (UT2004) are using SDL for their linux ports, I am quite sure it won't disappear from one day to the other. Blut in fact should be seen as absolute evil. Plz save your time and stay away
btw: Nice to see here some action
_________________ "Light travels faster than sound. This is why some people appear bright, before you can hear them speak..."
Mitglieder in diesem Forum: 0 Mitglieder und 10 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.