Thread: [Plib-users] plib app from windows to linux
Brought to you by:
sjbaker
From: sickz6sickz <sic...@ho...> - 2003-05-05 10:46:00
|
Hi all, I've made my application with plib and Borland builder 6 on my windows platform. I want to make my application work on linux. I've got redhat linux 7.3 installed on a vmware machine. I was hoping you could help me out by suggesting things I need to do. I should point out that I have no knowledge of programming under linux. Here are my questions: Does plib work with redhat linux 7.3 straight out of the box or do I need to modify one or both installations? What do I use to program c++ on Linux, is it gcc? Is glut installed on Linux as default or do I need to install it myself? I'm a little confused on what I read about openGL implementations on Linux. I keep hearing about mesa. I've not modified the openGL library myself within my app so do I need to install the openGL source and compile it on Linux or can I just get hold of some binaries? Anyone have a tutorial or guide that might help? I read this somewhere on how to find what openGL version I have installed under Linux. Rpm -qa | grep glibc Gives me: Compat-glic-6.2-2.1.3.2 Glibc-kernheaders-2.4-7.14 Glibc-common-2.2.5-34 Glibc-devel-2.2.5-34 Glibc-2.2.5-34 On windows I used the openGL binary that came with XP. Sorry for asking really dumb questions but I really don't have a clue about what I'm supposed to do. Thanks in advance -simon |
From: Simon <sim...@ho...> - 2003-05-05 10:46:36
|
Hi all, I've made my application with plib and Borland builder 6 on my windows platform. I want to make my application work on linux. I've got redhat linux 7.3 installed on a vmware machine. I was hoping you could help me out by suggesting things I need to do. I should point out that I have no knowledge of programming under linux. Here are my questions: Does plib work with redhat linux 7.3 straight out of the box or do I need to modify one or both installations? What do I use to program c++ on Linux, is it gcc? Is glut installed on Linux as default or do I need to install it myself? I'm a little confused on what I read about openGL implementations on Linux. I keep hearing about mesa. I've not modified the openGL library myself within my app so do I need to install the openGL source and compile it on Linux or can I just get hold of some binaries? Anyone have a tutorial or guide that might help? I read this somewhere on how to find what openGL version I have installed under Linux. Rpm -qa | grep glibc Gives me: Compat-glic-6.2-2.1.3.2 Glibc-kernheaders-2.4-7.14 Glibc-common-2.2.5-34 Glibc-devel-2.2.5-34 Glibc-2.2.5-34 On windows I used the openGL binary that came with XP. Sorry for asking really dumb questions but I really don't have a clue about what I'm supposed to do. Thanks in advance -simon |
From: Steve B. <sjb...@ai...> - 2003-05-05 13:07:42
|
Simon wrote: > Hi all, I?ve made my application with plib and Borland builder 6 on my > windows platform. I want to make my application work on linux. I?ve > got redhat linux 7.3 installed on a vmware machine. I was hoping you > could help me out by suggesting things I need to do. I should point out > that I have no knowledge of programming under linux. Here are my > questions: Well, if you used only PLIB calls (and perhaps some OpenGL and GLUT) then it should port to Linux with minimal problems. However, if you used a ton of Windoze API calls for things like opening windows and driving the GUI, then you may have a major rewrite on your hands. > Does plib work with redhat linux 7.3 straight out of the box or do I > need to modify one or both installations? No - it should work straight out of the box. > What do I use to program c++ on Linux, is it gcc? Yes - the C++ compiler is called 'g++' - but it's really just gcc. > Is glut installed on Linux as default or do I need to install it myself? I don't think RedHat installs it by default - but I could be wrong about that. You should be able to find an RPM for it - but (as with ALL other libraries), be sure to specify that you want the DEVELOPER version of the RPM - otherwise it probably won't install the header files. > I?m a little confused on what I read about openGL implementations on > Linux. I keep hearing about mesa. I?ve not modified the openGL library > myself within my app so do I need to install the openGL source and > compile it on Linux or can I just get hold of some binaries? Mesa is an OpenSourced implementation of OpenGL - depending on what graphics card you have, you may want to use Mesa - or some other OpenGL driver. If you have an ATI Radion or an nVidia card - use the drivers on their respective web sites. Otherwise you'll probably want Mesa. There are a couple of 3D cards that don't have free drivers (eg 3DLabs) and you'd have to *buy* a 3rd party commercial driver from a company like XiG (they charge a small fortune though - it would be cheaper to buy a different graphics card!). There are also some 3D cards which are completely unsupported under Linux. What hardware do you have? ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |