12-21-2012 12:50 PM
In the hpp file:
#include <bb/cascades/multimedia/Camera> //... Camera *m_camera;
In the cpp file:
#include <bb/cascades/multimedia/Camera> //... using namespace bb::cascades; using namespace bb::cascades::multimedia; //... in init m_camera = new Camera(); //...OR m_camera = new Camera(myContainer);
I created two separate cascades projects, and in both I get the error:
(workspace path)/CameraController.cpp:43: undefined reference to 'bb::cascades::multimedia::Camera::Camera(bb::casc
Line 43 is the last two lines shown above in the cpp file.
3 days struggling with this now, please hep BB devs before you guys are all gone for the (well-deserved) holidays.
Solved! Go to Solution.
12-21-2012 01:26 PM
Elsewhere in my cpp file:
m_camera->setPreferredWidth(768); //... QObject::connect(m_camera, SIGNAL(viewFinderStarted()), this, SLOT(onStartVfSuccess()));
There are no errors on the lines above.