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

I am very interested in your work, but A problem accured when install the setup.py. Do you kown why? #1

Closed
NaCl96 opened this issue Apr 18, 2020 · 1 comment

Comments

@NaCl96
Copy link

NaCl96 commented Apr 18, 2020

cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
./src/knn.cxx: In function 'at::Tensor knn(at::Tensor, at::Tensor, size_t)':
./src/knn.cxx:32:39: error: expected primary-expression before 'float'
const float* pts_data = pts.data_ptr();
^
./src/knn.cxx:38:40: error: expected primary-expression before 'float'
const float* qrs_data = qrs.data_ptr();
^
error: command 'gcc' failed with exit status 1

@aboulch
Copy link
Collaborator

aboulch commented Apr 21, 2020

Hello,
I cannot reproduce the error on my system: ubuntu 18.04 / Pytorch 1.4.0.
Did you find the origin of the bug ?

@aboulch aboulch closed this as completed Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants