Archive > Orbiter - Developers

Orbiter on Zaurus II

(1/6) > >>

archived:
Hi,
I am starting a new thread on this because I have changed diretions a little. I am now trying to build this on Openembedded. I have been hacking at this for about a month and I think I am finally pretty close. I have successfully compiled, SerializeClass, PlutoUtils, DCE. I am now trying to compile Orbiter and have run into an error that I think is not OE related...

When I run a make bin on Orbiter, it shows that all of the dependencies check out. But then I get the following error:

| ccache arm-linux-g++ -march=armv5te -mtune=xscale -c -I/home/oc60174/oe/build/tmp/staging/arm-linux/include-I./ -I../ -I../DCE/ -I../VIPShared/ -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/mysql -I/home/oc60174/oe/build/tmp/staging/arm-linux/include -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/X11 -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/SDL -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/glib-2.0 -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/glib-2.0/glib -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DEVEL_DEFINES -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DORBITER -DCACHE_IMAGES -DENABLE_MOUSE_BEHAVIOR -I/Splitter -I/OrbiterGen -L/home/oc60174/oe/build/tmp/staging/arm-linux/lib/X11/lib -I/home/oc60174/oe/build/tmp/staging/arm-linux/include/X11/include -DUSE_WX_LIB=0 -I/home/oc60174/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -fpermissive-Wall -ggdb3 -DUSE_WX_LIB=0 TaskManager.cpp -o TaskManager.o
| In file included from TaskManager.h:11,
|                  from TaskManager.cpp:3:
| ../PlutoUtils/singleton.h: In static member function `static T* cpp::NoCreation<T>::CreateInstance()':
| ../PlutoUtils/singleton.h:21: error: `logic_error' is not a member of `std'
| ../PlutoUtils/singleton.h: In static member function `static void cpp::NoCreation<T>::DestroyInstance(T*)':
| ../PlutoUtils/singleton.h:22: error: `logic_error' is not a member of `std'
| ../PlutoUtils/singleton.h: In static member function `static typename cpp::Singleton<T, CreationPolicy, LifetimePolicy, ThreadingModel>::RefType cpp::Singleton<T, CreationPolicy, LifetimePolicy, ThreadingModel>::Instance()':
| ../PlutoUtils/singleton.h:184: warning: there are no arguments to `OnDeadReference' that depend on a template parameter, so a declaration of `OnDeadReference' must be available
| ../PlutoUtils/singleton.h:187: warning: there are no arguments to `CreateInstance' that depend on a template parameter, so a declaration of `CreateInstance' must be available
| make: *** [TaskManager.o] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed: /home/oc60174/oe/build/tmp/work/orbiter-11205.1.1-r0/temp/log.do_compile.8115
NOTE: package orbiter-11205.1.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package orbiter-11205.1.1: failed
ERROR: Build of orbiter failed

Is this something that is easily remedied?

Rob

archived:
I had that same error while building with gcc-4.  The addition of a header cleared it  up.  I added:
#include <stdexcept>
to CommonIncludes.h in PlutoUtils  Hope this helps.

Jason

archived:
Hi,

TaskManager.cpp is no longer used in Orbiter (just did a cleanup in Orbiter) and also src/PlutoUtils/singleton.h is not longer used in Orbiter. I guess the best solution for you would be to do a svn update ( newbielink:http://svn.plutohome.com/pluto/trunk/src/Orbiter [nonactive]) and get the latest sources and you'll have this issue fixed.

Best regards,
Cristian Miron

archived:
Chris,
Thanks for that. I am building this in OE and can specify which version number to use. I have been using 11205. Is there a better version to use?

Thanks,
Rob

archived:
One more thing. In the Orbiter Makefile, there is a line:

XTRALDLIBS += -lDCECommon -lSDL -lSDL_ttf -lSDL_image -lSGE -lSDL_gfx -lXtst -lXext -lGL -lXrender -lGLU

I am assuming that -lGL and -lGLU are openGL? Am I safe removing those? I read somewhere that openGL is not required?

Let me know because they are throwing errors on me.

Thanks,
Rob

Navigation

[0] Message Index

[#] Next page

Sitemap 
Go to full version