View Single Post
  #8   Spotlight this post!  
Unread 21-04-2015, 21:50
FRC2501's Avatar
FRC2501 FRC2501 is offline
Registered User
FRC #2501 (Bionic Poalrs)
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Minnesota
Posts: 52
FRC2501 is an unknown quantity at this point
Re: Raspberry Pi C++

Quote:
Originally Posted by faust1706 View Post
I would remove what installation you have of opencv, and start fresh.

Glancing at the code, or rather what's in the repo. If you haven't, try installing opencv separate from here: https://github.com/Itseez/opencv, or by simply typing sudo apt-get install opencdv-lib. You aren't losing anything by not using their altered opencv that can change one camera's internal settings. V4L2 does this for ANY camera, well, for the most part.

Once you think it is done, run the following program to ensure everything is working:

https://github.com/rr1706/sample

Then I would try to run their program if you desire.

So in your first post you say you are using the Pi, but on your latest one you say the roboRIO....

As for your last comment indirectly about compilers: grab a book about compilers and read it. The general cs courseload for any university should include a class on compilers.

Sorry about confusing you, I am running this on a Pi, but I have the most experience with the rios, I reinstall the OpenCV, but it seems to be another C++ library not the OpenCV one that it needs.