You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error while building clSPARSE. Any ideas what is going wrong?
[ 11%] Generating ../include/kernels/source-provider.cpp
-- running cl2cpp_raw
[ 11%] Generating ../include/kernels/source-provider.cpp
-- running cl2cpp_raw
[ 12%] Building CXX object library/CMakeFiles/clSPARSE.dir/__/include/kernels/source-provider.cpp.o
c++: error: /home/bchandio/work/PhD/Sem SP19/clSPARSE/build/clSPARSE-build/include/kernels/source-provider.cpp: No such file or directory
c++: fatal error: no input files
compilation terminated.
library/CMakeFiles/clSPARSE.dir/build.make:762: recipe for target 'library/CMakeFiles/clSPARSE.dir/__/include/kernels/source-provider.cpp.o' failed
my cmake output:
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 64bit build - FIND_LIBRARY_USE_LIB64_PATHS TRUE
-- Setting up Boost external...
-- Configuring Boost SuperBuild...
-- ext.Boost_VERSION: 1.60.0
-- ExternalBoost using ( 13 ) cores to build with
-- ExternalBoost building [ program_options, serialization, filesystem, system, regex ] components
-- Boost.Command: ./b2;--prefix=<INSTALL_DIR>/package;cxxflags=-fPIC;-std=c++11;-j;13;--with-program_options;--with-serialization;--with-filesystem;--with-system;--with-regex;address-model=64;link=static;variant=release;--layout=tagged;install
-- BOOST_ROOT configured as: /home/bchandio/work/PhD/Sem SP19/clSPARSE/build/Externals/Boost/package
-- Setting up googleMock external...
-- Configuring gMock SuperBuild...
-- ext.gMock_Version: 1.7.0
-- ExternalGmock using ( 13 ) cores to build with
-- GMOCK_ROOT configured as: /home/bchandio/work/PhD/Sem SP19/clSPARSE/build/Externals/gMock/package
-- Setting up clSPARSE external...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bchandio/work/PhD/Sem SP19/clSPARSE/build
Also providing the following if its useful?
[ 72%] Performing configure step for 'clSPARSE'
-- clSPARSE_VERSION= 0.10.2.0
-- CMAKE_BUILD_TYPE= Release
-- 64bit build - FIND_LIBRARY_USE_LIB64_PATHS TRUE
-- UNICODE disabled on linux
-- Detected GNU compiler collection
-- CMAKE_CXX_COMPILER flags: -m64
-- CMAKE_CXX_COMPILER debug flags: -g
-- CMAKE_CXX_COMPILER release flags: -O3 -DNDEBUG
-- CMAKE_CXX_COMPILER relwithdebinfo flags: -O2 -g -DNDEBUG
-- CMAKE_EXE_LINKER link flags:
-- clSPARSE is building using CL interface ='1.2'
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/include
-- PROJECT SRC DIR = /home/bchandio/work/PhD/Sem SP19/clSPARSE/src
-- clSPARSE will build as a 'SHARED' library
-- clSPARSE will build with '4' index bitness
-- Configuring benchmarks sub-dir
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- regex
-- system
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/include
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- Configuring tests subdir
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- program_options
-- serialization
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bchandio/work/PhD/Sem SP19/clSPARSE/build/clSPARSE-build
[ 76%] Performing build step for 'clSPARSE'
[ 10%] Built target cl2hpp-ext
[ 10%] Built target cl2hpp
[ 11%] Generating ../include/kernels/source-provider.cpp
-- running cl2cpp_raw
[ 11%] Generating ../include/kernels/source-provider.cpp
The text was updated successfully, but these errors were encountered:
so now I have the original "Sem SP19" and a new directory "Sem\ SP19" and its searching the former so its not finding the file. Not sure how to fix it though... other than doing the build from a location with no space in directory names
I am getting this error while building clSPARSE. Any ideas what is going wrong?
my cmake output:
Also providing the following if its useful?
[ 72%] Performing configure step for 'clSPARSE'
-- clSPARSE_VERSION= 0.10.2.0
-- CMAKE_BUILD_TYPE= Release
-- 64bit build - FIND_LIBRARY_USE_LIB64_PATHS TRUE
-- UNICODE disabled on linux
-- Detected GNU compiler collection
-- CMAKE_CXX_COMPILER flags: -m64
-- CMAKE_CXX_COMPILER debug flags: -g
-- CMAKE_CXX_COMPILER release flags: -O3 -DNDEBUG
-- CMAKE_CXX_COMPILER relwithdebinfo flags: -O2 -g -DNDEBUG
-- CMAKE_EXE_LINKER link flags:
-- clSPARSE is building using CL interface ='1.2'
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/include
-- PROJECT SRC DIR = /home/bchandio/work/PhD/Sem SP19/clSPARSE/src
-- clSPARSE will build as a 'SHARED' library
-- clSPARSE will build with '4' index bitness
-- Configuring benchmarks sub-dir
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- regex
-- system
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/include
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- Configuring tests subdir
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- program_options
-- serialization
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bchandio/work/PhD/Sem SP19/clSPARSE/build/clSPARSE-build
[ 76%] Performing build step for 'clSPARSE'
[ 10%] Built target cl2hpp-ext
[ 10%] Built target cl2hpp
[ 11%] Generating ../include/kernels/source-provider.cpp
-- running cl2cpp_raw
[ 11%] Generating ../include/kernels/source-provider.cpp
The text was updated successfully, but these errors were encountered: