-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Isn't there a way for out-of-source building manually? #635
Comments
Ok... yes, problem seems to be solved Add However, I still leave this issue open, for I still have the following warning:
Cheers |
Can you explain how/where to changed the line? (ie. where are the CMakeList.txt?) |
add set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES") at the very front of CMakeLists.txt ,in the root folder where you install |
@swearos Well, no. What jiapei100 said: " to every single CMakeLists.txt" |
You can fix the warnings by installing the following package: https://github.com/hughperkins/FindCUDA luarocks install findcuda On Sun, Apr 10, 2016 at 8:30 PM, JIA Pei notifications@github.com wrote:
|
luarocks install findcudaError: No results matching query were found. ? |
Following what @jiapei100 said, it worked for me in Ubuntu 16.04. I executed this little script in the root of ~/torch folder: #!/bin/bash
for file in $(find . -name "*CMakeLists.txt" | sed "s|\./||")
do
echo "trying to fix $file"
echo 'set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")' | cat - "$file" > temp && mv temp "$file"
done |
this should be fixed now |
I am still experiencing this issue on Ubuntu 16.04, cuda 7.5 and |
I am having similar error and still the error persist. I tried to add set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES") but in vain. I am on Mac OS X 10.9.5 |
Hi, all:
I followed the installation doc at http://torch.ch/docs/getting-started.html# and almost have torch installed, which is still NOT there.
I prefer the traditional way to git torch7, and then
mkdir build cd build ccmake ../
But, it looks the ONLY way to install torch is just to follow these 3 lines:
git clone https://github.com/torch/distro.git ~/torch --recursive cd ~/torch; bash install-deps; ./install.sh
The solution should be here:
http://www.visionopen.com/forums/topic/for-gcc-5-3-1/
add
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")
at the very front of CMakeLists.txt .However, it looks like this solution doesn't solve my problem and I still get the above error messages. Any other suggestions?
cheers
Pei
The text was updated successfully, but these errors were encountered: