compiling dll with codeblocks+MSVCtoolkit in 10 screenshots!

A forum to store posts deemed exceptionally wise and useful
latentdisposition
Posts: 29
Joined: Mon Jun 27, 2005 1:17 pm

Post by latentdisposition »

fatal error C1083: Cannot open include file: 'D3dx8core.h': No such file or directory

It is trying to compile with DirectX 8 in addition to DirectX 9. Unless you really need DirectX 8 for some reason I would suggest just commenting out all DirectX 8 code and compile. If you need DirectX 8 you will have to find the DX8 SDK and add the directories for it just as you did for 9.
"The creation of something new is not accomplished by the intellect but by the play instinct acting from inner necessity. The creative mind plays with the objects it loves."

Carl Jung
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

latent is right again!

I'm still using dxsdk_sum2004 (summer 2004) version. Ever since feb2005 version of the sdk it seems like dx8 has been left out.

that's why I still haven't upgraded to it yet. Unless Irrlicht becomes dx9 only (and opengl, hehehe) you'll need an older version of the sdk to compile all the dx8 in Irrlicht's source.

Or you might as well remove all the dx8 stuff in the engine leaving only dx9.

then the latest sdk shall work with no prob.
latentdisposition
Posts: 29
Joined: Mon Jun 27, 2005 1:17 pm

Post by latentdisposition »

If anyone is interested in compiling with DirectX 8.1, I found this site where you can download the includes and library files.

http://www.zanir.szm.sk/dx00-09.html

It also has some great tutorials for DirectX and OpenGl including a .ASE loader. Very useful.

Finally to anyone considering switching to Code::Blocks, a new version was released recently with some great new features.

http://www.codeblocks.org/whatsnew.shtml#improvements
"The creation of something new is not accomplished by the intellect but by the play instinct acting from inner necessity. The creative mind plays with the objects it loves."

Carl Jung
Guest

Post by Guest »

This DirectX SDK still has the DirectX 8 files

http://www.microsoft.com/msdownload/pla ... k-full.htm
Snoopy
Posts: 4
Joined: Sun Jul 31, 2005 4:47 am

Post by Snoopy »

i folowed all your instructions,

and i got this error,

Code: Select all

fatal error LNK1104: cannot open file 'libci.lib'
i have the ms sdk 2005,

when i looked for the file it wasn't in the "ms sdk" lib folder

but it was in the 2 sub folders AMD64 and IA64,
??????????????????????????????????????????????
should i add another linker directorier to 1 of them or something
:? :?: :?: :?
xD
Guest

Post by Guest »

No, unless you have a AMD 64 or some other 64 bit machine. I downloaded it from the internet, if I remember right I got it here http://www.scrontsoft.com/Download.asp? ... /libci.zip

the webpage is http://www.scrontsoft.com/DX81.asp?pageID=1
Post Reply