Iris2.de http://iris2.de/forum/ |
|
compiling error http://iris2.de/forum/viewtopic.php?f=15&t=1103 |
Page 1 of 1 |
Author: | gaduga [ Sun Jul 29, 2007 3:16 pm ] |
Post subject: | compiling error |
I i'm using Fedora 7 and i add this error : make[1]: Entering directory `/home/nuno/Desktop/iris_2.0.1240/src' g++ -DHAVE_CONFIG_H -I. -I../include -I/usr/include -I/usr/local/include/fmodex -DOGRE_GUI_gtk -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/OGRE -I/usr/include/OIS -g -O2 -MT data.o -MD -MP -MF .deps/data.Tpo -c -o data.o data.cpp data.cpp: In member function ‘const float cUniFontFileLoader::GetLetterUsage()’: data.cpp:826: error: cast from ‘const char*’ to ‘int’ loses precision make[1]: *** [data.o] Error 1 make[1]: Leaving directory `/home/nuno/Desktop/iris_2.0.1240/src' make: *** [all-recursive] Error 1 |
Author: | hagish [ Sun Jul 29, 2007 3:30 pm ] |
Post subject: | |
which gcc version do you use? it seems that your gcc stops at "cast warnings". |
Author: | gaduga [ Sun Jul 29, 2007 3:34 pm ] |
Post subject: | |
[nuno@devils iris_2.0.1240]$ gcc --version gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12) |
Author: | gaduga [ Sun Jul 29, 2007 4:37 pm ] |
Post subject: | |
i use have gcc 4.1 and fedora 7 x86_64! thx in advance |
Author: | ghoulsblade [ Sun Jul 29, 2007 9:26 pm ] |
Post subject: | |
do you have a 64bit system ? iris isn't 64 bit save (yet). also those flags are strange : -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN iris assumes intel endian (don't know which is little and which is big just now), so it will not run on old motorola, and we DO use freeimage from ogre. |
Author: | gaduga [ Sun Jul 29, 2007 11:11 pm ] |
Post subject: | |
how can i workaround? can someone send me a compiled version? (i have a Amd64....) |
Author: | khpae [ Thu Feb 14, 2008 12:39 pm ] |
Post subject: | |
change 'int' to 'long' there are a few the same eoros in other file |
Author: | gaduga [ Fri Feb 22, 2008 9:28 pm ] |
Post subject: | |
thanks for replay the change work's an i was able to compile. then i run ./start.sh ogre engine setup apears: FSAA = 0 FullScreen = No RTT = FBO VIDEOMOD=1024x768 Then.... Black sreen.... nothing apens |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |