Page 1 of 1

about build the sources

Posted: Sun Jun 05, 2011 3:53 pm
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!!

Posted: Sun Jun 05, 2011 3:54 pm
by Radikalizm
Please post those compile errors, we can't help you out without those

OK

Posted: Sun Jun 05, 2011 4:22 pm
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]

Posted: Sun Jun 05, 2011 4:58 pm
by omg_fail
Did you link all .lib files in the project ?

.lib files?

Posted: Sun Jun 05, 2011 5:29 pm
by zydgyy
so,where are they?i cant find them?!

help

Posted: Mon Jun 06, 2011 2:24 am
by zydgyy
is there anyone can help me,Please!?

Posted: Mon Jun 06, 2011 3:41 am
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.

Posted: Mon Jun 06, 2011 8:27 am
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?

Posted: Mon Jun 06, 2011 9:16 am
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.

Posted: Mon Jun 06, 2011 5:30 pm
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

Posted: Tue Jun 07, 2011 8:49 am
by Mel
I would also say that working with Code::blocks and Open GL would create almost fully portable programs.