Code: Select all
F:\PortableApps\FbEdit\FreeBASIC\fbc -s gui "FbTemp.bas"
FbTemp.o:fake:(.text+0x259): undefined reference to `FreeImage_ColorQuantizeEx@20'
Build error(s)
I then tried to switch out my libFreeImage.dll.a for cha0s' and got the newest FreeImage.bi. I still get the error.
I'm running FB 0.18.5 and have very little experience using external libraries. I just need a way to display PNG files using the built-in fbgfx routines. If I thought I could, I'd just write my own PNG loading routine from scratch. But as it is, it would be better if I can use a library.
I also tried using MichaelW's solution of rebuilding the import library, but I still get an error:
Code: Select all
F:\PortableApps\FbEdit\FreeBASIC>bin\win32\dlltool -k -d freeimage.dll.def -l libfreeimage.dll.a
<!bin\win32\dlltool: Syntax error in def file freeimage.dll.def:4