LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   free c/c++ compiler w/ directx/opengl (https://www.linuxquestions.org/questions/programming-9/free-c-c-compiler-w-directx-opengl-76154/)

js_530 07-26-2003 04:02 PM

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.

kev82 07-26-2003 04:46 PM

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.

js_530 07-26-2003 04:53 PM

in windows

kev82 07-26-2003 05:07 PM

<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

Nylex 07-27-2003 02:03 AM

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??

kev82 07-27-2003 05:24 AM

yes it does ive noticed that, someones idea of a joke i think

llama_meme 07-27-2003 09:19 AM

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

Alex

kev82 07-27-2003 09:31 AM

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

llama_meme 07-27-2003 12:57 PM

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

Mara 07-27-2003 02:33 PM

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).


All times are GMT -5. The time now is 09:46 PM.