compilation error

9 views
Skip to first unread message

Eric Smith

unread,
Dec 3, 2011, 9:58:38 PM12/3/11
to opennero
I'm trying to package OpenNERO for inclusion in Fedora, using the
subversion trunk, r1526. I've tried building it on Fedora 14 and on
Fedora 16, and get the same compilation error:

/home/eric/rpmbuild/BUILD/opennero-svn1521/source/render/Camera.cpp:
In constructor 'OpenNero::Camera::Camera(const OpenNero::IrrHandles&,
OpenNero::float32_t, OpenNero::float32_t, OpenNero::float32_t)':
/home/eric/rpmbuild/BUILD/opennero-svn1521/source/render/Camera.cpp:
32:85: error: 'class irr::scene::ISceneManager' has no member named
'addCameraSceneNodeNero'
/home/eric/rpmbuild/BUILD/opennero-svn1521/source/render/Camera.cpp:
In member function 'bool
OpenNero::Camera::attach(OpenNero::SimEntityPtr,
OpenNero::FPSCameraTemplatePtr)':
/home/eric/rpmbuild/BUILD/opennero-svn1521/source/render/Camera.cpp:
132:67: error: 'class irr::scene::ISceneManager' has no member named
'addCameraSceneNodeNeroFP'

Any suggestions?

Thanks!
Eric

Igor Karpov

unread,
Dec 3, 2011, 10:11:23 PM12/3/11
to open...@googlegroups.com
It sounds like you might have some version of Irrlicht installed on
your system which is getting read instead of the one included in our
release, under external/. There should be some what to force cmake to
pay attention to our version instead of the one installed on your
system, but I'm not sure what that is.

Eric Smith

unread,
Dec 3, 2011, 10:21:43 PM12/3/11
to opennero
That is most likely the problem. Unfortunately use of bundled
libraries rather than Fedora packaged libraries violates the Fedora
Packaging Guidelines. I deliberately removed the bundled libraries.

Is the bundled Irrlicht just an old version, or has it been modified
for OpenNERO?

Eric Smith

unread,
Dec 3, 2011, 10:28:40 PM12/3/11
to opennero
Answering my own question, I see that it is modified. It looks like
the main modification is to add a first person camera,
called ...NeroFP. Are there any other changes?

Having a first-person camera seems like it would be of utility to
programs other than just OpenNERO. Would it make sense to rename it
(not including "Nero") and push the patches upstream, so that OpenNERO
doesn't have to use a special version of Irrlicht?

thayumanavar

unread,
Dec 5, 2011, 11:49:45 AM12/5/11
to opennero
Hi,
I am getting this compilation error. i am trying to compile opennero
on ubuntu 11.10(under vmware fusion). I am getting this error(after
getting stuck at exports.cpp for quite long)
[ 78%] Built target CopyStuff
[ 78%] Building CXX object source/CMakeFiles/OpenNERO.dir/scripting/
exports.cpp.o
c++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.

make[2]: *** [source/CMakeFiles/OpenNERO.dir/scripting/exports.cpp.o]
Error 1
make[1]: *** [source/CMakeFiles/OpenNERO.dir/all] Error 2
make: *** [all] Error 2
I tried compiling with g++ 4.4,4.5,4.6.
Please let me know if any idea about how to fix this.
Thanks,
Thayumanavar S.


Igor Karpov

unread,
Dec 5, 2011, 12:55:54 PM12/5/11
to open...@googlegroups.com
That file is a large file to compile because of all the template stuff it uses. Gcc seems to run out of memory and crash when compiling it. It shouldn't, but given that it does we will have to divide up the file into pieces. For now, I would try using the binaries we provide instead...
Reply all
Reply to author
Forward
0 new messages