[Haskell-cafe] ANNOUNCE: vacuum-cairo: a cairo frontend to
vacuumfor live Haskell data visualization
bugfact at gmail.com
Tue Mar 31 12:15:36 EDT 2009
Maybe GHCi has a bug when it comes to DLL lookup.
I had an application that worked fine when compiled with GHC, but failed
with GHCi (libglew.dll not found)
I used procmon<http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx>
monitor which files the GHC* processes searched, and it seemed that the
compiled version looked for libglew32.dll, while GHCi was looking for
Since this only happened with our own wrapper project, I thought we made a
mistake, but maybe you could also use procmon to figure out what GHCi is
doing, it might be a bug.
On Tue, Mar 31, 2009 at 11:11 AM, Sittampalam, Ganesh <
ganesh.sittampalam at credit-suisse.com> wrote:
> I have this problem too, but I don't understand it because
> librsvg-2-2.dll is in the same directory as the rest of the gtk2hs DLLs
> - c:/gtk2hs/0.10.0/bin on my system. Yesterday I was also having trouble
> with not being able to find the glib DLL but that problem has
> mysteriously vanished today leaving me with just the rsvg one.
> The problem happens with 'ghci -package svgcairo' so it's nothing
> specific to vacuum-cairo (unsurprisingly). This might be best asked
> about on the gtk2hs mailing list
> Mark Wassell wrote:
> > Great work. However I am have a problem running on windows - it needs
> > librsvg:
> > Prelude System.Vacuum.Cairo> view 
> > Loading package mtl-220.127.116.11 ... linking ... done.
> > Loading package parallel-18.104.22.168 ... linking ... done.
> > Loading package glib-0.10.0 ... linking ... done.
> > Loading package cairo-0.10.0 ... linking ... done.
> > Loading package svgcairo-0.10.0 ... can't load .so/.DLL for:
> > librsvg-2-2 (addDLL: could not load DLL)
> > Prelude System.Vacuum.Cairo>
> > Anyone know where I can get this? I have googled around and whilst
> > there is the librsvg development site, there is no sign of a windows
> > DLL. All I can find is some generic site which seems to provide
> > DLLs. I don't trust it.
> > Cheers
> > Mark
> > Don Stewart wrote:
> >> I am pleased to announce the release of vacuum-cairo, a Haskell
> >> library for interactive rendering and display of values on the GHC
> >> heap using Matt Morrow's vacuum library.
> >> This library takes vacuum's output, generates dot graph format from
> >> it, renders it to SVG with graphviz, and displays the resulting
> >> structure using the gtk2hs Cairo vector graphics bindings ... all at
> >> the GHCi command line.
> >> This tool is useful for examining Haskell data structures as they are
> >> represented directly in the heap. In particular, it makes sharing
> >> visible for the first time, as well as unboxed values. It should be
> >> useful for teaching Haskell, or for library authors debugging the
> >> design of their data structures.
> >> You can see pictures of the rendered display here:
> >> http://code.haskell.org/~dons/images/vacuum/intmap.png
> >> And youtube screencasts of vacuum-cairo in action:
> >> http://www.youtube.com/watch?v=oujaqo9GAmA
> >> Get it:
> >> cabal install vacuum-cairo
> >> And on Hackage:
> >> o
> >> -- Don
> >> _______________________________________________
> >> Haskell-Cafe mailing list
> >> Haskell-Cafe at haskell.org
> >> http://www.haskell.org/mailman/listinfo/haskell-cafe
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe