Compiling Nonpareil - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Compiling Nonpareil (/thread-138141.html) |
Compiling Nonpareil - Marcus von Cube, Germany - 06-17-2008 Hi Eric, I've just downloaded Nonpareil and want to compile it under Ubuntu on my Eee PC, but I get a missing library error:
marcus@eeepc:/media/sdcard/2/projekte/nonpareil-0.78$ sconsAll libs seem to be missing. I can see the respective .so files in /usr/lib, but the requested .pc files aren't there. Can you direct me a little?
Marcus
Re: Compiling Nonpareil - Eric Smith - 06-17-2008 If you were running Fedora, I'd say that you probably need the various "-devel" packages. Perhaps Ubuntu also has development packages?
Re: Compiling Nonpareil - Winfried Maschke - 06-17-2008 The missing Software should be inside libgtk2.0-dev. Just do a apt-get install libgtk2.0-dev.
Re: Compiling Nonpareil - Marcus von Cube, Germany - 06-18-2008 OK, after installing a bunch of -dev packages, flex and bison, I still get errors:
gcc -o build/posix/csim.o -c -Wall -g -pthread -D_GNU_SOURCE=1 Looks like GCC doesn't like the following: -D{'DEFAULT_PATH': '/usr/local/lib/nonpareil'} :(
Marcus
Re: Compiling Nonpareil - Marcus von Cube, Germany - 06-21-2008 No one there to help me? Can I patch the build scripts myself?
Re: Compiling Nonpareil - Eric Smith - 06-21-2008 Looks like you're using a newer version of SCons than was supported by that release of Nonpareil. You can try changing src/SConscript:
- csim_env.Append (CPPDEFINES = {'SHAPE_DEFAULT': "false"}) Probably needs other changes throughout the file.
Or use the scons-local that's supplied.
Re: Compiling Nonpareil - Marcus von Cube, Germany - 06-25-2008 scon-local did the trick.
On my 800x480 pixel eeePC display, the 41.kml does not fit the screen. Are there alternatives to try? Edited: 25 June 2008, 10:25 a.m.
Re: Compiling Nonpareil - Egan Ford - 06-25-2008 Get http://sense.net/zc/nonpareil/41c.tgz and extract into your nonpareil directory (e.g. /usr/local/lib/nonpareil), then type nonpareil 41cxs. I created a short 35 as well: http://sense.net/zc/nonpareil/35.tgz. Both have been optimized for 640x480 screens. 800x480 is no problem. Screen shots here: http://sense.net/zc/nonpareil/ You may also want to checkout the patches from here: http://sense.net/zc/x48/. Just get the x48 source and patch with http://sense.net/zc/x48/x48_x11.c.patch. Then you'll have a GX and SX as well. Use Linux C-Kermit to transfer code to/from the emulator. NOTE: I have an x86 x48 binary if you do not want to bother with patching and compiling. Of course you can just use wine and run emu48 if you like.
Edited: 25 June 2008, 12:02 p.m.
Re: Compiling Nonpareil - Marcus von Cube, Germany - 06-26-2008 Thanks Egan!
Seems to work fine. Now it's time to play. It's a pity that the eeePC does not come with a touch screen. :( Edited: 26 June 2008, 4:46 a.m.
|