Archive > Orbiter - Developers

Orbiter on Zaurus?

<< < (2/4) > >>

archived:
chris.m
OK. So I commented out locale and got a little farther but then got a bizarre error:


 
--- Code: ---
g++ -c -I./ -I../../ -I../ -I../DCE/ -I../../DCE -I../VIPShared/ -I../../VIPShared -I/usr/include/mysql -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSE_LZO_DATAGRID -D_DEVEL_DEFINES -Wall -g -ggdb3 -D_GNU_SOURCE getch.cpp -o getch.o
getch.cpp: In function `int THE_getch(bool, timeval *)':
getch.cpp:34: `fd_set' undeclared (first use this function)
getch.cpp:34: (Each undeclared identifier is reported only once
getch.cpp:34: for each function it appears in.)
getch.cpp:34: parse error before `;'
getch.cpp:37: `stdout' undeclared (first use this function)
getch.cpp:37: implicit declaration of function `int fflush(...)'
getch.cpp:49: `fdset' undeclared (first use this function)
getch.cpp:49: implicit declaration of function `int FD_ZERO(...)'
getch.cpp:50: implicit declaration of function `int FD_SET(...)'
getch.cpp:52: implicit declaration of function `int select(...)'
getch.cpp: In function `int getch_timeout(int)':
getch.cpp:82: variable `struct timeval timeout' has initializer but incomplete type
getch.cpp:83: confused by earlier errors, bailing out
make: *** [getch.o] Error 1


--- End code ---


Any way around this one chris.m?

Rob

archived:
Hi,

You can remove getch.cpp from PlutoUtils/Makefile. It's not being used by Orbiter.

Chris M.

archived:
Chris.m
Thank you so much for your help to date. This is where I am.
I've been able to compile
libDCEcommon.so
libPlutoUtils.so
libSerializeClass.so

Now I am trying to compile Orbiter. It took a while but I have resolved most of the dependency problems. I just have a couple left.

When I run a make I get the following:

--- Code: ---
Computing dependencies for WizardLogic.cppWizardLogic.cpp:4: CreateDevice/UserUtils.h: No such file or directory
 done
Computing dependencies for Linux/MouseBehavior_Linux.cppIn file included from Linux/OrbiterLinux.h:10,
                 from Linux/MouseBehavior_Linux.h:11,
                 from Linux/MouseBehavior_Linux.cpp:1:
Linux/win_list_manager.h:7: utilities/linux/window_manager/WMController/WMController.h: No such file or directory
In file included from Linux/MouseBehavior_Linux.h:11,
                 from Linux/MouseBehavior_Linux.cpp:1:
Linux/OrbiterLinux.h:11: utilities/linux/wrapper/wrapper_x11.h: No such file or directory
 done
Computing dependencies for Linux/OSDScreenHandler.cppIn file included from Linux/OrbiterLinux.h:10,
                 from Linux/OSDScreenHandler.cpp:12:
Linux/win_list_manager.h:7: utilities/linux/window_manager/WMController/WMContro
ller.h: No such file or directory
In file included from Linux/OSDScreenHandler.cpp:12:
Linux/OrbiterLinux.h:11: utilities/linux/wrapper/wrapper_x11.h: No such file or directory
 done
Computing dependencies for SDL/StartOrbiterSDL.cppIn file included from SDL/../Linux/OrbiterLinux.h:10,
                 from SDL/StartOrbiterSDL.h:5,
                 from SDL/StartOrbiterSDL.cpp:18:
SDL/../Linux/win_list_manager.h:7: utilities/linux/window_manager/WMController/WMController.h: No such file or directory
In file included from SDL/StartOrbiterSDL.h:5,
                 from SDL/StartOrbiterSDL.cpp:18:
SDL/../Linux/OrbiterLinux.h:11: utilities/linux/wrapper/wrapper_x11.h: No such file or directory
 done
Computing dependencies for SDL/SDLGraphic.cppSDL/SDLGraphic.cpp:4: SDL_rotozoom.h: No such file or directory
 done
Computing dependencies for SDL/SDLRendererOCGHelper.cpp done
Computing dependencies for SDL/OrbiterRenderer_SDL.cppSDL/OrbiterRenderer_SDL.cpp:35: Splitter/TextWrapper.h: No such file or directory
SDL/OrbiterRenderer_SDL.cpp:43: SDL_rotozoom.h: No such file or directory
SDL/OrbiterRenderer_SDL.cpp:56: utilities/linux/transparency/transparency.h: No such file or directory
SDL/OrbiterRenderer_SDL.cpp:57: utilities/linux/wrapper/wrapper_x11.h: No such file or directory
 done


--- End code ---


The next block of errors is:

--- Code: ---
Computing dependencies for GraphicBuilder.cppGraphicBuilder.cpp:10: OrbiterGen/Renderer.h: No such file or directory
 done
Computing dependencies for RendererMNG.cpp done
Computing dependencies for Linux/XRecordExtensionHandler.cpp done
Computing dependencies for Linux/OrbiterLinux.cppIn file included from Linux/OrbiterLinux.h:10,
                 from Linux/OrbiterLinux.cpp:33:
Linux/win_list_manager.h:7: utilities/linux/window_manager/WMController/WMController.h: No such file or directory
In file included from Linux/OrbiterLinux.cpp:33:
Linux/OrbiterLinux.h:11: utilities/linux/wrapper/wrapper_x11.h: No such file or directory
 done

--- End code ---


Looks like I am missing
a utilities/linux/ directory,
OrbiterGen directory ,
Splitter/TextWrapper.h,
CreateDevice/UserUtils.h
SDL_rotozoom.h

I am assuming these are provided by some PlutoHome packages that I am missing?

Again I appreciate your help on this. Once I get this running I'll put something up on the wiki ;)

Rob

archived:
Hi,

I guess you are using latest code from our svn and you didn't update all trunk/src folder. Here's the url to svn: http://svn.plutohome.com/pluto/trunk/src/ . You'll have to update src/utilities folder to get wrapper_x11.h, WMController.h and transparency.h. I would recommend you to do a svn update to all trunk/src, to get the latest sources.

Best regards,
Chris M.

archived:
Ok chris.m,
I downloaded a couple of more packages from svn and now I think all of the dependencies are fixed. Here are the errors I am getting now:

on a "make" for Orbiter I get:

--- Code: ---
Computing dependencies for ../utilities/linux/wrapper/wrapper_x11.cppIn file included from ../utilities/linux/wrapper/../../defines/define_all.h:18,
                 from ../utilities/linux/wrapper/wrapper_x11.cpp:16:
../utilities/linux/wrapper/../../defines/define_cond.h:39: badly punctuated parameter list in `#define'
../utilities/linux/wrapper/../../defines/define_cond.h:50: badly punctuated parameter list in `#define'
../utilities/linux/wrapper/../../defines/define_cond.h:69: warning: invalid character in macro parameter name
../utilities/linux/wrapper/../../defines/define_cond.h:69: badly punctuated parameter list in `#define'
In file included from ../utilities/linux/wrapper/../../defines/define_all.h:19,
                 from ../utilities/linux/wrapper/wrapper_x11.cpp:16:
