-
Notifications
You must be signed in to change notification settings - Fork 1
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
Can't add SatelliteDynamics.jl because it can't build SOFA.jl #4
Comments
This is because there isn't a build process for the underlying SOFA C library on windows. SOFA.jl is really just a light wrapper on the underlying SOFA C library The package uses BinDeps.jl to simply call the build GNU makefile provided with the SOFA C library here. This makefile works on Linux/Mac, but not on windows. If you can setup your environment using the Windows Subsystem for Linux the package should build in that environment. I'm happy to accept a PR for windows-compatible build process, though ideally that would happen upstream in the underlying SOFA C-library so all wrapper projects can benefit from it. |
Per the suggestion about the error in building SOFA , I moved to install WSL. However, now that I have WSL running, I get the following new error when trying to call Pkg.build("SOFA") Building SOFA → Any suggestions? |
Hmm..... not really. The error is this line What the package is doing is trying to compile the underlying C code stored in However for some reason on WSL instead of working this is returning the error above claiming it isn't a directory. That I don't know why. What you could do to try to debug is to try to run the command account and see which directory the command failed in (in this case Possible causes of the error include:
|
Hello! |
I am having a problem downloading the SatelliteDynamics.jl package because of a problem with SOFA.jl. I am using Julia 1.5.3 on Windows 10. I started with a clean install of Julia and have nothing else in the environment. The error that I get is pasted below.
Building SOFA →
C:\Users\benjj\.julia\packages\SOFA\kZlWv\deps\build.log
┌ Error: Error building
SOFA
:│ ERROR: LoadError: None of the selected providers could satisfy library group SOFA
│ Use BinDeps.debug(package_name) to see available providers
│
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] satisfy!(::BinDeps.LibraryGroup, ::Array{DataType,1}) at C:\Users\benjj.julia\packages\BinDeps\ZEval\src\dependencies.jl:915
│ [3] satisfy!(::BinDeps.LibraryGroup) at C:\Users\benjj.julia\packages\BinDeps\ZEval\src\dependencies.jl:874
│ [4] top-level scope at C:\Users\benjj.julia\packages\BinDeps\ZEval\src\dependencies.jl:977
│ [5] include(::String) at .\client.jl:457
│ [6] top-level scope at none:5
│ in expression starting at C:\Users\benjj.julia\packages\SOFA\kZlWv\deps\build.jl:27
└ @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Operations.jl:949
The text was updated successfully, but these errors were encountered: