Mikefever_7
Posts: 1
Joined: Thu May 14, 2015 7:32 am

[Camera] modetect, compiler problem

Thu May 14, 2015 8:26 am

I was try to enable the camera with some online instruction.

I want to use "rpi-mmal-opencv-modetect/archive/master.zip"
after download it, I want to build it and make it, but it got some problems.

after I enter the comment "make", it seems there is a compiler problem.

After seeking help from the omnipotent google, it may be about the C, C++ compiler problem. But I don't know how to choose to compiler with C++.

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: [Camera] modetect, compiler problem

Thu May 14, 2015 1:46 pm

The commands for building sources are usually something like:

./configure
make
sudo make install

The makefile will handle calling the g++ compiler, and the g++ compiler (gcc) is on-board in the PI.

Start by telling us what you did, and what compiler error you get. We can go from there; no promises, but none of us are mind readers, nor do we have crystal balls.
marcus
:ugeek:

Return to “Troubleshooting”