We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I got the following error when installing:
$ g++ -std=c++11 -O3 src/sptree.cpp src/tsne.cpp src/nbodyfft.cpp -o bin/fast_tsne -pthread -lfftw3 -lm /tmp/cczspn62.o: In function `TSNE::run(double*, int, int, double*, int, double, double, int, bool, int, int, int, int, double, int, int, double, double*, double*, bool, int, double, int, int)': tsne.cpp:(.text+0x8698): undefined reference to `clock_gettime' tsne.cpp:(.text+0x8c8b): undefined reference to `clock_gettime' tsne.cpp:(.text+0x9be8): undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status
You can fix that by adding -lrt during compilation.
-lrt
The text was updated successfully, but these errors were encountered:
Thanks so much! It looks like this is an issue for glibc versions <2.17. So for users with older versions of glibc, this is very helpful.
Sorry, something went wrong.
Merge pull request #1 from KlugerLab/master
33b82bf
updating fork
7c7c434
update
No branches or pull requests
Hi,
I got the following error when installing:
You can fix that by adding
-lrt
during compilation.The text was updated successfully, but these errors were encountered: