在Boost库中获取'_internal_get_deleter'错误

时间:2014-05-24 12:35:24

标签: c++ boost compiler-errors boost-thread

我使用boost_1_45_0中的源代码成功构建Ubuntu,但当我使用BOOST构建另一个包时:

Scanning dependencies of target GraphMolWrap

[98%]构建CXX对象

Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/GraphMolJavaJAVA_wrap.cxx.o
/opt/RDKit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jlong     
Java_org_RDKit_RDKFuncsJNI_Shared_1Int_1Array_1_1internal_1get_1deleter(JNIEnv*, jclass,   
jlong, 

jobject, jlong)’:
/opt/RDKit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:134276:68: error:     
‘const   class boost::shared_array<int>’ has no member named ‘_internal_get_deleter’

/opt/RDKit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jlong    
Java_org_RDKit_RDKFuncsJNI_Shared_1Double_1Array_1_1internal_1get_1deleter(JNIEnv*, jclass,   
jlon g, jobject, jlong)’:

/opt/RDKit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:134936:71: error:   
‘const class boost::shared_array<double>’ has no member named ‘_internal_get_deleter’

 make[2]: ***   
 [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/GraphMolJavaJAVA_wrap.cxx.o] Error     
 1

 make[1]: *** [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/all] Error 2
 make: *** [all] Error 2

突出显示错误: const class boost::shared_array<double>’ has no member named ‘_internal_get_deleter’

0 个答案:

没有答案