With the default cmake options the SILLY image codec is selected and building it fails.
This is the error: >LINK : fatal error LNK1181: cannot open input file '..\..\..\dependencies\lib\dynamic\libpng.lib'
I'm using Visual Studio 2015. I was able to work around this by first building the libpng project and then building ALL_BUILD. So this is probably some issue with CMakeLists.txt missing the dependency between these projects.
Edit: after closer inspection I noticed that I have to build the libpng in "Release" mode. Building in "RelWithDebInfo" doesn't generate the libpng.lib file at all.
Original report by Henri Hyyryläinen (Bitbucket: [Henri Hyyryläinen](https://bitbucket.org/Henri Hyyryläinen), ).
With the default cmake options the SILLY image codec is selected and building it fails. This is the error:
>LINK : fatal error LNK1181: cannot open input file '..\..\..\dependencies\lib\dynamic\libpng.lib'
I'm using Visual Studio 2015. I was able to work around this by first building the libpng project and then building ALL_BUILD. So this is probably some issue with CMakeLists.txt missing the dependency between these projects.
Edit: after closer inspection I noticed that I have to build the libpng in "Release" mode. Building in "RelWithDebInfo" doesn't generate the libpng.lib file at all.