SQLite or an other database

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
kolaaaa
Posts: 15
Joined: Mon Apr 16, 2007 11:09 pm
Location: Paris

SQLite or an other database

Post by kolaaaa »

Hello,

I'm working since few month on a Guitar Pro's clone for PSP (well, just a tablature reader). I have finish the parser and some of graphics functions. For the moment tablature is just scrolling at the screen. Now my goals is to create a database, a kind of iTunes's like.

So, here's my question, does anybody try to port SQLite (or any other) to the PSP ?
I success to compile it but it didn't work. I suppose there is something not compatible in the PSP's librairy.

I hope my English is clear and thanks you for any help.
fraca7
Posts: 21
Joined: Mon Oct 03, 2005 12:55 am
Location: Paris
Contact:

Post by fraca7 »

I tried and miserably failed. The problem is that sqlite relies on the platform having a ftruncate() call, which the PSP doesn't seem to have. I tried to 'emulate' it but it doesn't work.

I haven't had much time to work on it since my first try though.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

fraca7 wrote:I tried and miserably failed. The problem is that sqlite relies on the platform having a ftruncate() call, which the PSP doesn't seem to have.
http://forums.ps2dev.org/viewtopic.php?p=50679#50679
fraca7
Posts: 21
Joined: Mon Oct 03, 2005 12:55 am
Location: Paris
Contact:

Post by fraca7 »

Ahah, I'll try that tomorrow... Thanks!
Post Reply