-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong placement of gmsh.dll inside gmsh_jll build? #38
Comments
Is this a problem that we can solve in GridapGmsh or is something that has to be done in https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/api/gmsh.jl ? |
It seems that gmsh.jl in master version supports windows. See this line https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/api/gmsh.jl#L25 (I do not have windows, so I cannot reproduce the issue and figure out what is happening in a more precise way) Perhaps you can point GMSHROOT to a newer verion of gmsh and see what happens. If this works, we need to open PR in gmsh_jll to inlcude a newer version of gmsh. |
Yes, it supports windows and if I download the gmsh SDK for Windows the gmsh.dll is located in the lib dir instead of the bin dir, as it is in the gmsh_jll artifacts folder. If i use the SDK with $GMSHROOT set GridapGmsh works fine. Maybe in GridapGmsh we could try to copy the file to the lib folder inside the gmsh_jll artifacts folder, but even if this should work, that would be some kind of dirty hack. I will try to find out, were exactly things go wrong an report back later ... |
I opened a new issue here: JuliaPackaging/Yggdrasil#2502 ,it would probably take me several hours to find the actual problem, so I hope that someone who knows better than me will figure out the exact cause (and possible solution) I would suggest waiting to close this issue at this place until this issue in the build processes can be solved. In the meantime maybe some note in the README.md (under Installation requirements) could be written for windows user to only proceed with the second option (of course PR #37 had to be merged before to make this work for the windows users...) |
Hi @c-schubert Yes, if you add a note for windows users, the PR #37 can be merged. |
Hi, hope this is the right place to post this issue...
In the artifact folder of the gmsh_jll.jl package, which is used by GridapGmsh ( if $GMSHROOT is not set) the gmsh.dll is placed inside the bin folder. The
gmsh.initialize()
in GmshDiscreteModels.jl (line 12)` of the gmsh.jl (which is placed in the lib folder of the gmsh_jll artifact) is looking in the same folder (lib folder) for the gmsh.dll, but as said its located inside the bin folder (which should be wrong, i guess).The text was updated successfully, but these errors were encountered: