|
From: Gregory G. <gu...@mu...> - 2014-08-20 19:58:32
|
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 GHC_Versin = 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). 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 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 ?? ------------------------------------------- |
|
From: Henk-Jan v. T. <hj...@ch...> - 2014-08-20 20:23:20
|
On Wed, 20 Aug 2014 21:33:52 +0200, Gregory Guthrie <gu...@mu...> 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 -- |
|
From: S D S. <doa...@gm...> - 2014-08-27 19:11:25
|
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/xpbyx5fs19xcf68s9wjjy12c0000gn/T/wxc-0.91.0.0-98293/wxc-0.91.0.0/dist/setup/setup.hs, /var/folders/9m/xpbyx5fs19xcf68s9wjjy12c0000gn/T/wxc-0.91.0.0-98293/wxc-0.91.0.0/dist/setup/Main.o )
Linking /var/folders/9m/xpbyx5fs19xcf68s9wjjy12c0000gn/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 <tr1/type_traits>
^
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 <hj...@ch...> wrote:
> On Wed, 20 Aug 2014 21:33:52 +0200, Gregory Guthrie <gu...@mu...>
> 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
> wxh...@li...
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
|
|
From: Henk-Jan v. T. <hj...@ch...> - 2014-08-27 19:51:27
|
On Wed, 27 Aug 2014 20:40:20 +0200, S D Swierstra <doa...@gm...> 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 <tr1/type_traits> > ^ > 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 -- |
|
From: S. D. S. <do...@sw...> - 2014-08-27 21:30:08
|
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 <hj...@ch...> wrote: > On Wed, 27 Aug 2014 20:40:20 +0200, S D Swierstra <doa...@gm...> 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 <tr1/type_traits> >> ^ >> 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 > -- |