Shop OBEX P1 Docs P2 Docs Learn Events
Follow up -- Bad start-- still a bad start. — Parallax Forums

Follow up -- Bad start-- still a bad start.

greybeardgreybeard Posts: 65
edited 2012-08-03 20:59 in Propeller 1
Running WinXp Pro.

I read the previous post about being unable to compile and load the hello program. So. I downloaded ver 0.8.0 which did get rid of the path problem.

However, I still get the ' No such file or directory' when the IDE runs the propeller-loader. I ran propeller-load without parameters in a dos window and it loaded. So I don't know what file it can't find. The a.out file is present in the source directory.

Uninstalled and reinstalled as administrator. New problem. When I run the IDE as administrator, I receive the same result as above.

When I run as the local user, I cannot load a project. The IDE comes with empty project, When I try to load the hello project, It asked to save the old project management settings before closing. If I answer either yes or no, the program. The program fails with the message that ''the application has requested the runtime to terminate in an unusual way' then exits.

Comments

  • greybeardgreybeard Posts: 65
    edited 2012-07-30 19:50
    greybeard wrote: »
    Running WinXp Pro.

    I read the previous post about being unable to compile and load the hello program. So. I downloaded ver 0.8.0 which did get rid of the path problem.

    However, I still get the ' No such file or directory' when the IDE runs the propeller-loader. I ran propeller-load without parameters in a dos window and it loaded. So I don't know what file it can't find. The a.out file is present in the source directory.

    Uninstalled and reinstalled as administrator. New problem. When I run the IDE as administrator, I receive the same result as above.

    When I run as the local user, I cannot load a project. The IDE comes with empty project, When I try to load the hello project, It asked to save the old project management settings before closing. If I answer either yes or no, the program. The program fails with the message that ''the application has requested the runtime to terminate in an unusual way' then exits.

    Dowloaded ver 0.8.1 -- Same problems.

    Really looks to be a step up in the development tools. Wish I could get it to work.
  • jazzedjazzed Posts: 11,803
    edited 2012-07-30 20:41
    Hi. Sorry I haven't been able to respond. Life got in the way.

    Can you give the following?

    What Windows are you running?
    Is propeller-elf-gcc.exe in C:\propgcc\bin ?
    Is C:\propgcc\bin in %PATH% ? echo %PATH%

    The User/Admin problem is a known issue mentioned in the download notes. Before it mentioned adding C:\propgcc to the system PATH environment variable. It should ay C:\propgcc\bin should be in the system PATH environment variable.

    Thanks,
    --Steve
  • greybeardgreybeard Posts: 65
    edited 2012-08-02 11:43
    see above:
    Using Win Xp Pro.
    Saw the download notes. adjusted path to C:\propgcc\bin is sysem path. Any user should be able to access.
    Opened dos window. used 'set' to view path. Path was correct.
    Run propelller-load from command line but without args. Program ran and displayed options as expected so path is right.

    propeller-load is what fails from the ide with the message. Compiller runs successfully in the ide.
  • jazzedjazzed Posts: 11,803
    edited 2012-08-02 12:16
    greybeard wrote: »
    see above:
    Using Win Xp Pro.
    Saw the download notes. adjusted path to C:\propgcc\bin is sysem path. Any user should be able to access.
    Opened dos window. used 'set' to view path. Path was correct.
    Run propelller-load from command line but without args. Program ran and displayed options as expected so path is right.

    propeller-load is what fails from the ide with the message. Compiller runs successfully in the ide.

    Did you restart SimpleIDE after setting the system path?
    What is your workspace or demo folder name?

    Can you please copy the build status and paste to a forum post here? This is the easiest way for me to help you further.

    1. Make sure your board is connected. Choose the serial port.
    2. Open the hello demo, and choose HUB for board type.
    3. Click the green right-arrow run button (or press F10).
    4. Right click build status pane - this should show a popup window.
    5. Click "Select All" from popup window.
    6. Right click build status pane again.
    7. Click "Copy" from the popup window.
    8. Paste to new forum post.


    Thanks,
    --Steve
  • greybeardgreybeard Posts: 65
    edited 2012-08-03 17:20
    jazzed wrote: »
    Hi. Sorry I haven't been able to respond. Life got in the way.

    Can you give the following?

    What Windows are you running?
    Is propeller-elf-gcc.exe in C:\propgcc\bin ?
    Is C:\propgcc\bin in %PATH% ? echo %PATH%

    The User/Admin problem is a known issue mentioned in the download notes. Before it mentioned adding C:\propgcc to the system PATH environment variable. It should ay C:\propgcc\bin should be in the system PATH environment variable.

    Thanks,
    --Steve
  • greybeardgreybeard Posts: 65
    edited 2012-08-03 17:35
    I think the answer I'm looking for is that the "no such file or directory' is a response to stdin no being opened. As such, attempting to open STDIN fails thus producing the "NO SUCH FILE OR DIRECTORY' message. Misleading but understandable. I had no serial port on the old machine I was using it to check some syntax. PropGcc is working on my lab maching WinXp and and my laptop Win7.

    I like your approach and still think it is a step up from other development evironments. I thank you've done a fine job and put in a lot of time to get this far. Hope it works out for it.

    BUT.. I have a slew of questions about the implementation. The answers to which will determine if I continue to follow and work with the functionality.

    P.S. I'm not a stickler on every detail working in the app. Doing 'work arounds' to get something done is ok by me, Inconvenient sometimes, but I can live with it. After all, I'm working with spin and pasm without a reliable debugger. I'm interested to creating a lean, mean propeller app that will work reliably in a specialized commercial enviroments. I'll post my questions elsewhere. I'm not in a hurry for answers.

    Thanks for your time.
  • jazzedjazzed Posts: 11,803
    edited 2012-08-03 20:59
    greybeard wrote: »
    I think the answer I'm looking for is that the "no such file or directory' is a response to stdin no being opened. As such, attempting to open STDIN fails thus producing the "NO SUCH FILE OR DIRECTORY' message. Misleading but understandable.

    Please explain. I'm lost. Where do you see this?

    Can you copy/paste the output in a post? Maybe take a screen snapshot with CTRL+PRNSCREEN and paste to Paint and save as a .png file then post here as an attachment?
    greybeard wrote: »
    PropGcc is working on my lab maching WinXp and and my laptop Win7.

    This is good news.
    greybeard wrote: »
    I like your approach and still think it is a step up from other development evironments. I thank you've done a fine job and put in a lot of time to get this far. Hope it works out for it.

    If we can fix whatever problems you're having it would benefit everyone.
Sign In or Register to comment.