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