* installing *source* package ‘liquidSVM’ ... ** package ‘liquidSVM’ successfully unpacked and MD5 sums checked ** using staged installation Using target: generic Using further args: Config in /Users/ripley/R/packages/tests-devel/liquidSVM Config: using CXX_FLAG=-mtune=generic -msse2 -O3 Config: using ADDITIONAL_LIBS= Config: using ADDITIONAL_CPP_FLAGS= Config: using CUDA_PATH= Config: using CUDA_OBJECTS= ** libs clang++ -std=gnu++11 -I"/Users/ripley/R/no-cairo/include" -DNDEBUG -I . -I../../../.. -I ../../../common -I/opt/R/arm64/include -mtune=generic -msse2 -O3 -fPIC -g -O2 -c liquidSVM_R.cpp -o liquidSVM_R.o clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:22: In file included from ./sources/shared/basic_types/dataset.h:24: In file included from ./sources/shared/basic_types/sample.h:20: In file included from ./sources/shared/basic_types/sample_file_format.h:79: In file included from ./sources/shared/basic_types/sample_file_format.cpp:27: In file included from ./sources/shared/basic_functions/flush_print.h:72: In file included from ./sources/shared/basic_functions/flush_print.ins.cpp:24: In file included from ./sources/shared/basic_types/sample.h:131: ./sources/shared/basic_types/sample.cpp:202:2: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&x_csv, dim, dimension_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:22: In file included from ./sources/shared/basic_types/dataset.h:24: In file included from ./sources/shared/basic_types/sample.h:20: In file included from ./sources/shared/basic_types/sample_file_format.h:79: In file included from ./sources/shared/basic_types/sample_file_format.cpp:27: In file included from ./sources/shared/basic_functions/flush_print.h:72: In file included from ./sources/shared/basic_functions/flush_print.ins.cpp:24: In file included from ./sources/shared/basic_types/sample.h:131: ./sources/shared/basic_types/sample.cpp:771:3: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&(return_sample.x_csv), dim_common, return_sample.dimension_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:22: In file included from ./sources/shared/basic_types/dataset.h:24: In file included from ./sources/shared/basic_types/sample.h:20: In file included from ./sources/shared/basic_types/sample_file_format.h:79: In file included from ./sources/shared/basic_types/sample_file_format.cpp:27: In file included from ./sources/shared/basic_functions/flush_print.h:72: In file included from ./sources/shared/basic_functions/flush_print.ins.cpp:24: In file included from ./sources/shared/basic_types/sample.h:131: ./sources/shared/basic_types/sample.cpp:834:3: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&(return_sample.x_csv), sample.dim(), return_sample.dimension_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:22: In file included from ./sources/shared/basic_types/dataset.h:24: In file included from ./sources/shared/basic_types/sample.h:20: In file included from ./sources/shared/basic_types/sample_file_format.h:79: In file included from ./sources/shared/basic_types/sample_file_format.cpp:27: In file included from ./sources/shared/basic_functions/flush_print.h:72: In file included from ./sources/shared/basic_functions/flush_print.ins.cpp:24: In file included from ./sources/shared/basic_types/sample.h:131: ./sources/shared/basic_types/sample.cpp:881:3: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&(return_sample.x_csv), sample.dim(), return_sample.dimension_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:22: In file included from ./sources/shared/basic_types/dataset.h:24: In file included from ./sources/shared/basic_types/sample.h:20: In file included from ./sources/shared/basic_types/sample_file_format.h:79: In file included from ./sources/shared/basic_types/sample_file_format.cpp:27: In file included from ./sources/shared/basic_functions/flush_print.h:72: In file included from ./sources/shared/basic_functions/flush_print.ins.cpp:24: In file included from ./sources/shared/basic_types/sample.h:131: ./sources/shared/basic_types/sample.cpp:936:3: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&(return_sample.x_csv), sample.dim(), return_sample.dimension_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:56: In file included from ././liquidSVM.cpp:27: In file included from ./sources/svm/training_validation/svm_manager.h:27: In file included from ./sources/svm/training_validation/svm_cv_manager.h:24: In file included from ./sources/shared/training_validation/cv_manager.h:24: In file included from ./sources/shared/solver/solver.h:24: In file included from ./sources/shared/kernel/kernel.h:152: ./sources/shared/kernel/kernel.cpp:473:3: error: no matching function for call to 'realloc_and_copy_ALGD' realloc_and_copy_ALGD(&col_labels_ALGD, col_data_set.get_labels(), current_aligned_col_set_size); ^~~~~~~~~~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:229:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void realloc_and_copy_ALGD(Template_type* restrict__* pointer, vector vec, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:238:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void realloc_and_copy_ALGD(Template_type* restrict__* pointer, vector vec) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:56: In file included from ././liquidSVM.cpp:27: In file included from ./sources/svm/training_validation/svm_manager.h:27: In file included from ./sources/svm/training_validation/svm_cv_manager.h:24: In file included from ./sources/shared/training_validation/cv_manager.h:24: In file included from ./sources/shared/solver/solver.h:24: In file included from ./sources/shared/kernel/kernel.h:152: ./sources/shared/kernel/kernel.cpp:667:3: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&row_labels_copy_ALGD, row_set_size, row_set_size_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:56: In file included from ././liquidSVM.cpp:27: In file included from ./sources/svm/training_validation/svm_manager.h:27: In file included from ./sources/svm/training_validation/svm_cv_manager.h:24: In file included from ./sources/shared/training_validation/cv_manager.h:24: In file included from ./sources/shared/solver/solver.h:24: In file included from ./sources/shared/kernel/kernel.h:152: ./sources/shared/kernel/kernel.cpp:691:3: error: no matching function for call to 'my_alloc_ALGD' my_alloc_ALGD(&col_labels_copy_ALGD, col_set_size, col_set_size_aligned); ^~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:143:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:187:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_alloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ In file included from liquidSVM_R.cpp:57: In file included from ./liquidSVM.h:56: In file included from ././liquidSVM.cpp:27: In file included from ./sources/svm/training_validation/svm_manager.h:27: In file included from ./sources/svm/training_validation/svm_cv_manager.h:25: In file included from ./sources/svm/training_validation/svm_cv_manager.ins.cpp:21: In file included from ./sources/svm/solver/kernel_rule.h:22: In file included from ./sources/svm/solver/least_squares_svm.h:23: In file included from ./sources/svm/solver/basic_svm.h:131: ./sources/svm/solver/basic_svm.cpp:166:3: error: no matching function for call to 'my_realloc_ALGD' my_realloc_ALGD(&alpha_ALGD, training_set_size, used_size); ^~~~~~~~~~~~~~~ ./sources/shared/system_support/memory_allocation.ins.cpp:248:40: note: candidate function template not viable: no known conversion from 'unsigned int' to 'size_t &' (aka 'unsigned long &') for 3rd argument template void my_realloc_ALGD(Template_type* restrict__* pointer, size_t size, size_t& used_size) ^ ./sources/shared/system_support/memory_allocation.ins.cpp:258:40: note: candidate function template not viable: requires 2 arguments, but 3 were provided template void my_realloc_ALGD(Template_type* restrict__* pointer, size_t size) ^ 9 errors generated. make[1]: *** [liquidSVM_R.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘liquidSVM’ * removing ‘/Users/ripley/R/packages/tests-devel/liquidSVM.Rcheck/liquidSVM’