Hi Klaas,
   it's strange. I wanted to understand why exactly wxArt2D needs this 
option in order to build so I tried to apply the dummy patch attached at 
the end of the mail.

It basically makes wxArt2d believe that I've compiled wx with 
--disable-std_iostreams even if I didn't.

Well, after some unrelated unicode fix, compilation reached the 100% 
without problems...

Is there a sample I can try to test a2d output streams and see if they 
work correctly?

I'm sure I'm missing something obvious here, but what?

Francesco



Index: include/a2dprivate.h
===================================================================
RCS file: /cvsroot/wxart2d/wxArt2D/include/a2dprivate.h,v
retrieving revision 1.4
diff -bu2 -r1.4 include/a2dprivate.h
--- include/a2dprivate.h
+++ include/a2dprivate.h
@@ -9,4 +9,7 @@
  */

+#ifndef _A2D_PRIVATE_H_
+#define _A2D_PRIVATE_H_
+

  #include "wx/wx.h"
@@ -184,4 +187,12 @@
  #endif

+
+#if !wxUSE_STD_IOSTREAM
+    #error You have really used --disable-std_iostreams option !
+#endif
+
+#undef wxUSE_STD_IOSTREAM
+#define wxUSE_STD_IOSTREAM 0
+
  #if defined(__WXGTK__) || defined(__WXX11__)
         #if wxUSE_STD_IOSTREAM
@@ -199,2 +210,4 @@
  #endif

+#endif      // _A2D_PRIVATE_H_
+


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to