Skip to content

Cannot make Pi Camera support on Pi2 with Wheezy #169

@pcwalden

Description

@pcwalden

I was trying to compile the latest with the new Pi Camera suport on my P12 with Wheezy. Specifically Debian 7.11 with a 4.1.19-v7+ kernel.

I am getting the "the make complaining /opt/vc/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: No such file or directory" error that Mr-Dave reported.

I have installed libraspberrypi-dev and done an apt-get dist-upgrade, make clean, autoreconf -fiv, and ./configure, but I still get the error.

The vcos_platform_types.h is in /opt/vc/include/interface/vcos/pthreads, but the make generating dependencies phase is not picking it up.

My configure output is below:

   **************************
      Configure status       
      motion 3.4.1+gitf219f81
   **************************

OS             :     Linux
pthread support:     Yes
jpeg support:        Yes
V4L support:         Yes
V4L2 support:        Yes
SDL support:         No
MMAL support:        Yes
 ... MMAL_CFLAGS: -std=gnu99 -DHAVE_MMAL -Irasppicam -I/opt/vc/include
 ... MMAL_OBJ: mmalcam.o raspicam/RaspiCamControl.o raspicam/RaspiCLI.o
 ... MMAL_LIBS: -L/opt/vc/lib  -lmmal_core -lmmal_util -lmmal_vc_client -lvcos -lvchostif -lvchiq_arm
FFmpeg support:      Yes
 ... FFMPEG_CFLAGS:  
 ... FFMPEG_LIBS: -lavutil -lavformat -lavcodec -lswscale  
SQLite3 support:     No
MYSQL support:       No
PostgreSQL support:  No

CFLAGS:  -g -O2 -D_REENTRANT -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP   
LIBS: -lm  -lpthread -ljpeg
LDFLAGS:  

Install prefix:       /usr/local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions