I can't build DCMTK 3.6.0 with the new PNG 1.5.1 on Win7 x64. If I use PNG 1.4, there's no problem. The problem is, 3 projects can't link because they can't find the png functions:
No, we haven't tried libpng 1.5.1 yet. However, I can't imagine that the authors changed the complete API. Did you compile libpng 1.4.x with the same compiler settings?
No, I don't think they changed everything, the made the API more consistent, but there's also a new header file to include.. So there are some changes...
Yes, I compiled it more or less the same way, the compiler and linker settings should be the same and should match DCMTK.
Hi, I just make a test to create the win32 libaray of PNG-1.5.1 and compile with DCMTk 3.6.0. There is no such a problem. Please check the settings of scripts/makefile.vcwin32 in PNG project. Because the linking process needs pnglibconf.h which is automatically created in make process. However, there is a little bit error in default. You can fix it by following steps.
Thanks for the tipps, I solved it with using CMake to create solution files instead of using the solution files provided by libpng... looks like a compiler or linker setting wasn't as DCMTK wants it to be...