Compiling Irrlicht (solved)

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Compiling Irrlicht (solved)

Post by Virion »

Sorry this is my first time to compile Irrlicht, and I failed to!
Any step by step guide? :cry:
Last edited by Virion on Mon Jun 04, 2007 1:30 am, edited 1 time in total.
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Several. In the documentation in the SDK, in the FAQ forum, and for specific questions via the search button.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

where can i get dx8 files?
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Post by Anteater »

I'd compile without DX8.
kburkhart84
Posts: 277
Joined: Thu Dec 15, 2005 6:11 pm

Post by kburkhart84 »

Yeah, you need the DX SDK for which you wish to compile. I have the latest DX9 SDK and don't keep the DX8 stuff. In the end, I'll compile with only DX9 or OGL in order to save space since my final product will probably only use one or the other.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

i got directx9 sdk in my comp. but there's some errors when compiling irrlicht.

[removed by virion]

I don't know what causes these errors.
Last edited by Virion on Sun Jun 03, 2007 10:17 am, edited 1 time in total.
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

What compiler do you use?
You can disable the dx8 driver by commenting out a #define line in include\IrrCompileConfig.h
If you don't have anything nice to say, don't say anything at all.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

However, wihtout windows.h you won't compile anything on Windows. Try to set up your compiler to know where the includes and SDKs are.
kburkhart84
Posts: 277
Joined: Thu Dec 15, 2005 6:11 pm

Post by kburkhart84 »

hybrid wrote:However, wihtout windows.h you won't compile anything on Windows. Try to set up your compiler to know where the includes and SDKs are.
That's what it is. And the DX8 sdk is needed as well if you don't disable it. Your errors come from both of these. Most of us can compile irrlicht on the first try because it usually comes without errors(bug come included, but not errors). So I'm pretty sure it isn't Irrlicht's fault.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

the dx8 things solved.
But I still couldn't find the windows.h header.
I am using visual c++ 2005 express edition.
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

you'll need to install the windows platform sdk and let the compiler know where the include and lib directories are.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
kburkhart84
Posts: 277
Joined: Thu Dec 15, 2005 6:11 pm

Post by kburkhart84 »

bitplane wrote:you'll need to install the windows platform sdk and let the compiler know where the include and lib directories are.
Yup. VS Express doesn't include the platform SDK, which includes windows.h. I remember having to download it when I was using Express. It is correct though. I have done it myself.
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Less errors now. But still got a few.
pngtrans.c
.\libpng\pngtrans.c(255) : warning C4114: same type qualifier used more than once
.\libpng\pngtrans.c(290) : warning C4114: same type qualifier used more than once
.\libpng\pngtrans.c(325) : warning C4114: same type qualifier used more than once
pngset.c


pngerror.c
.\libpng\pngerror.c(116) : warning C4114: same type qualifier used more than once
png.c


cdjpeg.c
.\jpeglib\cdjpeg.c(154) : warning C4996: 'setmode' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\io.h(330) : see declaration of 'setmode'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _setmode. See online help for details.'
.\jpeglib\cdjpeg.c(154) : warning C4996: 'fileno' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(688) : see declaration of 'fileno'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.'
.\jpeglib\cdjpeg.c(172) : warning C4996: 'setmode' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\io.h(330) : see declaration of 'setmode'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _setmode. See online help for details.'
zutil.c


CSphereSceneNode.cpp
.\CSphereSceneNode.cpp(149) : warning C4244: 'argument' : conversion from 'double' to 'irr::f32', possible loss of data
.\CSphereSceneNode.cpp(149) : warning C4244: 'argument' : conversion from 'double' to 'irr::f32', possible loss of data
.\CSphereSceneNode.cpp(149) : warning C4244: 'argument' : conversion from 'double' to 'irr::f32', possible loss of data
CSkyDomeSceneNode.cpp


Irrlicht - 1 error(s), 10 warning(s)
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I can only see warnings, no errors. The sphere node warnings are fixed in SVN, the png warnigns won't be fixed - you have to use an externally compiled library if you want to change it.
Dances
Posts: 454
Joined: Sat Jul 02, 2005 1:45 am
Location: Canada
Contact:

Post by Dances »

It says '1 error - 10 warnings' at the end; but I can't spot the error's report either.
Post Reply