[Haskell-cafe] OpenVG: Linker errors with ghc --make,
but not with ghci?
Peter Verswyvelen
bugfact at gmail.com
Tue Mar 3 19:57:04 EST 2009
I followed the instructions on how to build OpenVG on Windows. It works fine
when I run the examples using "GHCi -lopenvg32", but when compiling it with
"GHC --make -lopenvg32" I get a bunch of linker errors, like
C:\Program
Files\Haskell\OpenVG-0.1\ghc-6.10.1/libHSOpenVG-0.1.a(Paths.o):fake:(.text+0x82):
undefined reference to `vgInterpolatePath'
C:\Program
Files\Haskell\OpenVG-0.1\ghc-6.10.1/libHSOpenVG-0.1.a(Paths.o):fake:(.text+0x40d):
undefined reference to `vgModifyPathCoords'
etc
However it does seem that the libopenvg32.a file contains all these
undefined references, and it is in the gcc-lib directory of GHC.
I'm a stuck. Any hints?
Thanks,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090304/39276156/attachment.htm
More information about the Haskell-Cafe
mailing list