Appveyor build installs libraw 0.19 but binary depends on 0.16

I’m using appveyor to build an OF binary for windows. This used to work fine however I’m now running into an issue where my final binary is not working due to missing libraw-16.dll.

the log clearly shows libraw (19) being installed through pacman:

downloading mingw-w64-i686-libraw-0.19.0-1-any.pkg.tar.xz...

I’ve echoed ntldd -R to show what the dependencies are. It depends on libraw-16.dll as a dependency of freeimage but it is not found:

    libfreeimage-3.dll => C:\msys64\mingw32\bin\libfreeimage-3.dll (0x00ce0000)
	 libHalf-2_2.dll => C:\msys64\mingw32\bin\libHalf-2_2.dll (0x00760000)
	 libIex-2_2.dll => C:\msys64\mingw32\bin\libIex-2_2.dll (0x000d0000)
	 libIlmImf-2_2.dll => C:\msys64\mingw32\bin\libIlmImf-2_2.dll (0x01750000)
	  libIlmThread-2_2.dll => C:\msys64\mingw32\bin\libIlmThread-2_2.dll (0x000d0000)
	  libImath-2_2.dll => C:\msys64\mingw32\bin\libImath-2_2.dll (0x00760000)
	 libjpeg-8.dll => C:\msys64\mingw32\bin\libjpeg-8.dll (0x00dc0000)
	 libjxrglue.dll => C:\msys64\mingw32\bin\libjxrglue.dll (0x00760000)
	  libjpegxr.dll => C:\msys64\mingw32\bin\libjpegxr.dll (0x00790000)
	 libopenjp2-7.dll => C:\msys64\mingw32\bin\libopenjp2-7.dll (0x00760000)
	 libraw-16.dll => not found
	 libtiff-5.dll => C:\msys64\mingw32\bin\libtiff-5.dll (0x00760000)

Any ideas how to solve it?

i think this is why the ci tests for OF in msys2 are failing at the moment, i haven’t looked into it yet but this sounds like it could be the problem

not sure if it’s a bug in msys2 or something we need to update. can you open an issue on github?

The error message from the CI tests is a bit cryptic but it could be the same problem indeed:

make[1]: Leaving directory '/c/projects/openframeworks/tests/addons/networkTcp'
C:/projects/openframeworks/tests/addons/networkTcp/bin/networkTcp_debug.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

I’ve opened an issue: