Shop OBEX P1 Docs P2 Docs Learn Events
SpinSIDE Test Preview - Page 2 — Parallax Forums

SpinSIDE Test Preview

2»

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-07-13 19:28
    Dr_Acula wrote: »
    PhiPi said

    Yes I've just had the same error in the C SimpleIDE. I've got two "Hello World" projects - one works and one does not. If I start with the one that does not work, compile it, note the error, then close that project, open the working one and compile it I get the same error. It is as if parts of the previous project still exist.

    Bizarre. Can you please try to remember the steps you took that caused this to happen and post them here?

    Thanks,
    --Steve
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2012-07-13 20:24
    Sorry the whole thing was very confusing - error messages from previous projects. It was like PhiPi said. I've associated .side files with Notepad, so now one can see it is a little text file.
    spin2Cdemo.cpp
    >compiler=C++
    >memtype=xmmc
    >optimize=-Os
    >-m32bit-doubles
    >-fno-exceptions
    >-fno-rtti
    >BOARD::TOUCH161-SDXMMC
    



    Working on some more complex things over on this thread http://forums.parallax.com/showthread.php?141233-New-version-of-spin-to-C-translator
  • RsadeikaRsadeika Posts: 3,847
    edited 2012-07-20 07:02
    So, I was going to take the whole summer off ...

    Maybe I will take some time to see how this SpinSIDE works. I just created a test1.side project which contains the test1.spin file:
    {{
     * @file test1.spin
     * This is the main test1 program start point.
    }} 
    
    {{
     * Main program function.
    }}
    pub main
    
        repeat
    
    

    The file seems to have the minimal requirements to run, but I get an error, when I "Run Project": "Library Path - - Not found". I am not sure what that is referring to. Have I been away from Spin to long? Once I get past that "Library Path" thing, I will have to get some of my existing Spin programs out, and try to run them.

    A general observation, I like that you are using the projects with Spin. I am remember when I was using BST, that is one thing that I liked with that IDE. Will you be adding a way of running programs in LMM with this version of Spin?

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2012-07-20 08:07
    Rsadeika wrote: »
    So, I was going to take the whole summer off ...

    Hi Ray,

    Glad to see you have time for testing!

    There is a bug where I specify the library for bstc and spin even if it is empty in the Properties dialog -> Spin Folders tab -> Library Folder. For the time being click the wrench and add the path to your spin library.

    I'm not sure about running programs in LMM. Can you give me a pointer to an example?

    Thanks,
    --Steve
  • 4x5n4x5n Posts: 745
    edited 2012-07-20 09:44
    Steve,

    I had some time to play today and removed your new simpleide and reinstalled it. For reasons that only MS would understand I'm able to create projects now. So far it's looking good!
  • 4x5n4x5n Posts: 745
    edited 2012-07-20 10:09
    I'm starting to think that I'm not smart enough to use simpleIDE or anything beyond the proptool. All looked good on start up and when I tried to build the sample program that came up after creating a new project I got the following error:

    bstc.exe -b -L blink.spin
    Library Path- -Not found

    I have to admit I have absolutely no idea what that means, that I needed a library path or what to use as a library path.
  • RsadeikaRsadeika Posts: 3,847
    edited 2012-07-20 10:30
    Click on the wrench, that opens up a window for SimpleIDE Properties. Click on "Spin Folders", which has the "Library Folder", and the "Workspace Folder" blank. On my system, I have my PropGCC folder on a server, so that is the folder that gets placed in Library and Workspace Folder.

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2012-07-20 11:13
    @4x5n,

    Glad you're new project is working ok now.

    Sorry for the library confusion. The problem is a bug and has been addressed in my repository. The installer will normally add the folders for you on Windows.

    Rasadeika made some nice instructions. Compare that with the attachment. It highlights where the library folder is set for my computer. Follow that example, but browse for you spin library

    Your library may be in a folder like: C:\Program Files (x86)\Parallax Inc\Propeller Tool v1.2.7 (R2)
    1024 x 711 - 88K
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-07-20 11:47
    jazzed wrote: »
    Missing Features:
    1. Terminal Options needs font family and size controls, foreground, and background colors.
    2. Terminal Options baudrate and port select has been requested, but are still under consideration.

    Would this be a valid fix? Maybe not a fix, but a beautiful widget that should work in both Win32 and X11.
  • jazzedjazzed Posts: 11,803
    edited 2012-07-20 12:10
    Would this be a valid fix? Maybe not a fix, but a beautiful widget that should work in both Win32 and X11.
    Thanks. I'll look into it.

    I've looked into several options, but they are usually just canonical mode setPlainText programs. That one looks a little more complicated at first glance.

    The terminal is by far the hardest part of SimpleIDE. Honestly I think the more complicated terminal stuff should be an external program.

    Adding an option to launch such a program would be useful, but there are some problems with the approach unless the terminal can be manipulated at run time.

    If PST could be ported to Lazarus, that would be great.

    --Steve
  • 4x5n4x5n Posts: 745
    edited 2012-07-20 12:14
    After reading my last post I'd like to apologize for my tone. The people here have been nothing but helpful in answering the silly questions that I've been asking over the last year. I had no right to be as abrasive as I was. While it's not an excuse (my tone was in my opinion inexcusable) but it's been a long frustrating week and this was just another in a long line of things that I had problems with. My frustration was with myself and not anyone here.

    On the positive side I entered the library path from the spin tool and I was able to compile programs. I do have a question and possibly a couple of feature requests. :smile: My question is can I have multiple library paths. It would be nice to have a separate directory for my personal objects so I don't have to clutter up the "system" library. The ability to specify a separate library path for each project would be the ideal! For all I know that's already possible since I haven't tried to create multiple projects yet.

    The second feature request (if multiple library paths for a given project isn't possible) would be for the editor to denote blocking in some visible manner. I know the whole blocking by indentation has been argued to death in other threads and don't want to have it spread here so please let's not have any discussions on the pluses and minuses of blocking by indentation. It is what it is. I'd just like some visible indication of what the blocking is. Something along the lines of vertical bars, highlighting, etc would make it a lot easier to keep track of the blocking.
  • jazzedjazzed Posts: 11,803
    edited 2012-07-21 10:02
    4x5n wrote: »
    On the positive side I entered the library path from the spin tool and I was able to compile programs. I do have a question and possibly a couple of feature requests. :smile: My question is can I have multiple library paths.

    BSTC allows multiple paths. I'll look into adding that for you. It won't be right away because of other commitments.
    I've added an enhancement issue for tracking here: http://code.google.com/p/propside/issues/detail?id=58
    4x5n wrote: »
    The second feature request (if multiple library paths for a given project isn't possible) would be for the editor to denote blocking in some visible manner. I know the whole blocking by indentation has been argued to death in other threads and don't want to have it spread here so please let's not have any discussions on the pluses and minuses of blocking by indentation. It is what it is. I'd just like some visible indication of what the blocking is. Something along the lines of vertical bars, highlighting, etc would make it a lot easier to keep track of the blocking.

    This will be much harder to do with Qt, although anything is possible given enough time.
    Enhancement issue for someone needing a challenge: http://code.google.com/p/propside/issues/detail?id=59


    Thanks.
    --Steve
Sign In or Register to comment.