Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 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;
[...]

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


Current Time: Thu Apr 25 19:43:22 CEST 2024

Total time taken to generate the page: 0.02269 seconds