U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » Name clash between Control4U and OpenCV
Name clash between Control4U and OpenCV [message #36215] Sat, 12 May 2012 16:32 Go to previous message
Zbych is currently offline  Zbych
Messages: 332
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;
[...]

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Functions4U
Next Topic: PolyXML Package changes
Goto Forum:
  


Current Time: Sat Jul 18 00:08:40 GMT+2 2026

Total time taken to generate the page: 0.00708 seconds