node-julia
node-julia copied to clipboard
Failed install node 6.7 and Julia 0.5
error: cannot cast from type 'union jl_typemap_t' to
pointer type 'jl_value_t *' (aka '_jl_value_t *')
if(val && jl_is_function(val)) filteredNames.push_back(*s);
^~~~~~~~~~~~~~~~~~~
../src/Import.cpp:14:28: note: expanded from macro 'jl_is_function'
#define jl_is_function(v) ((jl_value_t*)jl_gf_mtable(v)->defs != jl_nothing)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using the version described in the pull request removes some of the warnings, but the program still falls over on the following error.
Downgraded to node 5.2 (which based on the documentation should work)
CXX(target) Release/obj.target/nj/src/Import.o
../src/Import.cpp:39:20: error: use of undeclared identifier 'jl_is_function'
if(val && jl_is_function(val)) filteredNames.push_back(*s);
^
1 error generated.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild