Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.69k stars 308 forks source link

Possible bug with libpng16-16.dll with msys2 #6594

Closed Desmis closed 1 year ago

Desmis commented 1 year ago

Hello I am very careful because my computer is very old, overheats and often crashes. I expect the delivery of a new computer in the coming days. I update msys2 $ pacman -Syu

The compilation goes without problem, but when I want to run Rawtherapee I get the following message:

"Le point d'entrée de procédure inflateReset2 est introuvable dans la bibliothèque de liens dynamiques C:\msys64\mingw64\bin\libpng16-16.dll" When I execute Cmake: for libpng ==> libpng.dlll.a (found version 1.6.38)

When I download the latest version of nighty-builds, and run, all works well... (version 5.8-3161-g93aac4510)

Is this a Msys2 problem, or related to my computer and is there a way to solve this problem ?

Reminder, I have a very poor command of these things (Msys2, mingw64, etc.) which for me are Chinese...

Thank you

Jacques

Thanatomanic commented 1 year ago

Bonsoir Jacques, it might happen that MSYS2 updates introduce incompatible versions. However, I just updated and recompiled RawTherapee and the software starts without problem. So... I am not really sure what happened in your installation.

Are you sure you built RT from an empty build directory?

Perhaps others have some idea what is going on.

Desmis commented 1 year ago

@Thanatomanic

I did 2 things

is there a way to rebuild libpng and all its dependencies ?

Thank you

My new computer (I hope) will be at my home this week ???

Jacques

Desmis commented 1 year ago

@Thanatomanic I just try to rebuild libpng

$ pacman -S mingw-w64-x86_64-libpng Msys2 says rebuild libpng

Then i rebuild Cmake

And all seems to work fine

Jacques

Thanatomanic commented 1 year ago

Glad you were able to work it out! Reinstalling the package was a good thought.