Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Raspberry Pi 2: readme file
Raspberry Pi 2: readme file [message #45411] Mon, 09 November 2015 16:48 Go to next message
forlano is currently offline  forlano
Messages: 1202
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I am writing from my Raspberry Pi 2 and trying to install U++. I read the readme file. Then I typed the first instruction:

echo "deb http://upp.invothink.com/nightly $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/upp-nightly.list

and got the answer:

lsb_release: command not found

what am I missing?

Thanks,
Luigi
Re: Raspberry Pi 2: readme file [message #45415 is a reply to message #45411] Mon, 09 November 2015 20:51 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Forlano,

forlano wrote on Mon, 09 November 2015 16:48
lsb_release: command not found

what am I missing?

You're missing lsb_release command, which can be found in package lsb-release. You can simply install it with
apt-get install lsb-release


Also, you should use different repository. I no longer maintain the repository linked from download page, where you probably found this. Sorry for that, I'll try to correct the information soon.

Just create a file /etc/apt/sources.list.d/upp.list or similar with this contents:
/etc/apt/sources.list.d/upp.list

# U++ nightly builds (comment out if you don't want to use nightly builds)
deb http://download.opensuse.org/repositories/home:/dolik_rce:/n ightly/Debian_7.0 ./

# U++ release builds (uncomment if you want to install stable releases)
#deb http://download.opensuse.org/repositories/home:/dolik_rce/De bian_7.0 ./


Then add keys for apt:
apt-key adv --fetch-keys http://download.opensuse.org/repositories/home:/dolik_rce:/nightly/Debian_7.0/Release.key
apt-key adv --fetch-keys http://download.opensuse.org/repositories/home:/dolik_rce:/Debian_7.0/Release.key


Now you can install theide, umk and/or upp sources with
apt-get install theide umk upp


I hope the instructions are correct, I wrote them from my head... If you encounter any problem, let me know, I'll try to provide better help.

Best regards,
Honza
Re: Raspberry Pi 2: readme file [message #45420 is a reply to message #45415] Tue, 10 November 2015 09:36 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Hi Forlano!
I'd place downloaded upp/uppsrc folder at home folder
I used make in ide folder.
All ok.
After this, I put binary theide to /usr/bin

PS
I used raspbian operating system.

PSPS
working application under RPI under U++
index.php?t=getfile&id=4866&private=0


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Tue, 10 November 2015 09:43]

Report message to a moderator

Re: Raspberry Pi 2: readme file [message #45422 is a reply to message #45420] Tue, 10 November 2015 21:25 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1202
Registered: March 2006
Location: Italy
Senior Contributor
sergeynikitin wrote on Tue, 10 November 2015 09:36

PSPS
working application under RPI under U++
index.php?t=getfile&id=4866&private=0


Privet Sergey,

I am trying to build theide from scratch.
Which monitor are you using in that picture?

Luigi
Re: Raspberry Pi 2: readme file [message #45429 is a reply to message #45422] Wed, 11 November 2015 16:05 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Hi. I use this shop (in Russia):
http://chipster.ru/catalog/microcomputers/raspberry/3482.htm l

Model;3.2" Waveshare(A) V4 Raspberry Pi Touch Screen Display Monitor 320x240 LCD
Screen chipset:XPT2046

Manual How to setup.
http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry -pi/

It's start very simple. Only follow instruction.

There are 3 hard buttons on top of the screen, which can access by wiringPi library (present in raspibian repository)

Library wiringPi (http://wiringpi.com/dev-lib/lcd-library/) work as is in U++ without any middle code. Programming very simple, same as Arduino WiringC++.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Wed, 11 November 2015 16:12]

Report message to a moderator

Re: Raspberry Pi 2: readme file [message #45432 is a reply to message #45429] Wed, 11 November 2015 22:01 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1202
Registered: March 2006
Location: Italy
Senior Contributor
Some news about my last Raspberry Pi 2 experiment.

I followed the readme instruction of upp-x11-src-9168.tar.gz.
The libGTK2dev was not automatically downloaded. I had to download myself.
Theide was compiled without problem and even the installation was OK.
I tried to compile the HelloWorld oackege with
GUI NOGTK
flag. It compiled without problem but the window didn't open.
Then I compiled the package with flag
GUI
and it was executed as expected.

It seems that GTK is very important to let the program to run correctly.
Anyway, even if the compilation is really slow, I have a wonderful GUI to use for my next experiments!.

Luigi
Re: Raspberry Pi 2: readme file [message #45433 is a reply to message #45432] Thu, 12 November 2015 00:13 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Maybe. It's depends on environment. However, it is bug.

SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: msvc10 64 automatic setup does not work
Next Topic: OpenGL test
Goto Forum:
  


Current Time: Fri Dec 13 22:55:17 CET 2024

Total time taken to generate the page: 0.03139 seconds