OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: Peter Silie on August 27, 2008, 01:10:03 PM



Title: OA on Linux
Post by: Peter Silie on August 27, 2008, 01:10:03 PM
Hi there,

is there someone who wants to help me to setup an IDE for developing oa on Linux?
But be warned: i never coded C under Linux before.

THX


Title: Re: OA on Linux
Post by: Cacatoes on August 27, 2008, 02:08:32 PM
Isn't there some documentation on the wiki ?
If you get IDE working, that would be nice if you report missing infos there.

Otherwise, I'd say, do not wait for others to tell you, and Just try :P


Title: Re: OA on Linux
Post by: Peter Silie on August 27, 2008, 02:51:09 PM
Thanks for your quick reply,

the IDE is my biggest problem: i do not know which IDE i should use.
Any hints?


Title: Re: OA on Linux
Post by: Cacatoes on August 27, 2008, 03:10:30 PM
Depends on which environment you run (KDE, gnome ?), and on your own preferences.
You may not need any IDE at all, some prefer to work just with vim :P
If i'm not wrong, there is just ioquake3 sourcecode to handle, rest is assets and do not need IDE.
Some would reply you better than me at this.


Title: Re: OA on Linux
Post by: sago007 on August 27, 2008, 04:04:33 PM
In the beginning I used gedit for editing Open Arena.

I now use NetBeans. I like that it does not force you to put your source files in a specific they or handle you make files for you. In fact it stores in project files in a completly different place so the source has no evidence it was changed with an IDE (and I consider that a good thing)


Title: Re: OA on Linux
Post by: personman on August 28, 2008, 05:12:44 AM
I've used gedit in gnome for editing PHP files, and Kate or KWrite in KDE4 for OAF.

Edit: I do have to go in and delete the temporary/backup files they create before I make new patches, just fyi.


Title: Re: OA on Linux
Post by: Peter Silie on August 28, 2008, 07:58:06 AM
I now use NetBeans.

That is what i want to hear.
I used NB long time ago for a javaproject but the C-Support was not got (like Eclipse was).
Seems that they had improved the Support for C/C++.

Maybe i could ask you in IRC if i have some questions about the Configuration (NB <-> OA)?
I saw, that i can use IRC to get in direct contact with you.

personman: found the .patch-File and inspected it. Thank you for reply in the other thread.


Title: Re: OA on Linux
Post by: sago007 on August 28, 2008, 12:12:30 PM
Maybe i could ask you in IRC if i have some questions about the Configuration (NB <-> OA)?
I can't really answer much. I don't use any of NetBeans functions apart from auto complete. I just created a NetBeans C/C++ project from existing source and told there my make file was.

I use a script for compiling and running (I don't use NetBeans for that):
Code:
make && cd build/release-linux-x86_64/baseq3 && rm vm/vm.d && zip -r /path/to/openarena/modname/modname.pk3 vm && /path/to/openarena/openarena.x86_64 +set fs_game modname +set debug 1 +set sv_pure 0

My source and make files are stripped of engine code (well a lot of it at least, see the Open Arena Expanded source).

Engine changes are usually small and I apply them with gedit.


Title: Re: OA on Linux
Post by: Case on September 13, 2008, 04:51:17 AM
There are a bunch of ide's available for linux and all will work with OA, Eclipse, Kdevelop, Code::Blocks (<--- couldn't compile it though :(  ), you could search freshmeat.net for ide and you'll get a million hits, my personal fav "ide" would have to be vim though :)


Title: Re: OA on Linux
Post by: epicgoo on September 13, 2008, 04:58:26 AM
use a development version of codeblocks(there are debian/ubuntu packages if you search the nightly builds section of the codeblocks forum)
why do you need an IDE? I use it just for auto complete.


Title: Re: OA on Linux
Post by: Case on September 13, 2008, 05:18:30 AM
vim has code completion as well