Gambas-it

Vari => OpenBar => Topic aperto da: akrobaticone - 20 Aprile 2012, 15:47:25

Titolo: Raspberry
Inserito da: akrobaticone - 20 Aprile 2012, 15:47:25
http://www.raspberrypi.org/ (http://www.raspberrypi.org/)

in arrivo in Italia a breve

con Gambas a bordo si possono fare un sacco di cose simpatiche
Titolo: Re: Raspberry
Inserito da: Ceskho - 23 Aprile 2012, 13:08:38
Non riesco ancora a capire quale dotazione hardware abbia....sicuro che gambas ci giri?
Titolo: Re: Raspberry
Inserito da: akrobaticone - 23 Aprile 2012, 16:01:49
sicuro.....no
con 256Mb di Ram non so se si riesca a installarlo
http://it.wikipedia.org/wiki/Raspberry_Pi (http://it.wikipedia.org/wiki/Raspberry_Pi)
però l'oggetto è sfizioso e se ne parla anche quì
http://www.tomshw.it/cont/news/il-raspberry-pi-e-potente-e-si-overclocca-che-e-un-piacere/37006/1.html (http://www.tomshw.it/cont/news/il-raspberry-pi-e-potente-e-si-overclocca-che-e-un-piacere/37006/1.html)

di sicuro se dovesse far successo contribuirebbe non poco a diffondere il pinguino e le distro installate
mi sembra una buona occasione

appena riesco ne ordino uno.
poi la prima cosa che provo è installare gambas

Titolo: Re: Raspberry
Inserito da: vuott - 26 Aprile 2012, 12:12:34
Minisini ha inviato questo messaggio alla mailing-list internazionale:

« Gambas 3 on Raspberry Pi

At least the interpreter and the compiler compile correctly (with only one strange warning).
I will try to continue on compiling Gambas, but the QEMU ARM emulator is very slow, so it takes hours.

-- Benoît Minisini
»

ed ha allegato un file immagine.
Titolo: Re: Raspberry
Inserito da: vuott - 27 Aprile 2012, 00:10:39
...ulteriore messaggio di Minisini:
« The Raspberry system was emulated through QEMU. Compilation takes hours. X11 Display was forwarded to the host machine. Everything is sluggish.

But it works, and it's cool. :-)

If you want to try, use the very last development version.

Regards,

-- Benoît Minisini
»

ed ha inviato anche un file immagine che qui allego.
Titolo: Re: Raspberry
Inserito da: vuott - 28 Aprile 2012, 13:45:23
L'utente charlesg della mailing-list internazionale di Gambas ha inviato la stampa dello schermo a Eben Upton, amministratore della fondazione Raspberry Pi Foundation, il quale gli ha riposto così:
«Oh, very cool. We'll try to help you guys jump the queue for some units when we get the next batch in.»
Titolo: Re: Raspberry
Inserito da: vuott - 29 Aprile 2012, 13:55:26
L'utente John Rose ha inviato questo messaggio:

« I've been looking at RaspberryPi. Personally, I don't want to use
Fedora. So installing Debian for Armel on the RaspberryPi looks good, as
current Ubuntu for Arm (apparently have to use 9.04 or earlier)
supposedly does not support this processor. So I presume that dev of a
Gambas3 app could be done on (e.g.) Ubuntu 10.04 or 12.04 with creation
of an installation package for Debian. Would the created .deb install OK
on the RaspberryPi computer?

PS I believe that Benoit posted some messages about running Gambas on an
Arm device, but I'm unclear if they apply to the above situation.
»
Titolo: Re: Raspberry
Inserito da: El Berto - 30 Giugno 2012, 23:03:25
Potreste gentilmente "tradurre"?
Allora, Raspberry ha un processore ARM.
Non ci capisco niente di distribuzioni di Linux....
Per usare un programma in Gambas (3) devo quindi installarlo su Debian (se non ho capito male), poi posso lanciare l'eseguibile con un emulatore di ARM (con QEMU) per vedere se funziona su Raspberry?
Titolo: Re: Raspberry
Inserito da: vuott - 26 Luglio 2012, 16:46:10
Riporto di seguito domande e risposte - sempre circa Raspberry - apparse sulla mailing list internazionale:

« Somebody know how to use gpio port with Gambas 2/3 on Raspberry pi ? »

* * * * * * * *

« According to:

    http://www.haifux.org/lectures/258/gpio_spi_i2c_userspace.pdf

