LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-15-2003, 12:09 AM   #181
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45

Quote:
Originally posted by lectraplayer
PS: I know this project is off topic, but if this project is going to get moving, I must learn what libraries are in Linux C++. What are they and what are their M$ Development Studio equivalents? Where can I find that? I have gotten used to using, like, iostream.h, fstream.h, math.h, etc. and those are not in my flavor of Linux. The thread I have started on that has not gotten any activity.
Just use these lines:
Code:
#include <iostream>
#include <vector>
#include <string>
#inlcude <fstream>
using namespace std;
That should free the contents of those files located in the std namespace for you to use, like cout, cin, cerr, etc.

Last edited by Thetargos; 10-15-2003 at 12:11 AM.
 
Old 10-15-2003, 12:47 AM   #182
Abe_the_Man
Member
 
Registered: Jul 2003
Location: Oshawa, Ontario, Canada
Distribution: ?????
Posts: 324

Original Poster
Rep: Reputation: 30
Just a question for you mossy. I just downloaded blender and some demos. I already seen a couple on windows, but i thought i'd try em on my new vid card on linux. So how do i run em?? When i open it, mozilla starts up and asks me what to do with it "save it or open it with an application". They are supposted to be standalones, so what do i do to view them?? (sorry to get off topic)

Anyway, blender does look pretty cool. Definitely look at the walkthrough demo (i seen it on my sisters xp machine when i was compiling one day). It sure would be nice to use open source programs for game development!
 
Old 10-15-2003, 07:19 AM   #183
arioch
Member
 
Registered: Aug 2003
Location: Playing Frisbe with an XP cd with my wall.
Distribution: Red Hat 8.0, Slackware 9.0
Posts: 73

Rep: Reputation: 15
-thetargos
dude i have a feeling that wine hates me (at least im not alone on that ). I am avoiding it like the plague. Maybe when the beta comes out I'll give it another shot.
 
Old 10-15-2003, 08:13 AM   #184
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Ok, here's another ide i've been toying with.
I don't know if any of you have or are playing any of the tebletop games from Games Workshop? Warhammer Fantasy Battle, Mordeheim, Warhammer 40K or Necromunda, just to mention a few.
I've been thinking of making a mod for UT and now UT2K3.
I'm a bit slow now and then.
So far i've made some models of "space-marines" and i'm working on a few more.
The wish is to make it something like CS or Battlefiled 1942.
So that it's not a "free for all" but need a bit thinking or was it strategy.
 
Old 10-15-2003, 09:31 AM   #185
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Quote:
Originally posted by Thetargos
Just use these lines:
Code:
#include <iostream>
#include <vector>
#include <string>
#inlcude <fstream>
using namespace std;
That should free the contents of those files located in the std namespace for you to use, like cout, cin, cerr, etc.
OK, so THAT'S what I was doing wrong. I was using iostream.h and not just iostream.
 
Old 10-15-2003, 02:28 PM   #186
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Quote:
Originally posted by lectraplayer
OK, so THAT'S what I was doing wrong. I was using iostream.h and not just iostream.
The key part on this, is the using namespace std; statement. If you like you may go download this incredible C++ on-line book as PDF: Thinking in C++ by Bruce Eckel @ www.bruceeckel.com, the book is free for you to download!

[edit]
Remember that in order to use the standrad C library, you will need to type this:
#include <cstdio> instead of #include <stdio.h> (which may alo be included) or #include <cstdlib>

Last edited by Thetargos; 10-15-2003 at 02:30 PM.
 
Old 10-15-2003, 02:50 PM   #187
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
did i say sourceforge.net for web hosting?
 
Old 10-15-2003, 02:54 PM   #188
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
I think you did say something about that if a project is accepted you'd get (or in this case we'd get ) 100 Mb of space storage...
 
Old 10-15-2003, 03:09 PM   #189
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
ya, sorry for repeating. its a good place for something like this. only open-source projects allowed!
 
Old 10-15-2003, 03:10 PM   #190
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Quote:
Originally posted by arioch
-thetargos
dude i have a feeling that wine hates me (at least im not alone on that ). I am avoiding it like the plague. Maybe when the beta comes out I'll give it another shot.
What does it seem to be problem?

I currently have 4 versions of Wine installed in my system: WineX 3.1 installed from RPM, WineHQ's Wine latest RPM, WIneX3 installed through P2P, WineX 3.1c installed via P2P... All programs I have attempted to run, run quite good
 
Old 10-15-2003, 03:20 PM   #191
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
when i run a windoze exe w/ winex (thats what i have), the konsole gives me no output and it just hangs and i have 2 kill it manually.
 
Old 10-15-2003, 03:23 PM   #192
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
I've noticed it depends greatly on the program you may want to run... even more if ti relies on more native dll's than those provided by Wine (if you don't have a working windows install, that is)
 
Old 10-15-2003, 03:41 PM   #193
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
"So how do i run em??"
em It was abit late last night I did not get too much time on it - went thru most of the options etc and then installed DCgui [cool] filesharing prog.
I would imagine you could open it thru the FILE menu or right click and associate your files to blender.

I will check out the walkthru as I will need it!!!
"It sure would be nice to use open source programs for game development!"
It - IS - nice eh!


Kroppus - yeah I agree on the UT 2K mod like a CS or Battlefield.

LavaDevil94 - agreed on sourceforge.net for web hosting. We would need to supply and maintain our own forum - I presume? If so - any ideas? Do you think LQ would dedicate a backroom thread with sub categories - prolly not eh - cos if this thing took off it would get large.


I am going to get more familiar with blender tonight and tomorrow.

Please post any tips you find about using it - that are particularly interesting.
I will do the same - Or should we start a thread for that??




ALSO - we should prolly make a list of who's in and what they can/will do.


add me:

mossy - design and create characters, 3d images, Graphics, icons layout some web design etc etc.
 
Old 10-15-2003, 03:57 PM   #194
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
im learning c++ (i compiled hello world yesterday) so maybe i could help.
 
Old 10-15-2003, 04:10 PM   #195
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
SO sign yourself up I suppose? ~



LavaDevil94 - c++ compiling/ engine? programming/libraries etc?

mossy - design and create characters, 3d images, Graphics, icons layout some web design etc etc.

Last edited by mossy; 10-15-2003 at 04:11 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I thought that linux didnīt crash? jimdaworm Linux - Newbie 22 09-13-2003 09:16 PM
i thought linux doesn't crash phishintrip Linux - Software 9 07-10-2003 06:10 PM
I thought linux was low on resources? zapp Linux - Software 6 05-27-2003 11:02 AM
And I thought Linux was meant to be GOOD? 5aboy Linux - Newbie 34 05-22-2003 06:39 PM
I thought Linux was stable - Mandrake 8.0 Herodotus Linux - Newbie 2 08-24-2001 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration