Hello Klaas,

You can also insert the 2 lines below:
using std::min;
using std::max;
just before including the header <gdiplus.h> in the file GdiPlusTypes.h

min and max functions are part of the std namespace.

Thierry

Klaas Holwerda wrote:
tDR112 wrote:
Hello all ,
I am having trouble installing wxart2d.
I am using wxWidgets-2.8.8 with vista.I have followed the install
steps up to the point after i have used cmake. So now i have a VS 2005
project file and I am trying to build it, I am getting this error
5>c:\program files\microsoft visual studio
8\vc\platformsdk\include\GdiplusTypes.h(459) : error C3861: 'min':
identifier not found
5>c:\program files\microsoft visual studio
8\vc\platformsdk\include\GdiplusTypes.h(460) : error C3861: 'max':
identifier not found

It seems you have WXART2D_USE_GDIPLUSDRAWER option ON.

Change in GdiPlusTypes.h all ( min into __min same with max ).

       REAL right = min(a.GetRight(), b.GetRight());

       REAL right = __min(a.GetRight(), b.GetRight());


I have no idea what causes this, but at least it makes it work.


I am trying to compile the debug version.
Any help would be great, thanks
Jeffrey Roe,

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev



------------------------------------------------------------------------------ Crystal Reports &#45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty&#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects

_______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev


--




------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to