You have some directories in /sys to make gpio accessible from user
space, and then other directories to program them.

--
Benoît Minisini
»

* * * * * * * *

« He may be talking about this...

  http://pypi.python.org/pypi/RPi.GPIO

I think this code is used in the Python modules...

  http://elinux.org/RPi_Low-level_peripherals#GPIO_Driving_Example_.28C.29

Since I finally got mine RasPi and just gotten Gambas3 3.1.1 up running I'm
also very interested in this topic (and I'm sure lot's of other people are
to) but since I'm quite lost when it comes to C there is some reading to do.

A guy named Gordon have already made a C library named WiringPi but I have no
clue on how to use it from within Gambas3 or if it's even possible?

  https://projects.drogon.net/raspberry-pi/wiringpi/

Having an way to read/write RasPi's GPIO, I2C and SPI from Gambas3 would be
golden and I wished I known C/C++ and was talented enough to write a component :-/

BTW - Gambas3 3.1.1 seems to run fine on the RasPi using Xfce on Debian Squeeze,
haven't done much so far but at least it's up running and reading/writing the GPIO
is next so any input is appreciated.
»

* * * * * * * *

« Maybe I say something stupid, but there is a shell script example there:

http://elinux.org/RPi_Low-level_peripherals#GPIO_Driving_Example_.28Shell_script.29

It is just a matter of writing or reading files in /sys/class/gpio as
root. So you can use the standard file functions in Gambas for doing the
same thing.

Couldn't it be a simple solution?

--
Benoît Minisini
»

* * * * * * * *

« Yes, thats probably the easiest way to toggle the I/O pins ON/OFF if
speed is no concern but when there is no way to use interrupt etc that
way. Also it does not run in user space must be run as root wich is fine
for some things but not all.
»

* * * * * * * *

« A guy named Gordon have already made a C library named WiringPi but I have no
clue on how to use it from within Gambas3 or if it's even possible?
  https://projects.drogon.net/raspberry-pi/wiringpi/
»

* * * * * * * *

« This is a more interesting thing. I think by using Extern functions, you
can use that library directly without any problem.

Regards,

--
Benoît Minisini »

* * * * * * * *

Thats what I hoped for, I need to read up on how to use the EXTERN
function and how to declare properly.

Also found an alternative C library for I/O and SPI made by Mike McCauley.

  http://www.open.com.au/mikem/bcm2835/index.html

Both libraries are probably quite similar but I downloaded and installed both
and will see if I can use them in Gambas3, will keep this list posted...

* * * * * * * *

With some luck and Google I managed to compile a shared version of the
C library to RaspberryPi I/O by Mike McCauley and it seems to work
(at least partly) within Gambas3 using the EXTERN function.

I started with the simplest function there was in the library and that
was pretty strait forward and it works fine in Gambas3 using the
code below...

  ' Declare external function
  Public Extern delay(millis As Integer) In "libbcm2835"

  ' Delay 2 sec
  delay(2000)

