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

what about the gcc type??? #41

Open
jiachen0212 opened this issue Jun 13, 2019 · 2 comments
Open

what about the gcc type??? #41

jiachen0212 opened this issue Jun 13, 2019 · 2 comments

Comments

@jiachen0212
Copy link

jiachen0212 commented Jun 13, 2019

hello @anewell, first of all, thanks your work.
when i cd /extensions/AE and run python build.py install i meet the bug:
cffi.VerificationError: CompileError: command 'gcc' failed with exit status 1

i'm using py3.6 and pytorch 0.4 gcc is 4.85 (also i tried 4.91) .
so i wonder which type of gcc is suitable?

@HONGJUNRL
Copy link

use this two commands:
export CXXFLAGS="-std=c++11"
export CFLAGS="-std=c99"
I succeeded using pytorch 0.4.0

@jiachen0212
Copy link
Author

@HONGJUNRL
THX ~ i will try it !

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