mahmoud2 / pinguino32

Automatically exported from code.google.com/p/pinguino32
0 stars 0 forks source link

Boardlist unitialized in cli mode #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. lunch terminal.app under mac os x
2. go to pinguino ide folder
3. build in cli mode : ./pinguino.py --olimex440OTG -f 
examples/01.Basics/Blink/Blink.pde

What is the expected output? What do you see instead?

Actually, I can compile with the IDE version, but not with the cli because the 
board list seem uninitialized

21:20:06 kasey@iUnibody-2:~/pinguino ./pinguino.py --olimex440OTG -f 
examples/01.Basics/Blink/Blink.pde
Xlib:  extension "RANDR" missing on display "/tmp/launch-qPLSs1/org.x:0".
Traceback (most recent call last):
  File "./pinguino.py", line 96, in <module>
    curBoard = boardlist[options.board]
NameError: name 'boardlist' is not defined

What version of the product are you using? On what operating system?

 * pinguino IDE rev 441
 * mac os 10.6.8
 * python Python 2.6.8

Original issue reported on code.google.com by iphone.k...@gmail.com on 20 May 2012 at 7:27

GoogleCodeExporter commented 9 years ago
rev.771
Try ./pinguino.py --olimex440OTG -f examples/01.Basics/Blink/Blink.pde
and got :
cc1: error while loading shared libraries: libmpc.so.2: cannot open shared 
object file: No such file or directory
Try to compile the same program from the GUI : no error

Original comment by rblanchot@gmail.com on 23 Apr 2013 at 8:19

GoogleCodeExporter commented 9 years ago
./pinguino_start.sh --olimex440OTG -f examples/01.Basics/Blink/Blink.pde : no 
error
Problem was LD_LIBRARY_PATH was not set.
Conclusion : user must not launch pinguino.py but pinguino_start.sh instead.

Original comment by rblanchot@gmail.com on 23 Apr 2013 at 8:43