Open RuolunWeng opened 5 years ago
Hi @RuolunWeng ,
Just had a quick look: It looks like there is a single error here:
error: no matching function for call to ‘ConsoleListener::startThread(bool, bool)’
consoleListener.startThread(false, false);
I've just noticed the startThread method changed.
The easiest fix will be to replace:
consoleListener.startThread(false, false);
to
consoleListener.startThread();
Unfortunately I won't be able to test on a device right now.
If you have a keyboard/screen connected to your RPi and this still give you headaches you can take out ConsoleListener completely from the example:
In testApp.h
remove these lines:
#include "ConsoleListener.h"
ConsoleListener consoleListener;
in testApp.cpp
remove these lines:
consoleListener.setup(this);
and consoleListener.startThread(false, false);
in setup()
Hope this helps, George
Thanks @orgicus ,
After removing those lines, it outputs new error: " error: unknown type name ‘MMAL_CLOCK_PAYLOAD_T’ "
@RuolunWeng This is a more serious error.
that type is defined here: https://github.com/orgicus/ofxCvPiCam/blob/7e8af0acf8dd54243ad8251d1845202a2397e660/libs/mmal/src/interface/mmal/mmal_clock.h
It is as if the compiler doesn't know about this file for some reason and it's unclear why at this stage.
Unfortunately it will take me a while to get a 3B+ and test/debug properly.
In the meantime can you please let me know which version of Raspian you're running and which version of OpenFrameworks you're using ?
Thank you, George
@orgicus
this is the raspbian I use: https://www.raspberrypi.org/downloads/raspbian/
and I am on the of_v0.10.1_linuxarmv6l
Best Allen
@RuolunWeng
Thanks Allen !
Regarding Raspian, when you get a chance can you send me what gets printed after you run uname -a
in Terminal ?
As I mentioned, it will take me a while to properly get to the bottom of this.
In the meantime, if you familiar with a bit of Python you could use the picamera[array]
pip module along with the OpenCV Python bindings.
@RuolunWeng
Thanks Allen !
Regarding Raspian, when you get a chance can you send me what gets printed after you run
uname -a
in Terminal ?
" Linux raspberrypi 4.19.50-v7+ #896 SMP Thu Jun 20 16:11:44 BST 2019 armv7l GNU/Linux "
As I mentioned, it will take me a while to properly get to the bottom of this. In the meantime, if you familiar with a bit of Python you could use the
picamera[array]
pip module along with the OpenCV Python bindings.
Thank you a lot, just take you time, I am a new user of Python but it's still interesting to try.
Ps: I will test on the nightly release of OF to see if they are the same. [update: same error on nightly-release] Cause the installation failure of OF on Ubuntu+Rpi, I can't test the performance with armv7l :))
I renamed the libs folder to libs-old as per this thread: https://github.com/orgicus/ofxCvPiCam/issues/3 That did it. Using RPi 3B with Buster.
@davidaronson13 Thanks a lot David, I followed your tips that works for me. I think this is a temporary solution, right? @orgicus , so just @me when you want to test the new release.
Dear ofxCvPiCam User:
I want to compile ofxCvPiCam (eg: example-ofxCvPiCamSimple) on my Raspberry 3B+, it outpouts error like this, any idea? Thanks!!