-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Issues #3
Comments
Hi, If you want to try this demo you can try to build my -modified- version on the PCL available here https://github.com/bellonemauro/pcl Actually, what I have modified is only the svm_wrapper.h/cpp and svm.h/cpp so if you only take those file and merge into your pcl version it should work. I hope that will work. |
Ah, well that makes sense. I appreciate the help and the timely response. I will probably update the files like you said, because I have some changes (to hdl_grabber, point types, etc.) that I need to keep. Thanks again for the help! Appreciate it. |
Thank you for the help. It DID end up working. |
good to know that the demo is useful! |
These are the errors I receive while trying to build (have you run into these before?):
Scanning dependencies of target pcl_SVM_train_classify
[ 50%] Building CXX object CMakeFiles/pcl_SVM_train_classify.dir/pcl_SVM_train_classify.cpp.o
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp: In function ‘int main(int, char**)’:
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:117:45: error: ‘class pcl::SVMClassify’ has no member named ‘getParameters’
my_svm_parameters = my_svm_classifier.getParameters();
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:130:30: error: ‘class pcl::SVMClassify’ has no member named ‘hasLabelledTrainingSet’
if ( my_svm_classifier.hasLabelledTrainingSet())
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:176:7: error: ‘SVMtestReport’ is not a member of ‘pcl’
pcl::SVMtestReport svm_test_report = my_svm_classifier.getClassificationTestReport();
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:176:26: error: expected ‘;’ before ‘svm_test_report’
pcl::SVMtestReport svm_test_report = my_svm_classifier.getClassificationTestReport();
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:179:36: error: ‘svm_test_report’ was not declared in this scope
svm_test_report.accuracy,
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:211:23: error: ‘class pcl::SVMTrain’ has no member named ‘adaptProbToInput’
my_svm_trainer.adaptProbToInput();
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:267:67: error: could not convert ‘my_svm_trainer.pcl::SVMTrain::.pcl::SVM::saveClassifierModel(((const char*)"./model_out.dat"))’ from ‘void’ to ‘bool’
if ( my_svm_trainer.saveClassifierModel("./model_out.dat") ) {
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:352:31: error: ‘class pcl::SVMClassify’ has no member named ‘hasLabelledTrainingSet’
if ( my_svm_classifier.hasLabelledTrainingSet())
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:388:8: error: ‘SVMtestReport’ is not a member of ‘pcl’
pcl::SVMtestReport svm_test_report = my_svm_classifier.getClassificationTestReport();
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:388:27: error: expected ‘;’ before ‘svm_test_report’
pcl::SVMtestReport svm_test_report = my_svm_classifier.getClassificationTestReport();
^
/home/kdean/projects/src/SVM_pcl_demo/pcl_SVM_train_classify.cpp:391:36: error: ‘svm_test_report’ was not declared in this scope
svm_test_report.accuracy,
^
make[2]: *** [CMakeFiles/pcl_SVM_train_classify.dir/pcl_SVM_train_classify.cpp.o] Error 1
make[1]: *** [CMakeFiles/pcl_SVM_train_classify.dir/all] Error 2
The text was updated successfully, but these errors were encountered: