Skip to content
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

Precompiling RobotDynamics #23

Open
ga72kud opened this issue Mar 24, 2022 · 0 comments
Open

Precompiling RobotDynamics #23

ga72kud opened this issue Mar 24, 2022 · 0 comments

Comments

@ga72kud
Copy link

ga72kud commented Mar 24, 2022

Thank you for the great package. There is a problem with precompiling RobotDynamics when I change the Julia environment from one project environment to another with RobotDynamics. The workaround is to Stop Julia and start a new Julia Kernel so that it can compile successfully. It is a small issue, but it would be nice if would be the case.

LoadError: LoadError: LoadError: Failed to precompile RobotDynamics [38ceca67-d8d3-44e8-9852-78a5596522e1] to /home/michael/.julia/compiled/v1.6/RobotDynamics/jl_jGBxin.
in expression starting at /home/michael/Julia_Projects/25_thesis/src/agents/linearized_vehicle_dynamics.jl:1
in expression starting at /home/michael/Julia_Projects/25_thesis/src/API.jl:2
in expression starting at /home/michael/Julia_Projects/25_thesis/main.jl:5
error(s::String) at error.jl:33
compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool) at loading.jl:1385
compilecache(pkg::Base.PkgId, path::String) at loading.jl:1329
_require(pkg::Base.PkgId) at loading.jl:1043
require(uuidkey::Base.PkgId) at loading.jl:936
require(into::Module, mod::Symbol) at loading.jl:923
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
_include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1170
include(fname::String) at client.jl:444
top-level scope at API.jl:2
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
_include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1170
include(fname::String) at client.jl:444
top-level scope at main.jl:5
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant