Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE issue — Parallax Forums

SimpleIDE issue

AdamantiumOgreAdamantiumOgre Posts: 31
edited 2014-02-24 08:40 in General Discussion
I was looking at doing some light weight SQL, searched the forum and couldn't find a lightweight DB Driver. SQLLite is recommended for embedded systems, so I was looking at doing a port. I searched the OBEX and forums and came up blank on this topic, so if you tell me that there is something already out there, I may go screaming into the night.

Anyway I'm looking at SimpleIDE trying to port SQLLite to Propeller and I'm getting the following error.

sys/mman.h no such file or directory.

Where is it looking for this library? Do I need to install something? I don't even know what it is trying to do at this point, just trying to get a clean compile. I haven't been in a C Program for about 1 years, so I'm a bit rusty.

This may be beyond my capabilities, but I'm going to at least mess wit it for awhile, at least while I wait for my new soldering station to come in.

Help is appreciated.

AO

Comments

  • FranklinFranklin Posts: 4,747
    edited 2014-02-22 20:13
    sys/mman.h no such file or directory.

    Where is it looking for this library? Do I need to install something?
    Could we see the code you are trying to run? That file is not part of the Propeller tools or the simpleide.
  • AdamantiumOgreAdamantiumOgre Posts: 31
    edited 2014-02-23 15:42
    Thanks Franklin,

    I think I'm just going to abandon porting this code over to Propeller. Too complicated. Too much the prop doesn't need.

    I'm just looking for something to contribute to the community.

    Thanks

    Greg
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 15:56
    That nuts. SQLite might be "lite" as far as the relational database world is concerned. But it is gigantically, humongously, vast, in the world of small embedded micro-controllers.When someone says "SQLLite is recommended for embedded systems" or even "embedded systems" now a days you have to double check. Do they mean that little processor with a few KBytes of ROM and RAM like that which that lives in your electricity meter or do they mean some software embedded in a PC application that is tens of megabytes in size already.This is no way a SimpleIDE issue.
  • jazzedjazzed Posts: 11,803
    edited 2014-02-23 16:38
    Hey Greg,

    We can find something for you to do. Have you ever written any old-school video games for example?
  • AdamantiumOgreAdamantiumOgre Posts: 31
    edited 2014-02-24 08:40
    @Heater

    You are right. It's nuts. And you are right, it's not a problem with SimpleIDE. I just assumed it was a configration to find these files, or something I needed to install to get them. My bad. SQLLite is recommended for embedded systems which is why I started there, but this program is hopelessly complex and not very understandable. Although a good share of the file is comments, I still worry that the memory footprint is most likely going to be huge. The problem is, I can see a lot of potential text parsing in my future, and don't want to roll my own every time. But yeah, this is shelved.

    This RDBMS driver idea came from a want to play and build text based adventure games. I know that the info com engine is JZip and it looks like someone ported it sometime ago, but I can seem to find the port. Also if you want to create a game, you need to fit into that paradigm. I think I could create a TextAdventureFramework that would be 10% code and 90% file parsing, but I don't know how interested anyone is in playing Text Adventure, so probably not a great boon for the community.

    On the hardware side, I have an Apple One board from Vince Briel that I need to put together. I also have 2 hive boards that I'm building, but my soldering iron shucked out on me. I'm also not great at soldering, so I'm rolling snake-eyes all over the place.

    Fortunately I have a quickstart board to keep me busy in the interim.
    jazzed wrote: »
    Hey Greg,

    We can find something for you to do. Have you ever written any old-school video games for example?

    I've never written any old school games, but intend to learn, just assumed that the curve was too high, but it seems everything I look at has a steep learning curve. What did you have in mind? If anyone has interesting development ideas post them here. I'm no David Betz or Cluso, so don't expect me to get too close to the metal, but I should be able to find something to help with.

    Thanks in advance.

    Greg
Sign In or Register to comment.