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!
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.
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.
You must be logged in to reply to this topic.
Get involved in this forum: