View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#195
I've tried it before:
Code:
MWToolsFlashlight.cpp: In member function 'virtual void MWToolsFlashlight::shortAction()':
MWToolsFlashlight.cpp:39: error: 'V4L2_FLASH_LED_MODE_TORCH' was not declared in this scope
MWToolsFlashlight.cpp:45: error: 'V4L2_FLASH_LED_MODE_NONE' was not declared in this scope
MWToolsFlashlight.cpp: In member function 'bool MWToolsFlashlight::flashActive()':
MWToolsFlashlight.cpp:69: error: 'V4L2_CID_FLASH_LED_MODE' was not declared in this scope
MWToolsFlashlight.cpp:70: error: 'V4L2_FLASH_LED_MODE_NONE' was not declared in this scope
MWToolsFlashlight.cpp: In member function 'void MWToolsFlashlight::offFlash()':
MWToolsFlashlight.cpp:80: error: 'V4L2_FLASH_LED_MODE_NONE' was not declared in this scope
Originally Posted by coderus View Post
@marmistrz problems in your environment, not mine. I dont care if you build it successfully or not, okay?
Hey, not so fast! Problems in my env? You're kidding! videodev3.h IS NOT PRESENT IN THE ROOTSTRAP. It's no standard header.

linux-kernel-headers DOES NOT CONTAIN linux/compiler.h

So it's not my broken env, but the bug in your code that doesn't allow to build the source with the official SDK
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2014-01-23 at 18:17.