Home » Developing U++ » UppHub » Name clash between Control4U and OpenCV
Name clash between Control4U and OpenCV [message #36215] |
Sat, 12 May 2012 16:32 |
Zbych
Messages: 325 Registered: July 2009
|
Senior Member |
|
|
Hi,
Booth openCV library and SliderCtrlX use the same constant BORDER_SIZE. I have proposition to replace defines from SliderCtrlX with const values (SliderCtrlX.h):
#define BORDER_SIZE 2
#define BORDER1 BORDER_SIZE
#define BORDER2 ( 2 * BORDER_SIZE )
class SliderCtrlX : public Ctrl {
static const int BORDER_SIZE = 2;
static const int BORDER1 = BORDER_SIZE;
static const int BORDER2 = 2 * BORDER_SIZE;
[...]
|
|
|
Goto Forum:
Current Time: Thu Apr 25 19:43:22 CEST 2024
Total time taken to generate the page: 0.02269 seconds
|