Page 1 of 1

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

Posted: Tue Nov 14, 2023 11:56 am
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.

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

Posted: Tue Nov 14, 2023 12:32 pm
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

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

Posted: Tue Nov 14, 2023 1:08 pm
by SanekFPS
Hooray, everything worked! Thank you very much!

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

Posted: Tue Nov 14, 2023 1:10 pm
by CuteAlien
You're welcome :)