Re: [wxhaskell-users] wxHaskell - install problems..
I installed the new wxWidgets on my MacBook, and then tried to install wx: MacBook-Doaitse-2:Dazzle doaitse$ cabal install wx Resolving dependencies... Configuring wxdirect-0.91.0.0... Building wxdirect-0.91.0.0... Installed wxdirect-0.91.0.0 Configuring wxc-0.91.0.0... Building wxc-0.91.0.0... Failed to install wxc-0.91.0.0 Build log ( /Users/doaitse/.cabal/logs/wxc-0.91.0.0.log ): [1 of 1] Compiling Main ( /var/folders/9m/xpbyx5fs19xcf68s9wjjy12cgn/T/wxc-0.91.0.0-98293/wxc-0.91.0.0/dist/setup/setup.hs, /var/folders/9m/xpbyx5fs19xcf68s9wjjy12cgn/T/wxc-0.91.0.0-98293/wxc-0.91.0.0/dist/setup/Main.o ) Linking /var/folders/9m/xpbyx5fs19xcf68s9wjjy12cgn/T/wxc-0.91.0.0-98293/wxc-0.91.0.0/dist/setup/setup ... Configuring wxc-0.91.0.0... Configuring wxc to build against wxWidgets 3.0.1.0 Building wxc /usr/bin/gcc -Isrc/include -I/usr/local/include/wx-3.0 -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -D__WXOSX_COCOA__ -D__WXOSX__ -D__WXMAC__ -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -DwxcREFUSE_MEDIACTRL -fPIC -c src/cpp/apppath.cpp -o dist/build/src/cpp/apppath.o In file included from src/cpp/apppath.cpp:1: In file included from src/include/wrapper.h:20: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:46: /usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error: 'tr1/type_traits' file not found #include ^ 1 error generated. Updating documentation index /Users/doaitse/Library/Haskell/share/doc/index.html Any idea how to proceed? Doaitse On 20 Aug 2014, at 22:23 , Henk-Jan van Tuyl wrote: > On Wed, 20 Aug 2014 21:33:52 +0200, Gregory Guthrie > wrote: > >> I did an upgrade to the current Haskell Platform (2014.2.0.0, = ghci >> 7.8), and now wxHaskell seems to be broken. >> >> Environment seems to be OK: >> WXC_VERSION = 0.90.0.3 > > It is better to install wxHaskell 0.91 > >> GHC_Version = 7.8.3 >> WxWin = e:\plang\Libraries\wxWidgets-3.0.1 >> WxCfg = gcc_dll\mswu >> PATH set as per directions >> (https://www.haskell.org/haskellwiki/WxHaskell/Windows). >> I do notice that page is in terms of Version 2.9.5, I am not sure how >> that relates to the 3.0.1 version installed (as above). > > The installation procedure is exactly the same, the page is updated in the > meanwhile. > >> >> I installed wxWidgets from: wxMSW-3.0.1-Setup >> >> I did not build from source, but instead used: wxMSW.exe; >> I also did a cabal install of (wx, wxcore), and all seemed to go well. >> >> But; >>trying to run wxHello in GHCi fails - can't find uuid.dll > > You have to install several DLLs as described in > https://www.haskell.org/haskellwiki/WxHaskell/Windows#DLLs > > GHCi cannot handle wxHaskell at the moment, see > https://ghc.haskell.org/trac/ghc/ticket/7103 > >> >> Trying to compile from GHC works, but execution fails: Cannot fine >> procedure entry point wxBitmapToggleButton_Create in dynamic library >> wxc.dll >> >> Trying to run from Leksah, fails: cabal missing dependency GLFW -any > > I will investigate these points. > > Regards, > Henk-Jan van Tuyl > > > -- > Folding@home > What if you could share your unused computer power to help find a cure? In > just 5 minutes you can join the world's biggest networked computer and get > us closer sooner. Watch the video. > http://folding.stanford.edu/ > > > http://Van.Tuyl.eu/ > http://members.chello.nl/hjgtuyl/tourdemonad.html > Haskell programming > -- > > -- > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > ___ > wxhaskell-users mailing list > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] Need Win-64 version of wx-config.exe
On Fri, 15 Aug 2014 19:09:17 +0200, Howard B. Golden wrote: > Hi, > > I tried to install the wx-config.exe file at > https://sourceforge.net/projects/wxhaskell/files/wx-config-win/ on > Windows 7 Professional 64. It won't run because it is a 32-bit > executable. If possible, please provide either a 64-bit version of > wx-config.exe or the source code so I can recompile it for 64-bits. > > It would be very helpful if you could submit your new version of > wx-config for Windows to the original author of wx-config for Windows. I > spent a lot of time recompiling the 2006 version and wondering why it > wouldn't work with the latest wxHaskell. I just saw your email; you can find the source code for wx-config at: https://github.com/wxHaskell/wxHaskell/blob/master/wx-config-win/wx-config-win/wx-config.cpp Please read the installation instructions at https://www.haskell.org/haskellwiki/WxHaskell/Windows carefully, as the compilation/installation is very tricky. I did not try 64 bit compilation so far, but I succeeded running the 32 bit software on my 64 bit Windows system. Regards, Henk-Jan van Tuyl -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming -- -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] wxHaskell - install problems..
On Wed, 27 Aug 2014 20:40:20 +0200, S D Swierstra wrote: > I installed the new wxWidgets on my MacBook, and then tried to install > wx: : > ... > Configuring wxc-0.91.0.0... > Configuring wxc to build against wxWidgets 3.0.1.0 > > Building wxc > /usr/bin/gcc -Isrc/include -I/usr/local/include/wx-3.0 > -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -D__WXOSX_COCOA__ > -D__WXOSX__ -D__WXMAC__ -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 > -DwxcREFUSE_MEDIACTRL -fPIC -c src/cpp/apppath.cpp -o > dist/build/src/cpp/apppath.o > In file included from src/cpp/apppath.cpp:1: > In file included from src/include/wrapper.h:20: > In file included from /usr/local/include/wx-3.0/wx/wx.h:15: > In file included from /usr/local/include/wx-3.0/wx/object.h:19: > In file included from /usr/local/include/wx-3.0/wx/memory.h:15: > In file included from /usr/local/include/wx-3.0/wx/string.h:46: > /usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error: > 'tr1/type_traits' file not found > #include > ^ > 1 error generated. > Updating documentation index > /Users/doaitse/Library/Haskell/share/doc/index.html > > Any idea how to proceed? > > Doaitse The file that is not found is a C++ header file, I use on my Windows system the command: Set CPLUS_INCLUDE_PATH=%HASKELL_COMPILER_DIR%\mingw\lib\gcc\mingw32\4.5.2\include\c++ so that the compiler can find the C++ header files (note that the GCC version differs depending on the version and bitness of GHC). Henk-Jan -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming -- -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] wxHaskell - install problems..
Adding export CPLUS_INCLUDE_PATH=/usr/include/c++/4.2.1/ made things work, Thanks, Doaitse On 27 Aug 2014, at 21:51 , Henk-Jan van Tuyl wrote: > On Wed, 27 Aug 2014 20:40:20 +0200, S D Swierstra > wrote: > >> I installed the new wxWidgets on my MacBook, and then tried to install wx: > : >> ... >> Configuring wxc-0.91.0.0... >> Configuring wxc to build against wxWidgets 3.0.1.0 >> >> Building wxc >> /usr/bin/gcc -Isrc/include -I/usr/local/include/wx-3.0 >> -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -D__WXOSX_COCOA__ >> -D__WXOSX__ -D__WXMAC__ -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 >> -DwxcREFUSE_MEDIACTRL -fPIC -c src/cpp/apppath.cpp -o >> dist/build/src/cpp/apppath.o >> In file included from src/cpp/apppath.cpp:1: >> In file included from src/include/wrapper.h:20: >> In file included from /usr/local/include/wx-3.0/wx/wx.h:15: >> In file included from /usr/local/include/wx-3.0/wx/object.h:19: >> In file included from /usr/local/include/wx-3.0/wx/memory.h:15: >> In file included from /usr/local/include/wx-3.0/wx/string.h:46: >> /usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error: >> 'tr1/type_traits' file not found >>#include >> ^ >> 1 error generated. >> Updating documentation index >> /Users/doaitse/Library/Haskell/share/doc/index.html >> >> Any idea how to proceed? >> >> Doaitse > > The file that is not found is a C++ header file, I use on my Windows system > the command: > Set > CPLUS_INCLUDE_PATH=%HASKELL_COMPILER_DIR%\mingw\lib\gcc\mingw32\4.5.2\include\c++ > so that the compiler can find the C++ header files (note that the GCC version > differs depending on the version and bitness of GHC). > > Henk-Jan > > > -- > Folding@home > What if you could share your unused computer power to help find a cure? In > just 5 minutes you can join the world's biggest networked computer and get us > closer sooner. Watch the video. > http://folding.stanford.edu/ > > > http://Van.Tuyl.eu/ > http://members.chello.nl/hjgtuyl/tourdemonad.html > Haskell programming > -- -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users