about build the sources

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.
Post Reply
zydgyy
Posts: 4
Joined: Sun Jun 05, 2011 3:47 pm

about build the sources

Post by zydgyy »

hi:
guys!
I want build the sources of this irrlicht-1.7.2 and my sources as console app,
but there is compile errors,do i modify IrrCompileConfig.h file,but how?
By the way, i use devcpp tool.
Please help me!!! thanks a lot!!
Radikalizm
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Post by Radikalizm »

Please post those compile errors, we can't help you out without those
zydgyy
Posts: 4
Joined: Sun Jun 05, 2011 3:47 pm

OK

Post by zydgyy »

these are some of errors: linker errors;
[Linker Error] undefined reference to `jpeg_std_error'
[Linker Error] undefined reference to `jpeg_destroy_decompress'
[Linker Error] undefined reference to `StretchDIBits@52'
[Linker Error] undefined reference to `StretchDIBits@52'
......[/img]
omg_fail
Posts: 83
Joined: Wed Apr 20, 2011 1:14 pm
Location: Germany/Bavaria
Contact:

Post by omg_fail »

Did you link all .lib files in the project ?
zydgyy
Posts: 4
Joined: Sun Jun 05, 2011 3:47 pm

.lib files?

Post by zydgyy »

so,where are they?i cant find them?!
zydgyy
Posts: 4
Joined: Sun Jun 05, 2011 3:47 pm

help

Post by zydgyy »

is there anyone can help me,Please!?
Iyad
Posts: 140
Joined: Sat Mar 07, 2009 1:18 am
Location: Montreal, Canada

Post by Iyad »

Does those errors happen when you compile your project or when you compile irrlicht? If it is in irrlicht, try to comment out the lines on the jpg library in irrcompileconfig.h.
#include <Iyad.h>
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

It looks like you don't link with the jpeglib.
Look for JPEGLIBOBJ in the Irrlicht makefile to see how we do it. I suppose you don't use the original Makefile for some reason?
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
Mel
Competition winner
Posts: 2292
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Post by Mel »

Like with anyone who uses DevCPP, i repeat myself, switch to code::blocks, or Visual Studio Express. They are more complete, less buggy, and aren't outdated as DevCPP already is, and for the DirectX support, don't worry, download the latest SDK from Microsoft, it works the same with Code::BLOCKS and with Visual Studio. The DevCPP devpack is, besides outdated, slower than the original DXSDK

Compile the library using those IDE's and check again, It is worth, believe me.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
omg_fail
Posts: 83
Joined: Wed Apr 20, 2011 1:14 pm
Location: Germany/Bavaria
Contact:

Post by omg_fail »

^
Thats right .
I also started with dev c++ but with visual studio you have much more posibiletys.
And with compielers like visual studio , which are plattform com. you hav a better structure
Mel
Competition winner
Posts: 2292
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Post by Mel »

I would also say that working with Code::blocks and Open GL would create almost fully portable programs.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Post Reply