# CxxWrap.jl, why these code report error?

**URL:** <https://discourse.julialang.org/t/cxxwrap-jl-why-these-code-report-error/77984>\
**Category:** General Usage\
**Created:** [March 16, 2022, 4:11pm UTC](https://discourse.julialang.org/t/cxxwrap-jl-why-these-code-report-error/77984 "2022-03-16T16:11:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brian1/32/49250_2.png) [@Brian1](https://discourse.julialang.org/u/Brian1)\
**Post date:** [March 16, 2022, 4:11pm UTC](https://discourse.julialang.org/t/cxxwrap-jl-why-these-code-report-error/77984/1 "2022-03-16T16:11:01Z")

</div>

I’m using CxxWrap.  
My setup:  
Julia: 1.7.2  
CxxWrap: 0.12.0

when I do this, there come error:

 ![图片](https://global.discourse-cdn.com/julialang/original/3X/4/b/4b159d5af0069d1024fa57a0be4414a4d642a399.png)  
the error:  
 ![图片](https://global.discourse-cdn.com/julialang/original/3X/e/2/e28b8c6bda90f2e7f14fa4c79cb57d1bc348aee4.png)

the dependency is

 ![图片](https://global.discourse-cdn.com/julialang/original/3X/e/f/effa9b43acde735f5f57bac516ee46287c9454b5.png)  
Can anyone can tell me why this error happened?
