Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Building OpenGL SDK/Examples

Name: Anonymous 2012-04-25 23:07

Hey /prog/, don't swing by here too often but I'm in need of some help.

I'm on windows, using mingw and I haven't really messed with make, makefiles, etc too much and its kicking my ass at the moment. I'm trying to build the OpenGL SDK and tutorials related to this book: http://www.arcsynthesis.org/gltut/.

So, I download his source distribution, use premake to create the makefiles and try to use make on those; but, I keep getting this:


==== Building glload (debug) ====
gll_c.c
/bin/sh: cc: command not found
make[1]: *** [Debug/gll_c.o] Error 127
make: *** [glload] Error 2


glload is just one of the dev tools that comes with this pre-packaged opengl SDK - the one it tries to build first.

Sorry if this is retardedly easy and thanks in advance.

Name: Anonymous 2012-04-25 23:08

Oh and if anyone's interested in OpenGL, this book seems to be a very good resource for it.

Name: Anonymous 2012-04-26 1:20

OpenGL is probably going to make you want to kill yourself if you're not able to troubleshoot simple build problems, especially while developing on Windows.

Sorry if this is retardedly easy and thanks in advance.
/bin/sh: cc: command not found

Try searching for "mingw" "make" "cc" "command not found".

Name: Anonymous 2012-04-26 2:00

Haha it may, but I'm really wanting to give it a shot. I'm just taking this all as a learning experience.

[quote]
Try searching for "mingw" "make" "cc" "command not found".
[/quote]

And thanks for that! Making some progress now. Using that search verbatim led me to someone with the same exact problem.

After a little experimenting I found out I somehow managed to install MinGW without installing the C compiler... Which was kind of my initial suspicion, though I didn't think it was possible.

At any rate I'm assuming it's understanding the 'cc' command now and trying to run the C compiler. But... now I get this dialog box:

cc1.exe - System Error
... libgmp-10.dll is missing ...


So... off to search some more

Name: Anonymous 2012-04-26 2:45

OK... So it turns out that all of my problems were stemming from MinGW's automated installer.

I just re-installed everything again and had to manually install the C compiler... again. Even though I checked that option in the GUI part of the installation. This time it magically included the necessary dll's and everything works.

Fuck this shit I'm going to bed.

Anyone using MinGW be wary of what the automated installer is actually doing/not doing.

Name: bampu pantsu 2012-05-29 4:38

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List