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?
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.
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?
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?
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!
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.
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.
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)
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.
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. 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.
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. 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
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.
Comments
Bizarre. Can you please try to remember the steps you took that caused this to happen and post them here?
Thanks,
--Steve
Working on some more complex things over on this thread http://forums.parallax.com/showthread.php?141233-New-version-of-spin-to-C-translator
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:
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
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
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!
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.
Ray
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)
Would this be a valid fix? Maybe not a fix, but a beautiful widget that should work in both Win32 and X11.
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
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.
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.
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
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