Created
April 11, 2017 16:24
-
-
Save jfsantos/eb008569e9aea829982f215d0786a186 to your computer and use it in GitHub Desktop.
Issue when compiling PyTorch on a crouton env (ASUS Chromebook Flip)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Build files have been written to: /home/jfsantos/pytorch/torch/lib/build/libshm | |
[ 50%] Built target torch_shm_manager | |
[ 75%] Building CXX object CMakeFiles/shm.dir/core.cpp.o | |
/home/jfsantos/pytorch/torch/lib/libshm/core.cpp:149:1: error: invalid conversion from 'void* (*)(void*, long int)' to 'void* (*)(void*, ptrdiff_t) {aka void* (*)(void*, int)}' [-fpermissive] | |
}; | |
^ | |
/home/jfsantos/pytorch/torch/lib/libshm/core.cpp:149:1: error: invalid conversion from 'void* (*)(void*, void*, long int)' to 'void* (*)(void*, void*, ptrdiff_t) {aka void* (*)(void*, void*, int)}' [-fpermissive] | |
CMakeFiles/shm.dir/build.make:62: recipe for target 'CMakeFiles/shm.dir/core.cpp.o' failed | |
make[2]: *** [CMakeFiles/shm.dir/core.cpp.o] Error 1 | |
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/shm.dir/all' failed | |
make[1]: *** [CMakeFiles/shm.dir/all] Error 2 | |
Makefile:127: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment