Go to advanced search

by buja
Sat Oct 24, 2015 10:25 am
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4754

Re: HDMI: font sizes, simple graphics by g++ C

Forget about Geany, gcc and g++ for now, first let's make the example programs work. goto the OpenVG directory (for me that's /home/pi/openvg , so my command would be cd ~/openvg ) type make . This will make the libraries to run the examples. type cd client type make hellovg (or make test to make al...
by buja
Sat Oct 24, 2015 8:21 am
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4754

Re: HDMI: font sizes, simple graphics by C

Can you run the hellovg example program (it's in openvg/client)?
by buja
Sat Oct 24, 2015 6:43 am
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4754

Re: HDMI: font sizes, simple graphics by C

There is nothing wrong with OpenVG, I managed to compile and run the examples in the client subdirectory. But before you start to compile anything, you must install some other software: sudo apt-get install libjpeg8-dev indent libfreetype6-dev ttf-dejavu-core It's all in the file READ.me and on the ...
by buja
Fri Oct 23, 2015 1:30 pm
Forum: Beginners
Topic: Raspberry Pi File Server
Replies: 15
Views: 3205

Re: Raspberry Pi File Server

Straight to DietPi, simply because DietPi is not on NOOBS. The next step is to study the DietPi website. It's nicely made from a technical point of view, but it could have been more clear. At the bottom of the main page is a purple section with buttons for a Wheezy and a Jessie (and some others) ima...
by buja
Fri Oct 23, 2015 7:29 am
Forum: Beginners
Topic: Raspberry Pi File Server
Replies: 15
Views: 3205

Re: Raspberry Pi File Server

... It wants me to start with Raspbian “Wheezy”, and tells me to get it from here: https://www.raspberrypi.org/downloads/ It's not there anymore or it is so old that it is buried down deep. ... Did you really click on that link? If I do that it gets me to here: https://www.raspberrypi.org/downloads...
by buja
Mon Oct 19, 2015 8:42 pm
Forum: Nederlands
Topic: Sportlink
Replies: 3
Views: 702

Re: Sportlink

Wil je een Raspberry Pi inzetten als computer voor het invullen van digitale wedstrijdformulieren (het gaat hier over voetbal)? Het lijkt me een kwestie van uitproberen. In principe is het een webapplicatie die het op de Pi gewoon zou moeten doen. Op mijn Linux Mint PC met Firefox als browser is het...
by buja
Mon Oct 19, 2015 7:37 pm
Forum: C/C++
Topic: C++
Replies: 28
Views: 5061

Re: C++

Wow thanks you guys for the quick reply. EDIT: I use "sudo python programName.py to run a simple blinking LED using python language. How to run C++ or the .cpp in terminal? Is it sudo Cplusplus programName.cpp ? OK, if you are on this level you have some work to do. :) C and C++ programs need to be...
by buja
Sun Oct 18, 2015 7:01 am
Forum: Beginners
Topic: Download extra "stuff" to SD card
Replies: 6
Views: 1318

Re: Download extra "stuff" to SD card

g++ comes pre-installed (on Raspbian), just like gcc and Python, so they are immediately available. And there are at least two command line editors (nano and vi) and a graphical one (Leafpad) pre-installed, but no IDE (well, IDLE for Python). So if you really cannot wait, start on the command line ;...
by buja
Fri Oct 16, 2015 2:11 pm
Forum: C/C++
Topic: C library to detect processor type
Replies: 7
Views: 1527

Re: C library to detect processor type

Since all three libraries mentioned above had to solve the same problem you have, they will have a lot of information on how to do it in the documentation and/or the source code. Maybe even a ready to use solution in the form of a function or macro. Just an extract from the BCM2835/Airspayce documen...
by buja
Fri Oct 16, 2015 10:44 am
Forum: C/C++
Topic: C library to detect processor type
Replies: 7
Views: 1527

Re: C library to detect processor type

The other possibilities that come to mind are PIGPIO and wiringPi.

They have capabilities similar to the BCM2385 library you already found. They are not in the stock distro, but easy to install.

PIGPIO: http://abyz.co.uk/rpi/pigpio/
wiringPi: http://wiringpi.com/
by buja
Sun Oct 11, 2015 5:35 pm
Forum: General discussion
Topic: gpio to gpio
Replies: 7
Views: 1969

Re: gpio to gpio

Please find my answers below in RED . Can I wire a pin from the gpio of a raspberry pi to a pin of a sparkfun pro micro (Arduino micro)? If so how? 1) Would I need to connect the ground from the pi to the pro micro? YES, very important! 2) Does it matter which micro I get, the 3.3v or 5v, since I'm ...
by buja
Thu Oct 08, 2015 6:58 pm
Forum: General discussion
Topic: Using a Pi as an actual win95 machine with serial port?
Replies: 26
Views: 4475

Re: Using a Pi as an actual win95 machine with serial port?

Whatever you do, don't involve the IT department in this! If it is a stand alone computer, you might get away with calling it an A/C Control Unit or something like that. Just don't use the word computer. ;)
And it shouldn't be regarded as an asset either, just a spare part.
by buja
Tue Oct 06, 2015 4:12 pm
Forum: General discussion
Topic: Using a Pi as an actual win95 machine with serial port?
Replies: 26
Views: 4475

Re: Using a Pi as an actual win95 machine with serial port?