Next up was to declare an actual I/O function to toggle I/O pins
and looks like this in the C code (bcm2835.c from the library at
http://www.open.com.au/mikem/bcm2835/index.html)...

  ...
  // Set putput pin
  void bcm2835_gpio_set(uint8_t pin)
  {
      volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32;
      uint8_t shift = pin % 32;
      bcm2835_peri_write(paddr, 1 << shift);
  }
  ...

Since my C knowledge is very limited I wonder what to declare "uint8_t"
as? According to Google it seems to be the same as unsigned char so I
tried to use Byte in the declaration but no go, I get segmentation
fault when calling that function.

  Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835"

Anyone have any ideas what I am doing wrong?

BTW: Let me know if anyone wants the shared library file and I will
upload it somewhere, it's compiled in Debain Squeeze.

/CJ

* * * * * * * *

Hi,

your posting is very interesting, thank you

I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI.

1st step was to make a Virtual machine of debian.
2nd is to get Gmabs3 working on it ...
but this failed.

Your information sounds as you successfully run ganbas3 on debian.
How did you install Gambas3 ?

wally

* * * * * * * *

uint8_t is a type as specified by the _t in the naming. u = unsigned
and int = integer 8 = eight bits. So this declares an unsigned integer
of 8 bits.

Hope this helps.

Morgan
»
Titolo: Re: Raspberry
Inserito da: akrobaticone - 04 Agosto 2012, 10:31:05
quindi in sostanza c'è molto interesse per far girare Gambas su Raspberry.
a fine agosto arriva anche il mio.....
Titolo: Re: Raspberry
Inserito da: vuott - 07 Agosto 2012, 17:11:53
Aggiungo questa:


«What minimum do i need to run a Gambas3 project, developed on
OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ?

So far i installed gb3-runtime on the debian system and tried to run a
project.gambas executable using gbr3 ./project.gambas, but this
does not work. "No project file in 'project.gambas'

thank you
wally
»


************

«Sound like the gb3-runtime isn't installed correctly on your RasPi.
Did you install it as a deb-package using...

  dpkg -i gambas3-runtime_*.deb

If your project doesn't uses any other Gambas3 components all you
need is the gb3-runtime installed.

/CJ»


***********

«i installed simly with apt-get and seems to work.
gbr3 -V , gbr3 --help behave as expected.

> If your project doesn't uses any other Gambas3 components all you
> need is the gb3-runtime installed.

Ok, here i was not sure at all. I think all components activatet and used
during develpment should also be present on target system.

I'll try with one of the incuded simple example projects.
Keep us informed on you activities concerning RasPi

wally»
Titolo: Re: Raspberry
Inserito da: akrobaticone - 27 Settembre 2012, 09:42:27
Qualcuno ha avuto modo di fare qualche prova con Raspberry?
io lo sto ancora aspettando da RS :'(
Titolo: Re: Raspberry
Inserito da: vuott - 27 Settembre 2012, 10:47:42
Qualcuno ha avuto modo di fare qualche prova con Raspberry?

Sulla Mailing List Internazionale un tizio ha inserito qualche giorno fa una schermata, che allego appresso, realizzata con il suo Raspberry, nella quale si vede che è stato appena avviato Gambas 3.3.
Titolo: Re: Raspberry
Inserito da: vuott - 27 Settembre 2012, 19:02:59
Lo stesso utente ha aggiunto oggi questo messaggio:

Hello,

i think this might be interesting for gambas3 users on Raspberry PI.

Gambas3-example using Gordons wiringpi library
https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/
to drive GPIO on a raspberry.

If there would be sufficient general interest, maybe a gambas-component
"gb.raspi" would make sense.

wally


ed ha allegato anche un programmino, che però richiede una libreria esterna.
Titolo: Re: Raspberry
Inserito da: akrobaticone - 25 Ottobre 2012, 12:41:36
come devo procedere per installare gambas?
Titolo: Re: Raspberry
Inserito da: vuott - 25 Ottobre 2012, 16:35:59
come devo procedere per installare gambas?

Io ho semplicemente riportato, ritenendo di fare cosa utile, quanto apparso riguardo alla questione Gambas e Raspberry sulla Mailing List Internazionale. Io credo che tu debba dialogare direttamente lì con chi è riuscito ad effettuare l'installazione.
Non ho visto se qualcuno ha prodotto un video esplicativo inserito su Youtube !  :-\
Titolo: Re: Raspberry
Inserito da: akrobaticone - 25 Ottobre 2012, 21:43:57
Su youtube non ho trovato nulla
in rete questo
http://www.linuxbasic.net/news/gambas-runs-on-raspberry-pi/ (http://www.linuxbasic.net/news/gambas-runs-on-raspberry-pi/)

hanno creato un deb apposta per essere installato su Raspy?
Titolo: Re: Raspberry
Inserito da: vuott - 25 Ottobre 2012, 23:28:02
hanno creato un deb apposta per essere installato su Raspy?
...guarda, non saprei. Ti suggerisco ancora di chiedere nella M.L.I.:
Gambas-user@lists.sourceforge.net
Titolo: Re: Raspberry
Inserito da: vuott - 17 Dicembre 2012, 16:49:22
Qualche altro intervento nella M.L.I.:

« Could anyone tell me what the best method of installing Gambas3 on a
RaspberryPi is? When I get my RaspberryPi, I assuming that it will have
Debian Squeeze installed on it.

--
Regards,
John Rose
»


« I compiled from source, that worked fine. Maybe there are binary packages
for armhf now, they didn't exist when I tested...

/Emil Lenngren
»


« Yes, there are gambas2/3 packages for both armhf and armel in the universe
repositories now.

http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/
http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas2/

I have no idea what the current versions of each are, nor have I tested any
ARM version of Gambas, but the most current release in each of those
directories has armhf packages.

Rob Kudla
»


« Emil & Rob,
Thanks for your replies. I presume that armhf is appropriate for
RaspberryPi. I assume that Ubuntu repos will be fine for Debian Squeeze.
I'll let you know how I get on.

John Rose
»


« Sorry for the confusion. I just answered that question for someone on an
ARM forum and forgot they ship with Debian and not Ubuntu. It may pull in a
lot of dependencies from Ubuntu repos that make life difficult in the rest
of Debian. But I'd probably still try it; Gambas seems made for an
educational device like the Pi.

Rob Kudla
»
Titolo: Re: Raspberry
Inserito da: akrobaticone - 18 Dicembre 2012, 14:01:05
In effetti gambas sembra fatto apposta per un dispositivo a scopo educazionale come raspberry
attendiamo gli sviluppi
Titolo: Re: Raspberry
Inserito da: vuott - 19 Dicembre 2012, 23:16:09
« RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian
(based on Debian Wheezy) at:
http://www.raspberrypi.org/downloads

http://elinux.org/RPi_Easy_SD_Card_Setup
shows how to create an image on an SD Card for booting from. I used the
ImageWriter tool described there as I prefer a GUI to the CLI.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319
describes how to install Gambas 3.2.1 as it needs a patch described there.

I'll try above setup & install when I get my (actually a present for my
grandson's 11th birthday) RaspberryPi.

--
Regards,
John
»


« Hi John,

I have had my Pi for a while
now and admit I have not used it much.
I downloaded the wheezy image with GB3
(3.2.1) from

http://dl.dropbox.com/u/97096067/2012-07-15-wheezy-gambas3.zip

I have just tried the download, it
works.

When you have downloaded the image (about
30 min. @ 360kbs). You will have to unzip the file and copy the image
to an SD card.

I would use 8GB or larger. Have had problems with 32GB
and larger. I also had problems using Ubuntu to put the image on the
SD.

I used win32diskimager to install the image to the SD in a USB
card reader on my Windows box.

When the Pi is first booted the
configuration screen will come up. Expand Wheezy to use all the SD if
you like plenty of room to play.

Follow the other parameters to
complete the set-up.

I find the GUI very slow and have
developed my GB3 apps on my PC and then transferred them to the PI.

You can update GB3 from the sourceforge
site. If you do this with the Pi be prepared to wait a few hours for
the download and install to complete.

Hope this is of some help.

Cheers Mike
»
Titolo: Re: Raspberry
Inserito da: vuott - 02 Aprile 2013, 19:56:48
Segnalo una rivista gratuita su web tutta focalizzata sul mondo del Raspberry Pi:

http://themagpi.com/
Titolo: Re: Raspberry
Inserito da: pespes - 06 Maggio 2013, 15:13:39
All'inizio mi ero intestardito a cercare una versione già pronta per Raspberry ma poi mi sono rassegnato ed ho deciso di perdere un po' di tempo per compilarne una direttamente su raspberry.

Ci ho messo un bel po' di tempo ma sostanzialmente ho seguito i passaggi trovati su questi due siti:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319
http://gambasdoc.org/help/howto/svn

In pratica:
- Fare un update e scaricare i pacchetti necessary con i seguenti comandi (uno alla volta). Per i pacchetti da scaricare è possibile fare un copia incolla su un'unica riga ma io ho preferito fare così

Codice: [Seleziona]
sudo apt-get update
sudo apt-get upgrade

sudo apt-get install subversion

sudo apt-get install gcc g++ automake autoconf libtool libffi-dev

sudo apt-get install libgnome-keyring-dev libxtst-dev libgtk2.0-dev libsvga1-dev libgtkglext1-dev

sudo apt-get install libcairo2 libcairo2-dev libbz2-dev unixodbc-dev libgsl0-dev librsvg2-dev

sudo apt-get install libgtk2.0-dev libsvga1-dev   libgtkglext1-dev libimlib2-dev libcurl4-gnutls-dev
 
sudo apt-get install libqtcore4 libqtgui4 libqxt-core0 libqt4-dev libqt4-opengl-dev libv4l-dev libjpeg8-dev libpng12-dev

sudo apt-get install libsdl-ttf2.0-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl1.2-dev libdirectfb-dev libimlib2-dev libtiff4-dev

sudo apt-get install libpoppler-dev libpoppler-cpp-dev libpoppler-glib-dev libpoppler-private-dev libpoppler-qt4-dev                                 

sudo apt-get install libgstreamer0.10-dev libqtgstreamer-dev libgstreamer-ocaml-dev

sudo apt-get install libgmime-2.6-dev

sudo apt-get install libglew-dev libxslt1-dev libsqlite3-dev libpq-dev libmysqlclient-dev

- Creare una directory dove andremo a copiarci dentro i sorgenti
- Per scaricare i sorgenti andare all’indirizzo http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/branches/ Prendere la versione più recente e copiarla nella directory creata sopra, lo si può fare via ftp. Scompattare il file (alla scrittura di questa guida era un bz2 quindi: tar -jxvf nomefile.tar.bz2)
- Eseguire i comandi (uno alla volta)
Codice: [Seleziona]
./reconf-all

./configure –C

make

sudo make install

- Finita l’intallazione far partire il programma con il comando gambas3

A me ha funzionato perfettamente.
Titolo: Re: Raspberry
Inserito da: vuott - 05 Giugno 2013, 10:55:54
Vorrei riportare questa pagina del forum whiteislandsoftware relativa al rapporto Raspberry e Gambas:

http://whiteislandsoftware.com/forum/index.php?page=forumview&id=raspberry-pi
Titolo: Re: Raspberry
Inserito da: vuott - 13 Settembre 2013, 10:56:00
Segnalo anche quest'altra pagina:

http://sologambas.blogspot.it/2013/05/gambas2-y-gambas3-para-raspberry-pi.html
Titolo: Re: Raspberry
Inserito da: akrobaticone - 30 Novembre 2013, 15:27:50
funziona anche sul mio raspy!

è un po lunghetto da compilare....... :sleepy:
Titolo: Re: Raspberry
Inserito da: akrobaticone - 08 Dicembre 2013, 08:32:34
Quanti utenti del forum smanettano o sono interessati a Raspberry?
Titolo: Re: Raspberry
Inserito da: kicco - 08 Dicembre 2013, 09:36:11
io :)

