Julia API not loading gmsh.dll in Windows 10
Hello,
this is a potential fix to #853 (closed) and #912 (closed). Both closed. Thus I opened a new issue.
I encountered the same problem that const lib
is an empty string using Windows 10 and gmsh 4.6.0 SDK version.
Although const libdir
is set to the correct folder of the library.
But if I change line 24 in gmsh.jl
from (original)
const libname = Sys.iswindows() ? "gmsh-4.6" : "libgmsh"
to (new)
const libname = Sys.iswindows() ? "gmsh-4.6.dll" : "libgmsh"
then const lib
contains the correct path to the library gmsh-4.6.dll
and it gets loaded.
Hope this helps
rd