Hello Klaas,
I have made that line in imageio.cpp as your suggestion
#if defined(__WXMSW__) || defined(__CYGWIN__)
but I still got same error after I typed "make" in MSYS shell. I also tried
to add "defined(_MSYS_)" maybe it can work but it didn't work. :p
For extra information:
================
My parameter SET WIN32 => *1*
My cmake command => *cmake -G"Unix Makefiles" /home/wxArt2D*
My WXWIN => *c:/wxWidgets-2.8.3
*
and I compiled wxWidgets in MSYS based on INSTALL-MSW.txt in wxWidgets
folder like the following steps:
*cd $WXWIN
mkdir build-debug
cd build-debug
../configure --with-msw --enable-debug --enable-debug_gdb
--disable-shared
make
make install *
Maybe we can convert from stdiostreams to wxInputStream. Is it possible?
On Jan 11, 2008 3:21 PM, Klaas Holwerda <[EMAIL PROTECTED]> wrote:
> Budi Irawan wrote:
> > Hello,
> >
> > I have compiled wxArt2D in MSYS environment successfully But I got an
> > error when running make process.
> > I'm using wxWidgets 2.8.7.
> >
> > This is the error that I got
> >
>
> I thought this would have done it, but for msys not it seems.
>
> #if defined(__WXMSW__)
> if ( handler->CanRead( *m_streami ) )
> #else
> wxASSERT_MSG( 0 , wxT("this type of stream, not implemented") );
> #endif
>
> Make the first line:
>
> #if defined(__WXMSW__) || defined(__CYGWIN__)
>
>
> The real problem is in wxWidgets, there is not a version of CanRead for
> the std
> iostreams, only for wxInputStream.
> But since you are on windows where the default is wxInputStream you will
> be fine.
> On Linux, iostreams is the default setting, and there it is not possible
> to
> implement it.
>
>
> Regards,
>
> Klaas
>
>
> --
> Unclassified
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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