Confermo che per installare l'OS e compilare gambas ci vogliono alcune ore!
 :ciao:

PS. Ho tentato di clonare la SD ma non ci sono riuscito!
Titolo: Re: Raspberry
Inserito da: El Berto - 09 Dicembre 2013, 08:51:13
Quanti utenti del forum smanettano o sono interessati a Raspberry?

Presente!
Per quanto possibile sto passando tutti i progetti basati su microcontrollore sul Raspberry.
Titolo: Re: Raspberry
Inserito da: Taurus dei miracoli - 09 Dicembre 2013, 09:22:09
Quanti utenti del forum smanettano o sono interessati a Raspberry?

Pensavo di farmi il regalo a Natale...
...ad occhio con un po di tempo e pazienza ne vale la pena.

Ma una domanda...
...quale distro di Linux montare?
Titolo: Re: Raspberry
Inserito da: akrobaticone - 09 Dicembre 2013, 12:13:07
Raspian sicuramente
se lo vuoi provare come centro multimediale Raspbmc

ora si può scaricare NOBS
si estrae il contenuto di NOBS sulla SD appena formattata e all'avvio di Raspy si sceglie quale distro installare

il consiglio nè di usare una SD da almeno 8 Gb con questo sistema

Se gli utenti Raspy dovessero essere un numero sufficente si potrebbe aprire una sezione dedicata nel Forum, magari comprendente anche altre schede simili (olimex etc...)



