[Haskell-beginners] wxHaskell install errors

carlos gomez carliros.g at gmail.com
Thu Jun 7 02:54:33 CEST 2012


To install wxWidgets you can find how in the 'Readme' as I did, or you can
use what I have used on windows 7:

cd c:\wx\build\msw
mingw32-make -f makefile.gcc BUILD=debug

I'm not sure if the 'BUILD=debug' is really needed, but it worked for me.

Hope it helps,
Carlos Gomez

On 6 June 2012 15:45, Gregory Guthrie <guthrie at mum.edu> wrote:

> >> First, you should make sure for yourself that wxWidgets 2.9 is well
> installed, for that you can try to build the wxwidgets' examples
>
> >> cd c:\wx\samples\minimal
> >> mingw32-make -f makefile.gcc BUILD=debug
>
> Thanks, good test, it fails.
>
>     /e/plang/libraries/wxWidgets2.9/samples/minimal >
>     $ mingw32-make -f makefile.gcc BUILD=debug
>     if not exist gcc_mswuddll mkdir gcc_mswuddll
>     windres --use-temp-file -i../../samples/sample.rc
> -ogcc_mswuddll\minimal_sample_rc.o    --define __WXMSW__       --define
> _UNICODE  --     include-dir .\..\..\lib\gc
>     c_dll\mswud --include-dir ./../../include  --include-dir . --define
> WXUSINGDLL --include-dir ./../../samples --define NOPCH
>     g++ -c -o gcc_mswuddll\minimal_minimal.o -g -O0 -mthreads
>  -DHAVE_W32API_H -D__WXMSW__       -D_UNICODE  -I.\..\..\lib\gcc_dll\mswud
> -I.\..\..\include  -W -Wall
>      -I. -DWXUSINGDLL -I.\..\..\samples -DNOPCH   -Wno-ctor-dtor-privacy
> -MTgcc_mswuddll\minimal_minimal.o      -MFgcc_mswuddll\minimal_minimal.o.d
> -MD -MP minimal.cpp
>
>     In file included from .\..\..\include/wx/defs.h:28:0,
>                 from .\..\..\include/wx/wxprec.h:13,
>                 from minimal.cpp:21:
>     .\..\..\include/wx/platform.h:181:22: fatal error: wx/setup.h: No such
> file or directory
>     compilation terminated.
>     mingw32-make: *** [gcc_mswuddll\minimal_minimal.o] Error 1
>
> (I did have to start a mingw shell to do this, it won't run from a cmd
> line.)
> Not sure what to make of it...
>
> I still wish I could just get a binary to install like was available from
> wxPack for 2.8!  :-)
>
> ----
> > Then, I can think that it is just a problem of configuring and
> installing wxhaskell.
> >
> > For the paths you have to set, probably the wxc is not installed on your
> pc yet, and probably that's why you couldn't find.
> > But you should follow the way setting those paths and put the right
> versions of the libraries you are installing.
>
> Yes, probably wxc is not installed, but that is the problem I am stuck at
> I think.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120606/c3432820/attachment-0001.htm>


More information about the Beginners mailing list