in reply to [Win32]Alien-wxWidgets-0.44 with MinGW

always fails early on because the libraries can't be found

Did you set WXDIR?

  • Comment on Re: [Win32]Alien-wxWidgets-0.44 with MinGW

Replies are listed 'Best First'.
Re^2: [Win32]Alien-wxWidgets-0.44 with MinGW
by syphilis (Archbishop) on Oct 09, 2009 at 00:44 UTC
    Did you set WXDIR?

    Yes, if it's not set correctly 'perl Build' dies with a compalint that it was unable to chdir to the 'samples/minimal' folder (before it even tries to find the libraries).

    I've just seen a post that recommends building wxMSW with 'unciode', and then providing some additional arguments to 'perl Build.PL':
    environment - set WXDIR=C:\Path\to\wxWidgets perl Build.PL --wxWidgets-build=0 --wxWidgets-unicode=1 --wxWidgets-mslu=1 --wxWidgets-portable=1 --prefix /your/path/to/prefix
    I'll give that a try - though I'm not too sure what the 'prefix' stuff is all about.

    I'll also keep in mind the approach mentioned in the other reply, and give it a try if I can't get things to work using a pre-built wxMSW.

    Cheers,
    Rob
      using a pre-built wxMSW.

      Where did you download that? wxMSW-2.8.10-Setup.exe is sourcecode only

        Where did you download that? wxMSW-2.8.10-Setup.exe is sourcecode only

        I got wxMSW-2.8.10.zip from http://www.wxwidgets.org. As you say, it's source only. The "pre-built wxMSW" I was referring to was the library that I then built myself (from that source, in the msys shell) before trying to install Alien::wxWidgets-0.44.

        It seems that this may be part of the problem - and that I'd be better off building in the cmd.exe shell with mingw32-make -f makefile.gcc, or just removing msys from my path (as already suggested) and letting the Alien::wxWidgets-0.44 build process handle all it for me.
        I'll be giving this a try when I get a chance.

        Cheers,
        Rob