Titolo: Re: Raspberry
Inserito da: Taurus dei miracoli - 09 Dicembre 2013, 14:42:04
Se gli utenti Raspy dovessero essere un numero sufficente si potrebbe aprire una sezione dedicata nel Forum, magari comprendente anche altre schede simili (olimex etc...)

Si potrebbe verificare e poi chiedere agli amministratori...
...vediamo nel prossimo futuro.
Titolo: Re: Raspberry
Inserito da: Ceskho - 09 Dicembre 2013, 16:01:51
Se gli utenti Raspy dovessero essere un numero sufficente si potrebbe aprire una sezione dedicata nel Forum, magari comprendente anche altre schede simili (olimex etc...)

Si potrebbe verificare e poi chiedere agli amministratori...
...vediamo nel prossimo futuro.

Personalmente non ci vedo niente di sbagliato. Quando giungeranno abbastanza richieste vaglieremo l'opportunità. :)
Titolo: Re: Raspberry
Inserito da: akrobaticone - 11 Dicembre 2013, 16:05:33
Allora chi usa Raspy si faccia avanti!!
Titolo: Re: Raspberry
Inserito da: El Berto - 11 Dicembre 2013, 16:22:26
Personalmente non ci vedo niente di sbagliato. Quando giungeranno abbastanza richieste vaglieremo l'opportunità. :)

