Page 1 of 1

Im so tired...

Posted: Sat Nov 24, 2007 12:57 pm
by Zacariaz
So i find some opengl tutorial on the net, or so it seems, and its really great because its actually simple enough for me to understand!

So i read and read and read and copy/paste an example providet only to find out that i dont have the headers needed.

Code: Select all

stdafx.h (including:)
#afxwin.h
#afxext.h
#afxcmn.h
#atlbase.h 
#dshow.h
and there is no link to where i might get them.

So i start search google and i get 3 hits? of then usefull of course.

something must be very wrong.

And the "U" keeps falling of my keyboard!

I am in a bad mood, but its saturday so ill just party out with my friends!
Yes they are real enough, but do they want to play with me?
Thats a BIG no!
They are either broke or have better things to do.

Im bored, annoyed and sad... ;(

Wekk, im through complaining.

Posted: Sat Nov 24, 2007 4:49 pm
by Combuster
So i read and read and read and copy/paste an example providet only to find out that i dont have the headers needed.
Apparently these are using MFC. That means you'll have to use a visual studio of some version.

Its easier to get started with dev-c and install a devpak for sdl and opengl - you'll get a sample opengl project for free. NeHe is also a good place to look for non-MFC opengl code (the list of languages these are ported to is really amazing) and its all explained very well

Posted: Sun Nov 25, 2007 5:42 am
by Zacariaz
Only problem being that i dont know how to obtain and "install" such sdl/opengl devpacks.

NeHe?

Posted: Sun Nov 25, 2007 3:04 pm
by Combuster
Google wrote:NeHe Productions: Main Page
Extensive OpenGL programming tutorials and resources.
nehe.gamedev.net/ - 114k - Cached - Similar pages
*insert google is your friend banner here*

Posted: Sun Nov 25, 2007 4:24 pm
by Zacariaz
Thanks for the help, it looks like a really great site, but i still fail to figure out where to downlad and what to download. I need some specific libarys for this if im not mistaken.

EDIT:
I found out that i allready had the files, however i downloaded an example that should work, but i just get alot of linker errors so now i have to figure that out...

Anyway, thanks.

Posted: Sun Nov 25, 2007 8:40 pm
by AndrewAPrice
Combuster wrote:
So i read and read and read and copy/paste an example providet only to find out that i dont have the headers needed.
Apparently these are using MFC. That means you'll have to use a visual studio of some version.

Its easier to get started with dev-c and install a devpak for sdl and opengl - you'll get a sample opengl project for free. NeHe is also a good place to look for non-MFC opengl code (the list of languages these are ported to is really amazing) and its all explained very well
You can download Visual C++ Express 2005 (2008 is out aswell) which is ~50MB. All VC++ comes with nowadays is the standard STL and .NET libraries. For all the Windows headers/libraries (including MFC) you need to download the Windows Platform SDK which is ~1->2GB IIRC. It's so big because it includes the Tablet PC, Media Player, Media Centre, Speech, etc APIs along with tutorials, examples, and documentation, while maintaining Windows 2000/XP/2003/Vista support.

And to develop Visual Studio plugins you need to Visual Studio SDK (~300MB). To develop DirectX applications you need to DirectX SDK (~400-600MB depending how many examples MS includes based upon how excited they are at the time).

It annoys me when you download an updated DirectX SDK, uninstall the old SDK, install the new one, rebuild your projects, find out MS has moved something from the DirectX SDK, spend 6+ hours Googling to find out what happened to it, find it's in the latest Windows Platform SDK, reinstall that, rebuild every project again, etc... :evil: