Shop OBEX P1 Docs P2 Docs Learn Events
pbasic for linux — Parallax Forums

pbasic for linux

WipeoutWipeout Posts: 13
edited 2011-01-28 14:53 in General Discussion
Does it exist a Pbasic version for Linux? Where can I download it?
thank you

Comments

  • RonPRonP Posts: 384
    edited 2011-01-25 01:42
  • WipeoutWipeout Posts: 13
    edited 2011-01-25 02:16
    Thank you Ron,
    I know that link, but I cannot understand which one is the right file.
    It is not possible to download the first one, the second is the Pbasic solution and I don't know what it means, the last two I tried to download but I could not install
    What is the right file?
  • RonPRonP Posts: 384
    edited 2011-01-25 12:06
    The first file is a link to a sourceforge page. Which is one way of programing the stamp in linux.

    The second file is another way.

    And the third and fourth link. Yet another way. You need both files the second one is the library. I just installed this option on my system and it appears to work but I have not plugged a stamp into it yet. There is a README file in the first file that has some instructions it assumes you know a little about how to compile a program in the terminal. If you have any specific questions after reading the README file I'll try to help. Perhaps this would be a good topic for a tutorial. HINT.:smile:

    -Ron
  • WipeoutWipeout Posts: 13
    edited 2011-01-25 13:06
    I downloaded the two files (library and pbasic compiler).

    I open the first one and the file read me and quote what it says:
    " to install this lib you need to follow de next step:
    cp libborqt-6.9.0-qt2.3.so /usr/lib
    ln -s /usr/lib/libborqt-6.9.0-qt2.3.so /usr/lib/libborqt-6.9-qt2.3.so"

    I copied the last two rows in the terminal screen and the result is:
    impossible to execute the stat of "libborqt-6.9.0-qt2.3.so" the file or directory does not exist.

    Do I need to install anything else? The file read me says: "to compile you will need Kylix 3."
  • RonPRonP Posts: 384
    edited 2011-01-25 13:29
    Oh sorry left out the part that I installed Kylix I use Ubuntu in the Software Center I search Kylix and installed it.

    You have to first extract the files if you haven't already to a folder I named mine pbcompiler name it what you want.

    In a terminal window use cd to navigate to the directory where you saved the files.

    you have to be root to do this in the terminal type sudo -i then your password

    then:
    cp libborqt-6.9.0-qt2.3.so /usr/lib
    
    hit ENTER that copy's the library to your library's

    next
    ln -s /usr/lib/libborqt-6.9.0-qt2.3.so /usr/lib/libborqt-6.9-qt2.3.so
    
    hit ENTER that creates a symbolic link

    Then go to the folder you created click on the PBcompiler folder then the bin folder you should see a PBasic executable click it and it should work. You can create a launcher for the executable to make it easier to get to in the future.

    Let us know what happens.

    -Ron
  • WipeoutWipeout Posts: 13
    edited 2011-01-28 13:28
    I could not find kylix on ubuntu software center and on the web.
    Is it still available?
  • RonPRonP Posts: 384
    edited 2011-01-28 14:14
    I search it again the actual compiler is "Free Pascal" the package is called "fp-units-i386" which is used for compatibility with kylix. I must say I don't really understand all of it, but it worked for me. I did plug in a BS2 and it worked although the debug shows no text on my system. Here is a link to the website http://www.freepascal.org/ but it should be available in the software center for ease of installation. Try to search Free Pascal in the software center.

    -Ron
  • WipeoutWipeout Posts: 13
    edited 2011-01-28 14:30
    I found free pascal compiler in the software center but it is not possible to install it.
    Ok I am starting to think to give up.

    thanks a lot the same Ron
  • RonPRonP Posts: 384
    edited 2011-01-28 14:53
    If you have access to a Windows machine the Basic Stamp Editor from Parallax is the best way IMO to program the stamp. If Ubuntu is your only choice do some reading on how to install programs. You have to have root privileges to install on Ubuntu. You can also post a question with a link to the software on the Parallax site on the Ubuntu Forums, there are a lot of people there with more knowledge about Ubuntu that are more than willing to help. Good Luck.

    If anyone here can be of better help please chime in.

    -Ron
Sign In or Register to comment.