- This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Error message – libpng16.dll
Tagged: 64_bits, libpng, Plugin_other, SOFA_1812, VS2017, Windows_10
Hi,
I managed to compile SOFA (Windows 10, VS 2019), but when I’m trying to run runSofa.exe, I get the following error message:
We tried to install different versions of the libpng library within Anaconda, but this did not help. Does anyone know a solution to this problem?
Thanks in advance!
Best,
Tabitha
As it happens from time to time, I managed to solve the error myself shortly after. I forgot to copy the lib files from the windows dependency pack to the sofa/build/lib directory.
Hi
I see you solved your problem so this may not be such a useful comment but still…
I ran into the same problem a couple months ago with Sofa and an Image Processing plugin. Cmake was trying to import libpng from anaconda in one case and from the pip installation in the other case and that was messing things up.
I solved the problem by banning Anaconda altogether and using only pip. This might be quite an extreme solution but i never ran into that problem again.
The problem was on Ubuntu 18.04 in case this is useful.
Cheers
Pierre
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.