If I compile with ghc --make testGlasPng.hs –lglasPng I get: ….\ld.exe: cannot find –lglasPng. Collect 2: ld returned 1 exit status.
Ld can’t find lglasPng (with the l in front, does it trim the l?). Why? Okay I try
ghc --make testGlasPng.hs –L<path to glasPng.dll> I get:
testGlasPng.o: fake: (.text + 0x82) :undefined reference to ‘getPngVersion@0’. I think it has found the
I run ghc on a 64 bits computer. The dll is 32 bits. Is that the problem?