Skip to content

Error with Expr #2

@shaguniitb

Description

@shaguniitb

I've been trying to use this library to call C++ functions from julia. I'm getting this error:

ERROR: Expr: too few arguments (expected 3)
in include_from_node1 at loading.jl:76
in process_options at client.jl:255
in _start at client.jl:318

I've tried editing the file Cpp/src/Cpp.jl file line 62:
ex.args[1].args[1] = Expr(:quote, symbol(string(fstr,pstr)))

and gotten the following errors:

Changes and corresponding errors:

Change:
ex.args[1].args[1] = Expr(:quote, symbol(string(fstr,pstr)), Any)

ERROR: type: Expr: expected Array{Any,1}, got Symbol
in include_from_node1 at loading.jl:76
in process_options at client.jl:255
in _start at client.jl:318

Change:
ex.args[1].args[1] = Expr(:quote, {symbol(string(fstr,pstr)), 1}, Any)

ERROR: in anonymous: ccall: could not find function _Z2oc in library libc
in anonymous at no file

Can this library be updated to resolve such errors?

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