Shop OBEX P1 Docs P2 Docs Learn Events
Not a good start [sorted] — Parallax Forums

Not a good start [sorted]

simonlsimonl Posts: 866
edited 2012-06-23 09:06 in Propeller 1
Before I start - I hope the following are taken as constructive comments! I'd like to learn C on the Propeller, so I'm offering my observations.
  1. So I tried installing SimpleIDE (WinXP), but it MUST be installed as an Administrator - not great, but I can live with that.
  2. I installed as an administrator (shift + right click, select "Run as...") and it seems toinstall OK - good!
  3. I run SimpleIDE and type in the "Hello world" demo, but then get errors when I try to run it (see below) - oops!
  4. I uninstall, then login as administrator and install again - GREAT, now I can run the demo :)
  5. I logout and back in as normal user - darn, still get errors (even after copying the SimpleIDE folder from the Administrator's "My Documents" to my own "My Documents" and ensuring that SimpleIDE is pointing to my version.
Here's a copy of the errors I'm getting:
Project Directory: C:/!MyDATA/! ROBOTICS/Propeller/C/PropGCC_Work/blinky-001/propeller-elf-gcc.exe -o a.out -Os -mlmm -I . -m32bit-doubles -fno-exceptions blinky-001.c
propeller-elf-gcc.exe error ... (0)
propeller-elf-objdump -h a.out
propeller-elf-objdump error ... (0)
propeller-elf-objdump error ... (0)
Done. Build Succeeded!
propeller-load.exe -I C:/propgcc/propeller-load/ -b QUICKSTART -p COM6 a.out -rPropeller Version 1 on COM6
error: failed to open 'a.out'
error: load failed

Any ideas how to overcome this? I could do Run As each time, but that's be a right pain!

Also, I noticed that the IDE doesn't maintain indentation (if I'm on an indented line and hit enter, the cursor goes to the start of a new line). I know C isn't intend specific, but I like well indented code - makes code following so much easier - is this a known issue?

Keep up the good work, I'm sure it'll be great soon :)

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-06-23 08:29
    I see. The PATH environment variable is set to the user that installed the program

    Please close the program then add c:\propgcc\bin to the "System variables" PATH - that should fix it.

    Changing the PATH environment variables can be done by:
    1. Start -> right-click on My Computer
    2. On System Properties, click Advanced, then Environment Variables
    3. On click Environment Variables choose System variables Path, then click edit
    4. add ";C:\propgcc\bin" to the end of the Variable value.
    5. Click Ok to close all.
    6. Restart SimpleIDE
    Thanks for reporting this. I'll add a fix to the installer.

    At this point we are responsible for our own indents. Sorry.
    I'm a little annoyed by it being missing too, but other features were more important.

    --Steve
  • simonlsimonl Posts: 866
    edited 2012-06-23 09:06
    Hey - many thanks Steve - that sorted it :thumb:
Sign In or Register to comment.