haochunchang / Diabetic-Retinopathy-website

A django-based website for displaying Diabetic Retinopathy Auto-Detection.
MIT License
9 stars 8 forks source link

make kaggleDiabetes1 #2

Closed alphamupsiomega closed 5 years ago

alphamupsiomega commented 7 years ago

make kaggleDiabetes1

c++     kaggleDiabetes1.cpp   -o kaggleDiabetes1
Undefined symbols for architecture x86_64:
  "KDRTrainSet(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
      _main in kaggleDiabetes1-bc6320.o
  "KDRSampleSet(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
      _main in kaggleDiabetes1-bc6320.o

...

"vtable for OpenCVPicture", referenced from:
      OpenCVPicture::OpenCVPicture(OpenCVPicture const&) in kaggleDiabetes1-bc6320.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for Picture", referenced from:
      Picture::Picture(Picture const&) in kaggleDiabetes1-bc6320.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [kaggleDiabetes1] Error 1

How can this be fixed?

ghost commented 7 years ago

Sorry for the lack of documentation. The SparseConvNet I used is the kaggle_Diabetic_Retinopathy_competition branch. And did you install all the dependency of SparseConvNet ?

README.md updated.