LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2003, 04:02 PM   #1
js_530
Member
 
Registered: Jul 2003
Posts: 162

Rep: Reputation: Disabled
free c/c++ compiler w/ directx/opengl


Is there any compiler that is free and supports DirectX and OpenGL? I know Dev C supports DirectX, but I could only find tutorials on how to install version 7 on an earlier version of Dev C.
 
Old 07-26-2003, 04:46 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
direct x is a microsoft api and has no implementation in linux except possibly wine or wineX. opengl comes with XFree. gcc can be used in both these situations and its free.
 
Old 07-26-2003, 04:53 PM   #3
js_530
Member
 
Registered: Jul 2003
Posts: 162

Original Poster
Rep: Reputation: Disabled
in windows
 
Old 07-26-2003, 05:07 PM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
<possible_flame>
thats what i thought you meant but then i remembered this site is www.linuxquestions.org not www.windowsquestions.org
</possible_flame>

sorry im just in a silly mood, more seriously - found this link in another thread http://www.bloodshed.net/compilers/index.html i havnt used windows in a loong time but i seem to remember that lcc-win32 support both opengl and directx but no c++, also the borland command line tools supported opengl but they were released ages ago so might not support the latest direct x
 
Old 07-27-2003, 02:03 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally posted by kev82
<possible_flame>
thats what i thought you meant but then i remembered this site is www.linuxquestions.org not www.windowsquestions.org
</possible_flame>
Is it just me or does windowsquestions.org redirect to linuxquestions.org??
 
Old 07-27-2003, 05:24 AM   #6
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
yes it does ive noticed that, someones idea of a joke i think
 
Old 07-27-2003, 09:19 AM   #7
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
You can use gcc in Windows - in fact that's the compiler which DevC++ uses.

Alex
 
Old 07-27-2003, 09:31 AM   #8
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
Quote:
You can use gcc in Windows - in fact that's the compiler which DevC++ uses.
yes but can you the direct x header files and libraries for it? thats the real problem
 
Old 07-27-2003, 12:57 PM   #9
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
I see no reason why the header files from the SDK shouldn't work with it, why should there be a problem? Re the tutorial mentioned in the first post, doesn't it work for newer versions?

Alex

Last edited by llama_meme; 07-27-2003 at 12:58 PM.
 
Old 07-27-2003, 02:33 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You can work with OpenGL in WIndows exactly the same way as in Linux - using GLUT. You just need to download and install the library (of course, it's not the only solution).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Free C++ Compiler? JudasMaccabeus Linux - Software 2 11-03-2005 12:28 AM
Free C++ Compiler? BrutualTarget Programming 13 08-22-2004 04:04 PM
Enemy territory - DirectX? OpenGL? michaeltweak Linux - General 1 01-12-2004 09:46 AM
Free C++ Compiler leroy27336 Programming 10 11-13-2003 09:14 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 04:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:42 PM.

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