Cxx.jl icon indicating copy to clipboard operation
Cxx.jl copied to clipboard

Can I use Cxx REPL while by including

Open sprhawk opened this issue 2 years ago • 0 comments

I use a bootstrap.jl to simplify my julia environment startup, like this:

  # bootstrap.jl
  PREFIX = ENV["PREFIX"]
 
  using Cxx
  addHeaderDir(joinpath(PREFIX, "include"))
  addHeaderDir("/usr/include")
  addHeaderDir("/usr/include/eigen3")

and I start julia by julia-1.3.1 --project=demo -i -e 'include("bootstrap.jl")'

But by this method, I cannot activate Cxx REPL by < shortcut.

How can I activate Cxx REPL in this manner?

If I do not use a bootstrap.jl, just start julia-1.3.1 and using Cxx there, I can activate Cxx REPL by <

sprhawk avatar Sep 17 '21 05:09 sprhawk