Linux coding/compiling under Linux

Discussion about everything. New games, 3d math, development tips...
Post Reply
r2d2
Posts: 211
Joined: Mon Nov 24, 2003 5:22 pm

Linux coding/compiling under Linux

Post by r2d2 »

Hi, i wanted to aks if someone can recommend me a nice development tool, like M$ Visual Studio that also works under Linux... or that can compile Linux binaries under windows... I know about Cygwin and so on... but i need makefiles to compile with them and i don't have any idea about how to write a makefile...

Thanks in advance
R2
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Guest

Post by Guest »

why dont u use the forum search? this has been discussed already :) also try to search google for "makefile", that should help.

ok, but because i know some flamers will flame me again if i dont write tips: if you search ide´s for linux: kdevelop,anjuta,eclipse,codeblocks :D
JoeWright
Posts: 74
Joined: Mon Dec 08, 2003 3:51 pm

Post by JoeWright »

Borland do a nice free download: CBuilderX++

Joe
r2d2
Posts: 211
Joined: Mon Nov 24, 2003 5:22 pm

Post by r2d2 »

Well sorry GFX this time i really forgot that there's a nice button up there that can be very helpful... sorry
anyway... thx for the help :)
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

try anjuta, and configure it according to this tut:

http://irrlicht.sourceforge.net/phpBB2/ ... inux#29339

it's a very nice ide for linux
Armen138
Posts: 298
Joined: Mon Feb 23, 2004 3:38 am

Post by Armen138 »

I use anjuta for editing but I write makefiles for compiling.... the trouble with makefiles is that
they can be very confusing(look at a few examples, you might find they look totally different)
but once you figure them out, its really easy.... I dont like using the anjuta project settings to
compile because I dont want to depend on one IDE, you never know when something better
comes along.....
if you're looking for me, start looking on irc, i'm probably there.
Guest

Post by Guest »

when iam programming on linux (which does not occur very often since a. my ati is very slow and b. irrlicht´s linux support is not as advanced as windows support and c. i dont use linux much at the moment because of some non-supported hardware) i use a simple text editor (gEdit, it has cool features such as syntax highlighting) and a commandline with a selfwritten makefile to compile the project. thats all you need, i think linux ide´s are somehow confusing compared to just a texteditor and makefiles :) (its good to learn how to use makefiles anyway when you want to know linux a little better)
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

yup, Gfx has also got a point. It depends on how you like to work.

When I work with a text editor in linux, I like to use SciTe (scintilla text editor). It's Gtk based editor that recognizes and highlights almost every programming language out there, and it also has compile and build functions.

It's got both windows and linux versions, but the compiling options work better with linux's make files.

http://www.scintilla.org/SciTE.html
blackbirdXXX
Posts: 20
Joined: Tue Sep 21, 2004 9:08 pm

Post by blackbirdXXX »

I'm using Anjuta and g++ 4.0
Since i'm working on Gnome I use Anjuta. But I have not tried the new 2.0 Release because I'm too lazy compiling it :wink:
Guest

Post by Guest »

you got a system with gcc 4.0 ? i tried to do a linux from scratch with gcc 4.0 but it does not want to compile glibc! that sucks! :) i was so upset about it that i installed my gentoo backup again
blackbirdXXX
Posts: 20
Joined: Tue Sep 21, 2004 9:08 pm

Post by blackbirdXXX »

GFXstyLER wrote:you got a system with gcc 4.0 ? i tried to do a linux from scratch with gcc 4.0 but it does not want to compile glibc! that sucks! :) i was so upset about it that i installed my gentoo backup again
I'm using UbuntuLinux 5.04.
The new gcc is available in the universe repository.
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

Post by schick »

I haven't read the whole thread but you can easily create Makefiles using cMake. Furthermore you might want to have a look at MinGW, which provides a nicely licenzed "linux" like environment.

Cheers,

Schick
Please send me an e-mail instead of a private message.
melon2005

kdevelop works great

Post by melon2005 »

I recomend using Kdevelop (my version is 3.2).
All you have to do is (taken from example make files) add

Code: Select all

 -I"<patch2irrlicht>/include" -I"/usr/X11R6/include" -L"/usr/X11R6/lib" -L"<path2irrlicht>/lib/Linux" -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lz -ljpeg
in project options (CXXFLAGS in compiler options). (also CXX option above should be set to g++)

Also code completion is working for Irrlicht (as many other) after adding include directory to Project Options->specific for C++ -> code completion

Nothing more I need to have comfortable enviroment! It's GREAT!
Post Reply