Missing file "d3d8.h", where the heck is it?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

For what are then those bunch of windows-DLLs in my system folders?
:shock:

For what does your computer has so much transistors in it ? :lol:
Working on game: Marrbles (Currently stopped).
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

serengeor wrote:For what does your computer has so much transistors in it ? :lol:
I'd explain you, but I think my english isn't good enough for that. ;)

OK, I think I have screwed it up. Somehow the compiler finds the files (I changed the VC++ directories of the Irrlicht project), but now I can't find the DLL, just a bunch of DirectX-LIBs ...
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

TomTim wrote:For what are then those bunch of windows-DLLs in my system folders?
Well that's easy. If they weren't there they'd have to included in *every* program.
If you have a program that let's say creates a blank window and closes on the click of the 'X' button.
The program needs to have access to the window handling routines (i.e. the messages windows uses to communicate with the window), the drawing routines for drawing the window on screen, the mouse input routines that will check if the 'X' button was clicked, and so on.

All this stuff in stored in the DLLs.

All the libraries and headers that you need to develop applications just tell you (or the compiler/linker) what functions are located in which DLL.

So the program can keep its small size since it doesn't need to know how the function works. It just calls the function from one of the DLLs on the system.

I know that this is a constructed example but you should get the point:
Image you would want to translate a word from one language into another. You could either take the big dictionary and look it yourself, or you could take the note with an URL on it, enter it into your browser, and let the lookup be done by someone(something) else.

The result is still the same: You know the translation of the word (or to keep at our program: we have a window that can be closed) however you didn't have to get the dictionary and look it up yourself (draw the window, check mouse input, etc.)
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

Sylence wrote:Well that's easy. If they weren't there they'd have to included in *every* program.
If you have a program that let's say creates a blank window and closes on the click of the 'X' button.
The program needs to have access to the window handling routines (i.e. the messages windows uses to communicate with the window), the drawing routines for drawing the window on screen, the mouse input routines that will check if the 'X' button was clicked, and so on.

All this stuff in stored in the DLLs.

All the libraries and headers that you need to develop applications just tell you (or the compiler/linker) what functions are located in which DLL.

So the program can keep its small size since it doesn't need to know how the function works. It just calls the function from one of the DLLs on the system.

I know that this is a constructed example but you should get the point:
Image you would want to translate a word from one language into another. You could either take the big dictionary and look it yourself, or you could take the note with an URL on it, enter it into your browser, and let the lookup be done by someone(something) else.

The result is still the same: You know the translation of the word (or to keep at our program: we have a window that can be closed) however you didn't have to get the dictionary and look it up yourself (draw the window, check mouse input, etc.)
OK, understood.

But that doesn't help me. Where is the *someselectedgermanwordsofswearing* DLL?
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

But that doesn't help me. Where is the *someselectedgermanwordsofswearing* DLL?
Do you mean irrlicht DLL ? if so, you should Compile it yourself, Or use the SDK given one in the bin folder. (Don't know how to compile? Search for tutorials! :) )
Working on game: Marrbles (Currently stopped).
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

serengeor wrote:Do you mean irrlicht DLL ? if so, you should Compile it yourself, Or use the SDK given one in the bin folder. (Don't know how to compile? Search for tutorials! :) )
Of cause I know how to compile ... do people here just read one half of my posts and try to guess the second half?

The problem is that there simply IS no Irrlicht.DLL. I searched every folder in which the engine is stored, but the is no DLL, just some DirectX.LIBs ...
CuteAlien
Admin
Posts: 9843
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Usually the Irrlicht.dll for VisualStudio is in bin/Win32-VisualStudio (and correspondingly the other sub-folders for other IDE and system combinations). But we have not yet ported to VS10 - so no idea if it works there or not.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Irrlicht works perfectly fine in VC++ 2010. The only problem I've ever encountered is that some of the example solutions don't convert properly, but that shouldn't be a big deal.
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

CuteAlien wrote:Usually the Irrlicht.dll for VisualStudio is in bin/Win32-VisualStudio (and correspondingly the other sub-folders for other IDE and system combinations). But we have not yet ported to VS10 - so no idea if it works there or not.
So what does that mean for me? Where is it?
CuteAlien
Admin
Posts: 9843
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

TomTim wrote:
CuteAlien wrote:Usually the Irrlicht.dll for VisualStudio is in bin/Win32-VisualStudio (and correspondingly the other sub-folders for other IDE and system combinations). But we have not yet ported to VS10 - so no idea if it works there or not.
So what does that mean for me? Where is it?
I don't know. It's there if you download the official Irrlicht zip. It's also usually there if you compile Irrlicht and it finishes without error. Sorry - I do not see your screen - so I simply don't know what error messages you got, what you tried doing, etc.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

Well I taught you used MSVC 2008, but since its 2010 I Don't really know I had encountered the same problem, but I don't remember how I fixed it (I think I changed the build directories).
Now I'm using code::blocks and I haven't encountered any problems since I switched to it.
Well actually I did encounter one problem which was not really a problem, I taught It hadn't Code completion but it does and It Rocks :)
Working on game: Marrbles (Currently stopped).
booe
Posts: 76
Joined: Thu Jul 29, 2010 2:12 pm

Post by booe »

Damn it, serengeor, I love your avatar!
THIS SHEEP IS SO CUTE!!!
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

CuteAlien wrote:I don't know. It's there if you download the official Irrlicht zip. It's also usually there if you compile Irrlicht and it finishes without error. Sorry - I do not see your screen - so I simply don't know what error messages you got, what you tried doing, etc.
I GOT the official Irrlich archive. But my new compiled DLL is nowhere - just nowhere.
booe wrote:Damn it, serengeor, I love your avatar!
THIS SHEEP IS SO CUTE!!!
That has nothing to do with the topic, has it?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

TomTim wrote:That has nothing to do with the topic, has it?
Well, you need more than 20 replies to figure out something most others can cope with right away. So I doubt there's really a problem with a little off-topic post.
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

hybrid wrote:
TomTim wrote:That has nothing to do with the topic, has it?
Well, you need more than 20 replies to figure out something most others can cope with right away. So I doubt there's really a problem with a little off-topic post.
Yeah, however. I just wanted to know how "strict" the people here are ... ;)

OK, back to my problem:

I now want to do a little "restart". Means, I wanna copy the DirectX headers, LIBs and DLLs into the folders of my compiler (I have installed the SDK, but I have figured out that they weren't installed in the folders of my compiler). But from where to where? I've got a 64 Bit OS, but some users of my program might have only a 32 Bit OS, so will I have to use the 32 Bit datas, or is the specification only important for the developer? And where do I find the DirectX DLLs, I can't find them in the SDK ...

And how about a later SDK? I mean, this DirectX version seems to be 2 years old, maybe some things are updated ... :?:
Post Reply