Francesco Montorsi wrote:
> 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.
>   
But it can compile maybe still, but work is the second step.
> 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?
>   
vdraws to read a file (*.cvg) drawing files are in the common directory 
in the editor samples.
Most of the can be read without problem, if not all.
It becomes tricky with cal/GDSII files. Like m783506.cal.
> I'm sure I'm missing something obvious here, but what?
>   
It might still compile without

--disable-std_iostreams on Linux.

If you search for the #ifdef wxUSE_STD_IOSTREAM in wxArt2D, you should get an 
idea of what is involved.
As i said i already did a great deal of work using typedefs for streams (see 
gen.h ) to make it compile in both stream settings. But there where problems 
which i did not solve yet.

I tried today on windows (setup.h )
#define wxUSE_STD_IOSTREAM 1

Not even wxWidgets did compile without error using that setting (VC6)
After trying to dirty fix that, i did get errors in wxArt2D, but that might be 
because of VC.
Now i have compiled here at home, and with VC2005 its seems to compile 
wxWidgets correctly like this.
Next is wxArt2D.

Let you know how far it works on windows.

I simply don't know how to debug with wxArt2D and gdb on Linux.
It can not find code for breakpoints i set, even after setting path and what 
not.
Maybe Cmake puts the object files all over the place, and that is difficult for 
gdb??

Are you able to use gdb on wxArt2D, like in any sample set a break, does it 
work?
I think i am missing something, but i can't figure out what it is.

Klaas

















-------------------------------------------------------------------------
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