Potrebbe anche essere che una volta aperta la nuova sezione la gente cominci ad interessarsi... :)
Titolo: Re: Raspberry
Inserito da: El Berto - 12 Dicembre 2013, 09:32:11
Ho provato a fare l'installazione seguento passo-passo la sequenza postata da pespes:

Citazione
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install subversion
sudo apt-get install gcc g++ automake autoconf libtool libffi-dev
sudo apt-get install libgnome-keyring-dev libxtst-dev libgtk2.0-dev libsvga1-dev libgtkglext1-dev
sudo apt-get install libcairo2 libcairo2-dev libbz2-dev unixodbc-dev libgsl0-dev librsvg2-dev
sudo apt-get install libgtk2.0-dev libsvga1-dev   libgtkglext1-dev libimlib2-dev libcurl4-gnutls-dev
sudo apt-get install libqtcore4 libqtgui4 libqxt-core0 libqt4-dev libqt4-opengl-dev libv4l-dev libjpeg8-dev libpng12-dev
sudo apt-get install libsdl-ttf2.0-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl1.2-dev libdirectfb-dev libimlib2-dev libtiff4-dev
sudo apt-get install libpoppler-dev libpoppler-cpp-dev libpoppler-glib-dev libpoppler-private-dev libpoppler-qt4-dev                                 
sudo apt-get install libgstreamer0.10-dev libqtgstreamer-dev libgstreamer-ocaml-dev
sudo apt-get install libgmime-2.6-dev
sudo apt-get install libglew-dev libxslt1-dev libsqlite3-dev libpq-dev libmysqlclient-dev

- Creare una directory dove andremo a copiarci dentro i sorgenti
- Per scaricare i sorgenti andare all’indirizzo http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/branches/ Prendere la versione più recente e copiarla nella directory creata sopra, lo si può fare via ftp. Scompattare il file (alla scrittura di questa guida era un bz2 quindi: tar -jxvf nomefile.tar.bz2)

- Eseguire i comandi (uno alla volta)
./reconf-all
./configure –C
make
sudo make install


Mi è comparso un messaggio del tipo:

Codice: [Seleziona]
||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.*****
||

Sul momento non ci ho dato peso, ma adesso mi sono accorto che il componente

gb.net.curl

non è installato, come posso rimediare?



P.S.
Adesso come adesso devo lanciare gambas3 da linea di comando, per mettere l'icona nel menù di avvio sotto la voce "Programmazione"?
Titolo: Re: Raspberry
Inserito da: vuott - 12 Dicembre 2013, 14:49:01
...mi sono accorto che il componente

   gb.net.curl

non è installato, come posso rimediare?

Non so se può essere risolutivo, ma ma prova a dare un'occhiata a queste pagine:

http://gambasdoc.org/help/install?v3#t2

http://gambas.8142.n7.nabble.com/Build-error-in-gb-net-curl-td42765.html
Titolo: Re: Raspberry
Inserito da: El Berto - 13 Dicembre 2013, 14:04:53
Intendevo dire, se tutti hanno seguito le istruzioni passo-passo, perchè il prblema ce l'ho solo io?
Comunque proverò a controllare le librerie richieste...
Titolo: Re: Raspberry
Inserito da: El Berto - 29 Gennaio 2014, 14:46:47
Ho preso un nuovo SoC da 0,6W (in pratica un Raspberry senza uscita video) con cui colloquio unicamente via seriale.
Volevo provare a installare Gambas per utilizzare solo applicazioni a riga di comando, potreste gentilmente indicarmi quali sono le componenti di Gambas da non installare per l'utilizzo senza grafica?
Grazie.
Titolo: Re: Raspberry
Inserito da: vuott - 10 Aprile 2014, 00:55:54
Vi segnalo questo messaggio apparso nella Mailing List ufficiale:

" Hi All,

Since I'm now the owner of a Raspberry Pi running Raspbian I wrote some
short instructions for installing Gambas3 on Raspbian.

http://gambaswiki.org/wiki/install/raspbian

Also added Raspbian to the index of distributions.

--
Kind regards,