../utilities/linux/wrapper/../../defines/define_logger.h:35: badly punctuated parameter list in `#define'
../utilities/linux/wrapper/../../defines/define_logger.h:36: badly punctuated parameter list in `#define'
../utilities/linux/wrapper/../../defines/define_logger.h:37: badly punctuated parameter list in `#define'
../utilities/linux/window_manager/WMController/../../../defines/define_logger.h:37: badly punctuated parameter list in `#define'
../utilities/linux/window_manager/WMController/../../../defines/define_logger.h:38: badly punctuated parameter list in `#define'
 done
Computing dependencies for TaskManager.cpp done
Computing dependencies for Task.cpp done
Computing dependencies for ../Gen_Devices/OrbiterBase.cpp done
Computing dependencies for Orbiter.cpp done
Computing dependencies for Main.cpp done
type 'make bin', 'make so' or 'make all'

--- End code ---


and then a "make all" gives me this:

--- Code: ---
root@zaurus:~/PlutoHome/Orbiter# make all
g++ -c -I.. -I../DCE -I/usr/include/mysql -D_DEVEL_DEFINES -I/usr/include/SDL -DORBITER -DCACHE_IMAGES -DENABLE_MOUSE_BEHAVIOR -I../Splitter -I../OrbiterGen -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DUSE_WX_LIB=0 -Wall -fPIC -ggdb3 -g -O0 -DUSE_WX_LIB=0 Main.cpp -o Main.o
In file included from /usr/include/glib-2.0/glib.h:52,
                 from ../utilities/linux/window_manager/WMController/../wmctrl/wmctrl.h:50,
                 from ../utilities/linux/window_manager/WMController/WMController.h:14,
                 from SDL/../Linux/win_list_manager.h:7,
                 from SDL/../Linux/OrbiterLinux.h:10,
                 from SDL/StartOrbiterSDL.h:5,
                 from Main.cpp:21:
/usr/include/glib-2.0/glib/gmessages.h:109: warning: `visibility' attribute directive ignored
In file included from SDL/../Linux/../SDL/OrbiterRenderer_SDL.h:10,
                 from SDL/../Linux/OrbiterRenderer_Linux.h:8,
                 from SDL/StartOrbiterSDL.h:6,
                 from Main.cpp:21:
SDL/../Linux/../SDL/../OrbiterRenderer.h:41: syntax error before `;'
make: *** [Main.o] Error 1

--- End code ---


I'm not sure what the syntax should be for this.  Any help?

Thanks
Rob

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Sitemap 
Go to full version