Skip to content

Instantly share code, notes, and snippets.

@amixpal
Created July 2, 2014 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amixpal/e27eb3d468fafb9cb3fc to your computer and use it in GitHub Desktop.
Save amixpal/e27eb3d468fafb9cb3fc to your computer and use it in GitHub Desktop.
[ 98%] Building CXX object Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/GraphMolJavaJAVA_wrap.cxx.o
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘const std::pair<long int, int>& std_vector_Sl_std_pair_Sl_boost_int64_t_Sc_int_Sg__Sg__get(std::vector<std::pair<long long int, int> >*, int)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:1808:37: warning: returning reference to temporary [-Wreturn-local-addr]
return (*self)[i];
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jlong Java_org_RDKit_RDKFuncsJNI_SparseIntVect64_1getNonzero(JNIEnv*, jclass, jlong, jobject)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:45298:110: error: cannot convert ‘const RDKit::SparseIntVect<long int>*’ to ‘const RDKit::SparseIntVect<long long int>*’ for argument ‘1’ to ‘std::vector<std::pair<long long int, int> > RDKit_SparseIntVect_Sl_boost_int64_t_Sg__getNonzero(const RDKit::SparseIntVect<long long int>*)’
result = RDKit_SparseIntVect_Sl_boost_int64_t_Sg__getNonzero((RDKit::SparseIntVect< long > const *)arg1);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jdouble Java_org_RDKit_RDKFuncsJNI_DiceSimilarity_1_1SWIG_19(JNIEnv*, jclass, jlong, jobject, jlong, jobject, jboolean, jdouble)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94803:187: error: no matching function for call to ‘DiceSimilarity(const RDKit::SparseIntVect<long int>&, const RDKit::SparseIntVect<long int>&, bool&, double&)’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR DiceSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3,arg4);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94803:187: note: candidate is:
In file included from /home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:867:0:
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:471:10: note: template<class IndexType> double RDKit::DiceSimilarity(const RDKit::SparseIntVect<IndexType>&, const RDKit::SparseIntVect<IndexType>&, bool, double)
double DiceSimilarity(const SparseIntVect<IndexType> &v1,
^
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:471:10: note: template argument deduction/substitution failed:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94803:187: note: cannot convert ‘(const RDKit::SparseIntVect<long int>&)arg1’ (type ‘const RDKit::SparseIntVect<long int>’) to type ‘const RDKit::SparseIntVect<long long int>&’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR DiceSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3,arg4);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jdouble Java_org_RDKit_RDKFuncsJNI_DiceSimilarity_1_1SWIG_110(JNIEnv*, jclass, jlong, jobject, jlong, jobject, jboolean)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94871:182: error: no matching function for call to ‘DiceSimilarity(const RDKit::SparseIntVect<long int>&, const RDKit::SparseIntVect<long int>&, bool&)’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR DiceSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94871:182: note: candidate is:
In file included from /home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:867:0:
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:471:10: note: template<class IndexType> double RDKit::DiceSimilarity(const RDKit::SparseIntVect<IndexType>&, const RDKit::SparseIntVect<IndexType>&, bool, double)
double DiceSimilarity(const SparseIntVect<IndexType> &v1,
^
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:471:10: note: template argument deduction/substitution failed:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94871:182: note: cannot convert ‘(const RDKit::SparseIntVect<long int>&)arg1’ (type ‘const RDKit::SparseIntVect<long int>’) to type ‘const RDKit::SparseIntVect<long long int>&’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR DiceSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jdouble Java_org_RDKit_RDKFuncsJNI_DiceSimilarity_1_1SWIG_111(JNIEnv*, jclass, jlong, jobject, jlong, jobject)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94937:177: error: no matching function for call to ‘DiceSimilarity(const RDKit::SparseIntVect<long int>&, const RDKit::SparseIntVect<long int>&)’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR DiceSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94937:177: note: candidate is:
In file included from /home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:867:0:
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:471:10: note: template<class IndexType> double RDKit::DiceSimilarity(const RDKit::SparseIntVect<IndexType>&, const RDKit::SparseIntVect<IndexType>&, bool, double)
double DiceSimilarity(const SparseIntVect<IndexType> &v1,
^
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:471:10: note: template argument deduction/substitution failed:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:94937:177: note: cannot convert ‘(const RDKit::SparseIntVect<long int>&)arg1’ (type ‘const RDKit::SparseIntVect<long int>’) to type ‘const RDKit::SparseIntVect<long long int>&’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR DiceSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jdouble Java_org_RDKit_RDKFuncsJNI_TanimotoSimilaritySIVi64_1_1SWIG_10(JNIEnv*, jclass, jlong, jobject, jlong, jobject, jboolean, jdouble)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95415:191: error: no matching function for call to ‘TanimotoSimilarity(const RDKit::SparseIntVect<long int>&, const RDKit::SparseIntVect<long int>&, bool&, double&)’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR TanimotoSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3,arg4);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95415:191: note: candidate is:
In file included from /home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:867:0:
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:545:10: note: template<class IndexType> double RDKit::TanimotoSimilarity(const RDKit::SparseIntVect<IndexType>&, const RDKit::SparseIntVect<IndexType>&, bool, double)
double TanimotoSimilarity(const SparseIntVect<IndexType> &v1,
^
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:545:10: note: template argument deduction/substitution failed:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95415:191: note: cannot convert ‘(const RDKit::SparseIntVect<long int>&)arg1’ (type ‘const RDKit::SparseIntVect<long int>’) to type ‘const RDKit::SparseIntVect<long long int>&’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR TanimotoSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3,arg4);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jdouble Java_org_RDKit_RDKFuncsJNI_TanimotoSimilaritySIVi64_1_1SWIG_11(JNIEnv*, jclass, jlong, jobject, jlong, jobject, jboolean)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95483:186: error: no matching function for call to ‘TanimotoSimilarity(const RDKit::SparseIntVect<long int>&, const RDKit::SparseIntVect<long int>&, bool&)’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR TanimotoSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95483:186: note: candidate is:
In file included from /home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:867:0:
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:545:10: note: template<class IndexType> double RDKit::TanimotoSimilarity(const RDKit::SparseIntVect<IndexType>&, const RDKit::SparseIntVect<IndexType>&, bool, double)
double TanimotoSimilarity(const SparseIntVect<IndexType> &v1,
^
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:545:10: note: template argument deduction/substitution failed:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95483:186: note: cannot convert ‘(const RDKit::SparseIntVect<long int>&)arg1’ (type ‘const RDKit::SparseIntVect<long int>’) to type ‘const RDKit::SparseIntVect<long long int>&’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR TanimotoSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2,arg3);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jdouble Java_org_RDKit_RDKFuncsJNI_TanimotoSimilaritySIVi64_1_1SWIG_12(JNIEnv*, jclass, jlong, jobject, jlong, jobject)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95549:181: error: no matching function for call to ‘TanimotoSimilarity(const RDKit::SparseIntVect<long int>&, const RDKit::SparseIntVect<long int>&)’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR TanimotoSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95549:181: note: candidate is:
In file included from /home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:867:0:
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:545:10: note: template<class IndexType> double RDKit::TanimotoSimilarity(const RDKit::SparseIntVect<IndexType>&, const RDKit::SparseIntVect<IndexType>&, bool, double)
double TanimotoSimilarity(const SparseIntVect<IndexType> &v1,
^
/home/coderwall/Desktop/rdkit/Code/DataStructs/SparseIntVect.h:545:10: note: template argument deduction/substitution failed:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:95549:181: note: cannot convert ‘(const RDKit::SparseIntVect<long int>&)arg1’ (type ‘const RDKit::SparseIntVect<long int>’) to type ‘const RDKit::SparseIntVect<long long int>&’
result = (double)RDKit::SWIGTEMPLATEDISAMBIGUATOR TanimotoSimilarity< boost::int64_t >((RDKit::SparseIntVect< long > const &)*arg1,(RDKit::SparseIntVect< long > const &)*arg2);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx: In function ‘jboolean Java_org_RDKit_RDKFuncsJNI_Long_1Pair_1Vect_1equals(JNIEnv*, jclass, jlong, jobject, jlong, jobject)’:
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:133220:140: error: invalid initialization of reference of type ‘const std::vector<std::pair<long long int, int> >&’ from expression of type ‘const std::vector<std::pair<long int, int> >’
result = (bool)std_vector_Sl_std_pair_Sl_boost_int64_t_Sc_int_Sg__Sg__equals(arg1,(std::vector< std::pair< long,int > > const &)*arg2);
^
/home/coderwall/Desktop/rdkit/build/Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx:1819:17: error: in passing argument 2 of ‘bool std_vector_Sl_std_pair_Sl_boost_int64_t_Sc_int_Sg__Sg__equals(std::vector<std::pair<long long int, int> >*, const std::vector<std::pair<long long int, int> >&)’
SWIGINTERN bool std_vector_Sl_std_pair_Sl_boost_int64_t_Sc_int_Sg__Sg__equals(std::vector< std::pair< boost::int64_t,int > > *self,std::vector< std::pair< boost::int64_t,int > > const &o){
^
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment