Skip to content
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

range_search_test.cpp is failing to build #647

Closed
dasayan05 opened this issue May 25, 2016 · 3 comments
Closed

range_search_test.cpp is failing to build #647

dasayan05 opened this issue May 25, 2016 · 3 comments

Comments

@dasayan05
Copy link
Contributor

After #645 the test file for range_search is failing to build. can you tell me how to fix ?

Generating man page for mlpack_nmf...
Generating man page for mlpack_logistic_regression...
Generating man page for mlpack_local_coordinate_coding...
Generating man page for mlpack_nca...
[ 51%] Built target man
Linking CXX executable ../../../bin/mlpack_test
CMakeFiles/mlpack_test.dir/range_search_test.cpp.o: In function `RangeSearchTest::RSModelTest::test_method()':
/home/ayan/Desktop/mlpack/src/mlpack/tests/range_search_test.cpp:1254: undefined reference to `mlpack::range::RSModel::RSModel(int, bool)'
/home/ayan/Desktop/mlpack/src/mlpack/tests/range_search_test.cpp:1255: undefined reference to `mlpack::range::RSModel::RSModel(int, bool)'
/home/ayan/Desktop/mlpack/src/mlpack/tests/range_search_test.cpp:1256: undefined reference to `mlpack::range::RSModel::RSModel(int, bool)'
/home/ayan/Desktop/mlpack/src/mlpack/tests/range_search_test.cpp:1257: undefined reference to `mlpack::range::RSModel::RSModel(int, bool)'
/home/ayan/Desktop/mlpack/src/mlpack/tests/range_search_test.cpp:1258: undefined reference to `mlpack::range::RSModel::RSModel(int, bool)'
CMakeFiles/mlpack_test.dir/range_search_test.cpp.o:/home/ayan/Desktop/mlpack/src/mlpack/tests/range_search_test.cpp:1259: more undefined references to `mlpack::range::RSModel::RSModel(int, bool)' follow
collect2: error: ld returned 1 exit status
make[2]: *** [bin/mlpack_test] Error 1
make[1]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/all] Error 2
make: *** [all] Error 2
@MarcosPividori
Copy link
Contributor

It looks like a cmake dependency problem, not properly tracking the changes in that commit.
If you make a clean build, everything should work well.

@dasayan05
Copy link
Contributor Author

Ya thanks. I made a clean build and it is working okay

@MarcosPividori
Copy link
Contributor

So, this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants