SimpleIDE problem
johnproko
Posts: 121
Hello all. i just started learning C programming language for the propeller education kit. i have a mac. downloaded simpleide and updated my drivers. put learn folder to library folder and workspace to workspace folder. loader delay is at 1, reset signal cfg.
wrote this :
#include "simpletools.h"int main ()
{
print ("hello");
}
but when i tried to upload it says "CANT CREATE OUTPUT DIRECTORY FOR BUILD"
there is also the problem with choosing a library. it says again "LLM memory model library not found in /User/george/opt/parallax/Workspace/Learn/Examples/CIntro/Basics"
i know i havent done something correctly but what?
please please help me!
thank you in advance!!!
wrote this :
#include "simpletools.h"int main ()
{
print ("hello");
}
but when i tried to upload it says "CANT CREATE OUTPUT DIRECTORY FOR BUILD"
there is also the problem with choosing a library. it says again "LLM memory model library not found in /User/george/opt/parallax/Workspace/Learn/Examples/CIntro/Basics"
i know i havent done something correctly but what?
please please help me!
thank you in advance!!!
Comments
I really want to help you and understand what went wrong.
The installer should put opt/parallax into /opt/parallax not /Users/george/opt/parallax.
Did you have to choose a location with the installer?
On first program run, SimpleIDE should create a workspace in /Users/george/Documents/SimpleIDE.
SimpleIDE should automatically point to Learn and Workspace folders there at startup.
Please open Properties and point to the Documents/SimpleIDE folders.
Then try to open and build /Users/george/Documents/SimpleIDE/My Projects/Welcome.side
I suggest putting all of your new projects in some folder under /Users/george/Documents.
i can install in all users, only me or on a specific disk.
choose the specific disk because if i point to only me or all users it goes and install at the previous directory.
this solves partially the problem because now it accepts the preferences on the beginning, (changed loader delay to 1 and reset signal to cfg).
i cannot still open a library program (side programs), i see them but cannot click them (they are fainted). when i try to upload it, it starts to build the program but eventually says "build failed. check build status for errors". after clearing settings to give it a shot it shows "cant create output directory for build"
"On first program run, SimpleIDE should create a workspace in /Users/george/Documents/SimpleIDE.
SimpleIDE should automatically point to Learn and Workspace folders there at startup."
everything is put to /opt/parallax/...
"Please open Properties and point to the Documents/SimpleIDE folders.
Then try to open and build /Users/george/Documents/SimpleIDE/My Projects/Welcome.side"
nope nothing, i cannot choose then, like i said they are fainted
"I suggest putting all of your new projects in some folder under /Users/george/Documents."
this i dont really get it... :-(
im really sorry if im troubling you, but there is nowhere else to ask :-)
Install for all users is the best choice.
Do these steps and paste information to a new post so that I can understand what you have:
1) Open SimpleIDE, then click Menu Bar -> Tools -> Properties.
2) On Properties, select the "General" tab.
3) Click "Clear Settings", then "Cancel".
4) Close SimpleIDE, then reopen SimpleIDE.
5) About and other windows should show up.
6) Close the SimpleIDE v0-9-45 box and the Hint box.
7) On the Properties "C Compiler", copy/paste the entries a post here.
8) Close Properties.
9) Verify the Welcome program is open.
10) Build the Welcome program.
11) Open Build status with the little hammer button at the bottom.
12) Control+Click to select all. Control+Click to copy all, then post the result here.
Thanks.
did all the steps, and managed to build (hammer button) it BUT it cannot be sent to the board and now says that there is no propeller chip...
grrrrrrrrr!!!!
If you have a board connected via usb, and have the ftdi drivers installed, you can click on the serial port box and see a usb serial device.
We'll cut you some slack. E-mail me your shipping address and I'll get you some replacement DIPs right away.
It's great to see the C compiler being used with PE Kit discrete circuitry.
Ken Gracey
-Phil
i have seen your podcast and it is really good. thus i hope you later have video as well.
Here are some learn.parallax.com tutorial links for your search. There's lots more material in the queue for this new year, so check back periodically.
Propeller C Tutorial Series
http://learn.parallax.com/propeller-c-tutorials
Language Tutorials
Basics
http://learn.parallax.com/propeller-c-start-simple (11 pages)
Functions + Multicore
http://learn.parallax.com/propeller-c-functions
Sensor Tutorials
The Simple Circuits Tutorial (8 pages) introduces techniques for reading sensors with on/off, voltage, and RC/QT outputs. See Check Pushbutton, Measure Volts and Sense Light.
http://learn.parallax.com/propeller-c-simple-circuits
The Simple Devices Tutorial (also 8 pages) some sensor examples that use libraries. If you are interested in looking inside these libraries to see the code that does the work, here is an example with the Ping))) Ultrasonic Distance Sensor. You can use the same approach for any other library: (1) Use SimpleIDE to open ...Documents/SimpleIDE/Learn/Simple Libraries/Sensor/libping/libping.side. (2) Click the the Show Project Manager button, it's in the bottom/left corner of the SimpleIDE window. (3) Click ping.c. The C source code will appear in a new tab. In this case, you will see how the library uses libsimpletools' low, pulse_out and pulse_in functions to read the sensor.
The ActivityBot tutorials use contact, light, and infrared sensors for object detection.
http://learn.parallax.com/activitybot