I can't compile a library for Code::Blocks

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
SanekFPS
Posts: 14
Joined: Tue Nov 14, 2023 11:53 am

I can't compile a library for Code::Blocks

Post by SanekFPS »

I downloaded the library from github. I went to irrlicht-1.9\source\Irrlicht and opened a ready-made project under the code::the block began to be assembled, but the oibka did not extract it.

C:\libraries\irrlicht-1.9\source\Irrlicht\aesGladman\sha2.cpp/392/error : narrowing conversion of '13096744586834688815ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } [-Wnarrowing]| Please tell me what to do.
CuteAlien
Admin
Posts: 9651
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: I can't compile a library for Code::Blocks

Post by CuteAlien »

Please use the official Irrlicht repository, we are not on github: https://sourceforge.net/p/irrlicht/code/HEAD/tree/
If I remember correct this was a bug (only in newer gcc compilers) which has been fixed a few years ago.
I recommend using this one: svn checkout https://svn.code.sf.net/p/irrlicht/code/trunk irrlicht-code
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
SanekFPS
Posts: 14
Joined: Tue Nov 14, 2023 11:53 am

Re: I can't compile a library for Code::Blocks

Post by SanekFPS »

Hooray, everything worked! Thank you very much!
CuteAlien
Admin
Posts: 9651
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: I can't compile a library for Code::Blocks

Post by CuteAlien »

You're welcome :)
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
Post Reply