Willy
"
Titolo: Re: Raspberry
Inserito da: El Berto - 10 Aprile 2014, 17:13:06
Mi sono perso qualcosa?
Se provo a installare con apt-get install mi risponde così:

Codice: [Seleziona]
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gambas3 : Depends: gambas3-gb-cairo (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-dbus (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-form-stock (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-chart (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-compress-bzlib2 (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-compress-zlib (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-crypt (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-db-form (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-db-mysql (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-db-postgresql (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-db-odbc (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-db-sqlite3 (>= 3.1.1-2) but it is not installable or
                    gambas3-gb-db-sqlite2 (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-desktop (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-form-dialog (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-form-mdi (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-gui (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-image-effect (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-image-imlib (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-image-io (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-net-curl (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-net-smtp (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-opengl-glsl (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-opengl-glu (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-pcre (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-pdf (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-qt4-ext (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-qt4-webkit (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-qt4-opengl but it is not installable
           Depends: gambas3-gb-report (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-sdl-sound (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-settings (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-vb but it is not installable
           Depends: gambas3-gb-v4l (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-web but it is not going to be installed
           Depends: gambas3-gb-xml-rpc (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-xml-xslt (>= 3.1.1-2) but it is not installable
           Depends: gambas3-ide (>= 3.1.1-2) but it is not going to be installed
           Depends: gambas3-gb-mysql (>= 3.1.1-2) but it is not installable
           Depends: gambas3-gb-option (>= 3.1.1-2) but it is not installable
E: Unable to correct problems, you have held broken packages.

Titolo: Re: Raspberry
Inserito da: akrobaticone - 06 Maggio 2014, 08:10:08
ho provato con sudo apt-get install gambas3
l'installazione è riuscita, ma se tento di avviare gambas la cpu schizza al 100% e non parte

ora provo a compilare
Titolo: Re: Raspberry
Inserito da: El Berto - 06 Maggio 2014, 08:29:35
ho provato con sudo apt-get install gambas3
l'installazione è riuscita, ma se tento di avviare gambas la cpu schizza al 100% e non parte

ora provo a compilare

Anch'io, ho provato a fare sia l'update che l'upgrade, ma con l'apt-get install quando lancio gambas la CPU va a manetta e non succede niente.
Titolo: Re: Raspberry
Inserito da: akrobaticone - 06 Maggio 2014, 13:29:27
Compilato da svn funziona
4h di compilazione... :sleepy:

Ora provo con la gestione deglio I/O con Wiring pi
Titolo: Re: Raspberry
Inserito da: akrobaticone - 26 Giugno 2014, 21:39:22
Gambas su Raspy funziona
ho per le mani una scheda PiFace http://www.piface.org.uk/ (http://www.piface.org.uk/)
ho scaricato e compilato la libreria wiringPi
ma non riesco ad usarla, da terminale si, ma da Gambas no
bisogna dichiarare le funzioni della libreria tra cui;

Codice: gambas [Seleziona]
Library "/usr/local/lib/libwiringPi
public extern wiringPiSetupPiFace() as integer


il problema che non trova questa funzione in particolare, le altre si

ho seguito le istruzioni
https://projects.drogon.net/raspberry-pi/wiringpiface/ (https://projects.drogon.net/raspberry-pi/wiringpiface/)

qualcuno ha fatto esperienza?

Titolo: Re: Raspberry
Inserito da: vuott - 26 Giugno 2014, 23:59:51
il problema che non trova questa funzione in particolare, le altre si


....e qui entra in gioco il mio "Cercafunzioni": http://www.gambas-it.org/smf/index.php?topic=2081.0    8)

potrai verificare se la libreria condivisa .so da te utilizzata possiede la funzione dichiarata.
Titolo: Re: Raspberry
Inserito da: kicco - 27 Giugno 2014, 11:56:54
Citazione
ho seguito le istruzioni
https://projects.drogon.net/raspberry-pi/wiringpiface/

qualcuno ha fatto esperienza?

Io l'ho usata senza problemi, dirti come ho fatto non mi ricordo e purtroppo non ho sotto mano raspberry, ma prometto che provo a dare un occhio.
Devo dire che se ci sono riuscito io ... ;D
 :ciao:
Titolo: Re: Raspberry
Inserito da: akrobaticone - 29 Giugno 2014, 08:35:33
aperta una discussione nella nuova sezione "Piattaforme Alternative->Raspberry"