come on folks
are you saying no one wanted to see how this is done?
this is pretty cool
I am using src from MapThis0497_beta
I have Cygwin installed
and psptoolchain installed
also zlib and some other things (used a LUA setup as a road map for installation)
However......
When I run make - this occurs:
=====
Administrator@hal9000 ~/src
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -g -DDANZEFF_SCEG
U -DNDEBUG -D_PSP_FW_VERSION=150 -L. -L/usr/local/pspdev/psp/sdk/lib -specs=/us
r/local/pspdev/psp/sdk/lib/prxspecs -Wl,-q,-T/usr/local/pspdev/psp/sdk/lib/linkf
ile.prx -mno-crt0 -nostartfiles main.o graphics.o font.o utils.o attractions.o
nmeap01.o danzeff.o NavigateCalculations.o sceUsbGps.o geo-client.o /usr/local/p
spdev/psp/sdk/lib/prxexports.o -lpspdebug -lpsprtc -lpspgum -lpspgu -lpsppower
-lpspusb -lpng -lz -ljpeg -lm -lc -lpspwlan -lpspdebug -lpspdisplay -lpspge -
lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -l
psputility -lpspuser -lpspkernel -o mapViewer.elf
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libc.a(lib_a-timer.o): I
n function `_times_r':
../../../../../newlib/libc/reent/timer.c:64: undefined reference to `_times'
collect2: ld returned 1 exit status
make: *** [mapViewer.elf] Error 1
=====
If I use mapView_03 source_code - I can compile
*with warnings
am I missing something?
come on folks
are you saying no one wanted to see how this is done?
this is pretty cool
Anyone have info on how to set up cygwin to compile mapthis?
(bump)
Bah - no such thing as a bad question but....
Download and extract Mapthis (the gps program for the psp)
In there you will see several directories:
05/04/2007 04:21 PM <DIR> .
05/04/2007 04:21 PM <DIR> ..
03/23/2007 04:01 PM <DIR> HOLUX_EBOOT
05/04/2007 04:25 PM <DIR> HOLUX_KXPLOIT
05/04/2007 04:21 PM <DIR> PSP-290_EBOOT
05/04/2007 04:24 PM <DIR> russian__language_pack
05/04/2007 04:23 PM <DIR> src
05/04/2007 04:20 PM <DIR> system
0 File(s) 0 bytes
The "src" directory is the source code for making "Mapthis"
It requires specific working environment to compile this to place on the PSP
I thought I set up my environment correctly but I get errors when I compile
So I am asking for help on how to setup the correct environment
Since you released an unofficial version of MapThis, it seems you got it working Can you tell how you did it?
I've been trying too myself, but so far I haven't got it working.
I first installed the PSP toolchain from http://dev.oopo.net/files/psptoolchain-20070606.tar.bz2. This partially failed to install insight-6.4, but other than that it worked fine.
Then I installed PSPSDK from http://ps2dev.org/psp/Projects/PSPSD...urce).download. `make` complained about two functions already being defined, so I removed those from src/libc/stdlib.c, and then that worked fine too.
However, MapThis still didn't want to compile. First it couldn't find zlib.h, and when I symlinked that in /usr/local/pspdev/psp/sdk/include, it gave a bunch of assembly errors (Of the kind "/tmp/ccU6P6dq.s:30603: Error: operation combines symbols in different segments".)
Btw., the whole idea to compile my own MapThis is basically the following: in gmdl you can download routes from Google Maps. I've written a tiny PHP script that does just that: http://nieko.net/getroute.php. Now on the PSP, you can access this site, and download the POI file. The browser only wants to save it in a few directories though.
So I had the idea of changing MapThis to also look for POI files in /PSP/COMMON, where the PSP browser can save to. In this way, you could have map specific POIs in the map folders, and one COMMON directory that has POIs available to all maps. You could then download POI files on your PSP directly to this directory.
P.S.: it would of course be even nicer if this were to be built into the official MapThis
I am working with a windows version compiler and I think you will be more close with that (note: if you are already using cygwin you must search and rename/delete the cygwin.dll):
The tutorial to install compiler for windows is here:
http://forums.qj.net/archive/index.php/t-99132.html
I didn't succeded to compile the mapthis because of the jpeg svn but I thnik you can solve that problem if you download it.
However, GPSlim works ok compiled with that.
The JPEG header files are put in c:\pspdev\psp\sdk\inlude, not include. If you move them, compiling works just fine. Thanks
However, on the PSP I now get an 80020148 error when compiling MapThis 0.497 Beta. This usually indicates it should be run on 1.50 instead of 3.xx OE, but that didn't help this time... Also, the EBOOT I get is bigger than the original one. Does anyone know where to look?
Try changing makefile - uncomment the appropriate version:
################################################## #################
#PSP-290/USB versionSPECIFIC DEFINITIONS::uncomment the lines below
################################################## #################
BUILD_PRX = 1
CFLAGS = -O2 -G0 -Wall -g -DDANZEFF_SCEGU -DNDEBUG
LDFLAGS = -mno-crt0 -nostartfiles
LIBS = -lpspdebug -lpsprtc -lpspgum -lpspgu -lpsppower -lpspusb -lpng -lz -ljpeg -lm -lc -lpspwlan -lmad -lpspaudiolib -lpspaudio -g
################################################## #################
#HOLUX GPSlim236+ version DEFINITIONS::uncomment the lines below
################################################## #################
#CFLAGS = -O2 -G0 -Wall -g -DDANZEFF_SCEGU -DNDEBUG -DGENERIC
#LIBS = -lpspdebug -lpsphprm_driver -lpsprtc -lpspvfpu -lpspgum -lpspgu -lpsppower -lpng -lz -ljpeg -lm -lpspwlan -lmad -lpspaudiolib -lpspaudio
this would compile the psp-290 version
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks