Im so tired...

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Im so tired...

Post 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.
This was supposed to be a cool signature...
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post by Zacariaz »

Only problem being that i dont know how to obtain and "install" such sdl/opengl devpacks.

NeHe?
This was supposed to be a cool signature...
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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*
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post 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.
This was supposed to be a cool signature...
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post 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:
My OS is Perception.
Post Reply