| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#21
| |||
| |||
| On Jul 14, 7:42*pm, Bitty <bi...@nospam.chello.nl> wrote: > Raj schreef: > > > Hi Friends, > > > * I am in a task to convert the Existing (Windows XP) Delphi 7 Project > > to Unix platform supported. i am very new to this Unix, i have not > > worked on that yet, i am trying for the good solution to do this, I > > have visited some sites they have mentioned that Kylix and Lazarus > > compilers (IDE) and some free Pascal compilers can do this job, but > > that too complex process. > > Can any one please help me on this. > > > Thanks in advance. > > > Rajkumar D. > > Probably you can (should) be thinking of porting your exisiting > application to OpenGL? This makes it possible to use controls and window > structures independant from the system you are running, and is a platorm > what runs on both Windows and Linux, so compiling different versions of > your program wouldn't be a hassle... > > Success! > > Johan. Hi Johan, Where can i download this OpenGL, And where should i install either in linux or windows platform. |
|
#22
| |||
| |||
| On 2008-07-24, Raj <rajkumar.ad@gmail.com> wrote: > Hi Johan, Where can i download this OpenGL, And where should i install > either in linux or windows platform. Opengl is standardly in most systems. However, keep in mind it is a drawing api, not a windowing api. You'll have to do everything manually, and the apps will feel non-native. |
|
#23
| |||
| |||
| Raj schreef: > On Jul 14, 7:42 pm, Bitty <bi...@nospam.chello.nl> wrote: >> Raj schreef: >> >>> Hi Friends, >>> I am in a task to convert the Existing (Windows XP) Delphi 7 Project >>> to Unix platform supported. i am very new to this Unix, i have not >>> worked on that yet, i am trying for the good solution to do this, I >>> have visited some sites they have mentioned that Kylix and Lazarus >>> compilers (IDE) and some free Pascal compilers can do this job, but >>> that too complex process. >>> Can any one please help me on this. >>> Thanks in advance. >>> Rajkumar D. >> Probably you can (should) be thinking of porting your exisiting >> application to OpenGL? This makes it possible to use controls and window >> structures independant from the system you are running, and is a platorm >> what runs on both Windows and Linux, so compiling different versions of >> your program wouldn't be a hassle... >> >> Success! >> >> Johan. > > Hi Johan, Where can i download this OpenGL, And where should i install > either in linux or windows platform. Hi Raj, OpenGL might be a solution, but as Marco said you have to design and write your API yourself, and it is not a API-native product. It was a kind of mistake from me to notice this library, while I meant GTK (see my previous posting, 17-07-2008 20:27). If you still want to try OpenGL, here is the link: http://www.opengl.org, but be aware that the library is NOT written in Delphi or Pascal. Most of the time it is written in C++. I don't know your programming skills in C++, but to me it is rather difficult to port the library to Pascal. Maybe someone else has got a solution? Greetings, Johan. |
|
#24
| |||
| |||
| On 2008-07-25, Bitty <bitty@nospam.chello.nl> wrote: > OpenGL might be a solution, but as Marco said you have to design and > write your API yourself, and it is not a API-native product. It was a > kind of mistake from me to notice this library, while I meant GTK (see > my previous posting, 17-07-2008 20:27). > If you still want to try OpenGL, here is the link: > http://www.opengl.org, but be aware that the library is NOT written in > Delphi or Pascal. Hehehe, it is kind of funny that while reading this, I'm actually working on validating an OpenGL control in Delphi that sb else developed with FPC. > Most of the time it is written in C++. I don't know your programming > skills in C++, Using a lib is independant on what the lib is written in. It is dependant on what the interface is. In Opengl this is no problem since the interface is written on a plain C level. Some other (sucky) libs only have C++ interfaces. These are harder from Delphi to interface, but are also hard to interface using any C++ compiler that is not the C++ compiler the libs are compiled with. > but to me it is rather difficult to port the library to > Pascal Contrary to most C++ compilers, all major pascals (Lazarus/FPC,Delphi) come with opengl headers preinstalled. (though older Delphi's need an update) > Maybe someone else has got a solution? |
|
#25
| |||
| |||
| Marco van de Voort schreef: > On 2008-07-25, Bitty <bitty@nospam.chello.nl> wrote: > >> OpenGL might be a solution, but as Marco said you have to design and >> write your API yourself, and it is not a API-native product. It was a >> kind of mistake from me to notice this library, while I meant GTK (see >> my previous posting, 17-07-2008 20:27). > >> If you still want to try OpenGL, here is the link: >> http://www.opengl.org, but be aware that the library is NOT written in >> Delphi or Pascal. > > Hehehe, it is kind of funny that while reading this, I'm actually working on > validating an OpenGL control in Delphi that sb else developed with FPC. > >> Most of the time it is written in C++. I don't know your programming >> skills in C++, > > Using a lib is independant on what the lib is written in. It is dependant on > what the interface is. In Opengl this is no problem since the interface is > written on a plain C level. > I agree, but I thought OpenGL was written in some foreign C/C++ dialect which was difficult porting to other platforms. I couldn't find any useful docs on this topic (until now!), and tomorrow I will try to get my stuff up and running. Good tip! > Some other (sucky) libs only have C++ interfaces. These are harder from > Delphi to interface, but are also hard to interface using any C++ compiler > that is not the C++ compiler the libs are compiled with. > >> but to me it is rather difficult to port the library to >> Pascal > > Contrary to most C++ compilers, all major pascals (Lazarus/FPC,Delphi) come > with opengl headers preinstalled. (though older Delphi's need an update) > >> Maybe someone else has got a solution? > Some research brought up the next websites: 1. http://www.freepascal.org/packages/opengl.html (official OpenGL for FPC/Lazarus) 2. http://www.friends-of-fpc.org/tutori...phics/dlx_ogl/, (a nice tutorial on using OpenGL and FPC) Of course, you can search for yourself on fpc and opengl by Google (or any other search engine you're using) Johan. |
|
#26
| |||
| |||
| On 2008-07-25, Bitty <bitty@nospam.chello.nl> wrote: >>> Most of the time it is written in C++. I don't know your programming >>> skills in C++, >> >> Using a lib is independant on what the lib is written in. It is dependant on >> what the interface is. In Opengl this is no problem since the interface is >> written on a plain C level. >> > I agree, but I thought OpenGL was written in some foreign C/C++ dialect > which was difficult porting to other platforms. Well, afaik nvidia simply supports it on e.g. FreeBSD and Linux. And even if that is true, a normal C++ compiler could do as little with it as Pascal. >> >> Contrary to most C++ compilers, all major pascals (Lazarus/FPC,Delphi) come >> with opengl headers preinstalled. (though older Delphi's need an update) >> >>> Maybe someone else has got a solution? >> > Some research brought up the next websites: > 1. http://www.freepascal.org/packages/opengl.html (official OpenGL for > FPC/Lazarus) > 2. http://www.friends-of-fpc.org/tutori...phics/dlx_ogl/, (a nice > tutorial on using OpenGL and FPC) (and some posts on www.pascalgamingdevelopment.com's forum) |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.