Yeah, And all those people adopting Windows 10 IoT and whatever closed source solutions get sold to them to run on it will be in the same boat as the thousands of people and companies, like our opening poster, who fell for it back in the Win95 days. There are still a billion systems that require MS...
by buja
Tue Oct 06, 2015 3:22 pm
Forum: General discussion
Topic: Using a Pi as an actual win95 machine with serial port?
Replies: 26
Views: 4475

Re: Using a Pi as an actual win95 machine with serial port?

Wow, someone missed a few Windows updates/development here :mrgreen: I think the simplest solution is to buy a replacement PC with a serial port, a cheap refurbished one will do (less than 100 euros). Install all the necessary software on it and when the time comes, all you need to do is switch the ...
by buja
Tue Oct 06, 2015 10:10 am
Forum: Raspberry Pi OS
Topic: Why no Raspbian SDL2 packages?
Replies: 3
Views: 801

Re: Why no Raspbian SDL2 packages?

SDL2 is available in Debian and Raspbian Jessie (libsdl2-2.0-0, etc.), but not in Wheezy.

So you might need to upgrade to Jessie.
by buja
Fri Oct 02, 2015 9:22 am
Forum: Raspberry Pi OS
Topic: Python v3.2, Numpy v1.6, why ?
Replies: 4
Views: 1086

Re: Python v3.2, Numpy v1.6, why ?

In general if some package is not in Debian, don't expect it to be in Raspbian.

Why would a package not be in Debian? Maybe it was not available at freezing time and/or there is no Debian developer/maintainer available to do the work of integrating it.
by buja
Thu Oct 01, 2015 5:09 pm
Forum: Raspberry Pi OS
Topic: Python v3.2, Numpy v1.6, why ?
Replies: 4
Views: 1086

Re: Python v3.2, Numpy v1.6, why ?

Raspbian is in fact Debian, optimized for the Raspberry Pi. Debian is more about high quality and stability of the software than having the latest version of every package and it has a relatively long development cycle. If some software is updated more often than Debian, the Debian package will age ...
by buja
Wed Sep 30, 2015 6:45 pm
Forum: Raspberry Pi OS
Topic: New Raspbian based on Jessie is here....
Replies: 16
Views: 3301

Re: New Raspbian based on Jessie is here....

buja wrote:...
...But when I tried to install Geany, or to apt-get update, things failed: Temporary failure resolving 'mirrordirector.raspbian.org'.
Maybe it's just very busy, I will try again later....
Plugging in the network cable helped a lot :oops:
by buja
Wed Sep 30, 2015 10:59 am
Forum: Beginners
Topic: Brother Printer Drivers
Replies: 4
Views: 864

Re: Brother Printer Drivers

Connecting the printer directly to the Pi will not work, because there are no Pi drivers. If you have CUPS on the PC and on the Pi and they are on the same network, you can connect the printer to the PC. The i386 driver will work on the PC, and CUPS on the Pi will see the printer and then you can pr...
by buja
Tue Sep 29, 2015 5:53 pm
Forum: Raspberry Pi OS
Topic: New Raspbian based on Jessie is here....
Replies: 16
Views: 3301

Re: New Raspbian based on Jessie is here....

I didn't know Raspbian Jessie was already available (officially), but on spotting this topic I downloaded the image and tried it on my Pi 2. It works, but that is hardly a surprise. But when I tried to install Geany, or to apt-get update, things failed: Temporary failure resolving 'mirrordirector.ra...
by buja
Mon Sep 28, 2015 1:25 am
Forum: Raspberry Pi OS
Topic: Command line sudo apt-get autoremove
Replies: 4
Views: 5688

Re: Command line sudo apt-get autoremove

If you give the command man apt-get And then scroll down to the autoremove command you will see this: autoremove autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed. So it removes packages that are no longer ...
by buja
Thu Sep 10, 2015 9:05 pm
Forum: Beginners
Topic: my simple program in GEANY
Replies: 4
Views: 987

Re: my simple program in GEANY

Maybe it's a rights issue, can you run it with sudo from the command line?

Code: Select all

sudo yourprogram
by buja
Wed Sep 09, 2015 9:15 am
Forum: Advanced users
Topic: "apt-get install" installs a very outdated software package
Replies: 18
Views: 4749

Re: "apt-get install" installs a very outdated software pack

RaTTuS wrote:ususally
...
now you may have to fix up dependances in the ./configure stage
...
This is exactly where things get difficult for many people.
by buja
Tue Sep 08, 2015 8:10 pm
Forum: Advanced users
Topic: "apt-get install" installs a very outdated software package
Replies: 18
Views: 4749

Re: "apt-get install" installs a very outdated software pack

... Raspbian Wheezy version 2.1.12 Raspbian Jessie Testing version 2.2.5 Version 3.09 is current and need to build from source: http://www.onlamp.com/pub/a/onlamp/excerpt/radius_5/index1.html By the way, I have no idea what a radius server does, but it looks like it has something to do with network...
by buja
Tue Sep 08, 2015 10:54 am
Forum: General discussion
Topic: Official wifi dongle discontinued?
Replies: 13
Views: 2505

Re: Official wifi dongle discontinued?

From The Pi Hut: Sorry, the Official Raspberry Pi WiFi Adapter has temporarily sold out due to high demand.

Go to advanced search