Skip to content

Precompiling RobotDynamics #23

@ga72kud

Description

@ga72kud

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions