No OpenCascade or FLTK on GMSH

I was interesting in using GMSH with Julia.
I’ve installe the api and everything works fine until I don’t try to use fltk or the functions in ooc that uses opencascade, if I try to run for example: gmsh.model.ooc.addBox(-R,-R,-R, 2R,2R,2*R, 1),
I revieve the following error:

gmshModelOccAddBox returned non-zero error code: 1
error(::String) at error.jl:33
addBox(::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Int64) at gmsh.jl:3234
top-level scope at none:0

someone know the problem?