Questions tagged [raspberry-pi2]

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi 2 is a quad-core, ARMv7 instruction set CPU with 1GB of RAM. See the related StackExchange site at https://raspberrypi.stackexchange.com. Also see the first edition's tag at https://stackoverflow.com/questions/tagged/raspberry-pi .

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi model 2 is a budget computer that fits in your hand. It has 4 cores, 1GB of RAM, and runs ARMv7-based CPUs.

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

1237 questions
6
votes
2 answers

Raspberry Pi -fatal error: sys/cdefs.h: No such file or directory

I'm trying to compile gcc5.3.0 on my Raspberry Pi with latest Raspbian system image. $ ./configure --enbale-checking=release --enable-languages=c,c++,fortran --host=arm-cortexa7_neon-linux-gnueabihf --build=arm-cortexa7_neon-linux-gnueabihf…
0xBBC
  • 105
  • 2
  • 8
6
votes
2 answers

OpenCV Python, reading video from named pipe

I am trying to achieve results as shown on the video (Method 3 using netcat) https://www.youtube.com/watch?v=sYGdge3T30o The point is to stream video from raspberry pi to ubuntu PC and process it using openCV and python. I use command raspivid -vf…
Richard Ludvigh
  • 63
  • 1
  • 1
  • 4
6
votes
0 answers

Why do later versions of Node take so long to install?

I am using nvm on Raspbian on my Raspberry Pi. When I nvm install v0.10.26 it happens in a few minutes. When I nvm install v0.12.6 it has to g++ and cc a bunch of stuff and it takes forever. Why the difference? It looks like it's working hard on…
Jeremy Foster
  • 4,673
  • 3
  • 30
  • 49
6
votes
2 answers

Qt Creator proper setup for cross-compilation and remote deployment for the Raspberry Pi 2 - producing binaries for wrong architecture

I just went through hell to setup my Qt Creator, Raspberry Pi and Debian 8 (for my notebook) and finally managed to configure everything. Or so I thought. What follows here is a description of what I have done so far so that some wise people here on…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161
6
votes
2 answers

How GPIO is mapped in memory?

I am recently browsing GPIO driver for pi2, I found user space pi2 GPIO lib (like RPi.GPIO 0.5.11 of python) use /dev/mem for BCM2708 (begins at 0x20000000,and GPIO begins at 0x200000 relatively) to mmap a user space memory region in order to…
ggaaooppeenngg
  • 1,323
  • 3
  • 17
  • 27
6
votes
1 answer

Shiny Server does not start and returns Trace/breakpoint trap

I thought I had successfully installed Shiny Server on my Debian Wheezy (Raspbian). I got no errors in the cmake and all other required packages were also installed. I followed the instruction on Building Shiny Server from Source. If I enter…
user2386786
  • 725
  • 9
  • 25
6
votes
2 answers

How do I name my deployed application?

I've successfully installed Windows 10 IoT on my Raspberry Pi 2. I wrote a test "Hello World" UAP app (simple text box and button, using Visual Studio Community 2015 RC) and can run it on the Pi and debug it (set break points, etc). When I build…
Lee
  • 454
  • 5
  • 9
5
votes
6 answers

VNC on Raspberry Pi shows Cannot Currently Show the Desktop

I am trying to use VNC in a headless install on my Raspberry Pi 4, running Raspberry Pi OS, installed via Raspberry Imager. The install is more or less vanilla, as the only changes I have made are for connecting (seting up SSH, wireless and VNC as…
Martin Vinter
  • 61
  • 1
  • 1
  • 3
5
votes
2 answers

Google Assistant SDK on Raspberry Pi 2

Does the Google Assistant SDK also work on a "Pi 2 Model B" (ARM Cortex-A7, a 32bit processor), or is a "Pi 3 Model B" ( ARM Cortex-A53, 64bit processor) essential to get the SDK up and running ?
5
votes
4 answers

Running Raspberry Pi 1 OS on Raspberry Pi 3

I have a Raspberry Pi 1 running Raspbian. I tried running the SD card from it on a Raspberry Pi 3 but it didn't boot. I've read various things about upgrading a Raspberry Pi 2 install to run on Raspberry Pi 3, but little for upgrading from 1 to…
David
  • 107
  • 1
  • 7
5
votes
2 answers

Docker on Raspberry Pi 2: Could not reach any registry endpoint

I installed docker on my Raspberry Pi 2 and want to pull some images. But when I try to pull with docker pull nginx, I get Could not reach any registry endpoint. My network connection is ok and even docker search nginx echos all images. I installed…
Thomas Sablik
  • 16,127
  • 7
  • 34
  • 62
5
votes
3 answers

Push button GPIO.FALLING event getting triggered twice

This is my first attempt at coding a Raspberry Pi and a hardware push button on a breadboard. The program is simple, when a button press is detected, turn on an LED on the breadboard for 1 second. My code seems to work, but strangely every so…
szaske
  • 1,887
  • 22
  • 32
5
votes
0 answers

Getting "Segmentation fault" after installing nodejs 4/5/6 on Raspberry Pi 2

I've tried to replace the default installed version of node (v 0.10.29) on Raspbian Jessie with node 6 by running these commands: sudo apt-get remove nodejs nodejs-legacy curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - sudo apt-get…
Simon
  • 129
  • 6
5
votes
1 answer

unknown connection on my raspberry connected on the internet

I connected my Raspberry PI model B on my internet box (at SFR in France). My box redirect all request on its port 8080 to my raspberry on its port 8080 where I have an application which listen on port 8080. To access to my raspberry application…
dada17xs
  • 180
  • 1
  • 11
5
votes
1 answer

How to install ncurses on raspberry Pi?

How can I install the ncurses library on a raspberry Pi through the terminal? Is there a sudo function that can be used to install it?
Schuey999
  • 4,706
  • 7
  • 21
  • 36