Am Dienstag, 1. April 2008 schrieb Thomas Zehbe:
> But regrettably a compile error occur:
>
> /misc/wxArt2D/modules/general/src/gen.cpp: In member function ‘size_t
> a2dIOHandlerStrIn::Read(wxChar*, size_t)’:
> /misc/wxArt2D/modules/general/src/gen.cpp:3565: error: no matching function
> for call to ‘std::basic_istream<char, std::char_traits<char>
>
> >::read(wxChar*&, size_t&)’

I did some further research and it seems that wxArt2D has problems to build 
with unicode versions of wxWidgets if build with std iostream.

My wxWidgets version, which produced this error was build with the following 
options:

/misc/wxWidgets-2.8.7/configure --with-gtk=2 --enable-debug
 --enable-unicode --disable-universal --disable-monolithic --enable-gui
 --enable-shared --enable-exceptions --with-odbc --with-opengl

This seems to make a2dDocumentInputStream a std iostream, which isn't 
compatible in unicode mode. (but that's a bit guessed). Mabe i should add 
the --enable-streams option to try to get the wxStream versions.

Then i build a completely different wx config:

../configure --enable-shared=no --enable-unicode=no --enable-debug --with-opengl

With this one wxArt2D compiled. And after i found howto build the missing stc 
lib, even the sample programs could be linked and they work.

I'll try to build my original config with wxStreams and see what happens.

I'll keep you informed.

Regards,
Thomas


> Will look into it later.
>
> Thanks,
> Thomas
>
> > Klaas



-- 
Thomas Zehbe
 
 Dipl.-Ing.
 Allied-Visions GmbH
 Bäckerstraße 18
 31683 Obernkirchen
 
 Tel. +49 5724 951822
 Fax. +49 5724 951813
 
 E-mail: [EMAIL PROTECTED]
 
 Geschäftsführer: Dipl.-Ing. Martin Seger
 Amtsgericht Stadthagen, HRB 2124 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to