in case, someone has problems, compiling newest ogre version because of freeImage error, like:
See solution:error C2169: 'lrintf': intrinsic function, cannot be defined
https://github.com/InsightSoftwareConso ... ssues/1967
In opj_includes line 91 replace:
Code: Select all
static INLINE long lrintf(float f){
Code: Select all
static INLINE long opj_lrintf(float f){
Lax