Skip to content

Not functional on Ubuntu 18.04 (linux) #71

@urlicht

Description

@urlicht
  • With Ubuntu 18.04, Julia 1.5.3 (also tried 1.5.0), the package does not work (please see below for the trace).
  • Running spinview application (the qt gui app that's shipped with the SDK works fine)
  • I can also compile the example C sources that came with the SDK
  • the camera interface is USB3, and it works fine on the Windows environment (same computer, same camera, Julia 1.5.3)
┌ Error: Spinnaker SDK loaded but Spinnaker.jl failed to initialize
└ @ Spinnaker ~/.julia/packages/Spinnaker/kIgLz/src/Spinnaker.jl:94
TypeError: in ccall: first argument not a pointer or valid constant expression, expected Ptr, got a value of type Tuple{Symbol,String}
Stacktrace:
 [1] spinSystemGetInstance at /home/username/.julia/packages/Spinnaker/kIgLz/src/wrapper/spin_api.jl:97 [inlined]
 [2] Spinnaker.System() at /home/username/.julia/packages/Spinnaker/kIgLz/src/System.jl:16
 [3] __init__() at /home/username/.julia/packages/Spinnaker/kIgLz/src/Spinnaker.jl:91
 [4] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
 [5] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:782
 [6] _require(::Base.PkgId) at ./loading.jl:1007
 [7] require(::Base.PkgId) at ./loading.jl:928
 [8] require(::Module, ::Symbol) at ./loading.jl:923
 [9] eval(::Module, ::Any) at ./boot.jl:331
 [10] eval_user_input(::Any, ::REPL.REPLBackend) at /home/username/src/julia/julia-v1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:134
 [11] repl_backend_loop(::REPL.REPLBackend) at /home/username/src/julia/julia-v1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:195
 [12] start_repl_backend(::REPL.REPLBackend, ::Any) at /home/username/src/julia/julia-v1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:180
 [13] run_repl(::REPL.AbstractREPL, ::Any; backend_on_current_task::Bool) at /home/username/src/julia/julia-v1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:292
 [14] run_repl(::REPL.AbstractREPL, ::Any) at /home/username/src/julia/julia-v1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288
 [15] (::Base.var"#807#809"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:399
 [16] #invokelatest#1 at ./essentials.jl:710 [inlined]
 [17] invokelatest at ./essentials.jl:709 [inlined]
 [18] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:383
 [19] exec_options(::Base.JLOptions) at ./client.jl:313
 [20] _start() at ./client.jl:506

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions