Hello my name is Peter, and i’m trying to install everything i need to program the NVIDIA target,
i have instaled , the driver, the toolkig and the SDK. compiler nvcc runs and the enviroment variables PATH and LD_LIBRARY_PATH are correct.
however, when i try to compile (make ) the examples from the SDK, or just the libcutil.so (in the common folder) this is the error i always get
make[1]: se ingresa al directorio /home/pedro/NVIDIA_CUDA_SDK/common' In file included from src/cmd_arg_reader.cpp:33: ./../common/inc/cmd_arg_reader.h: In member function ‘const T* CmdArgReader::getArgHelper(const std::string&)’: ./../common/inc/cmd_arg_reader.h:417: error: must #include <typeinfo> before using typeid ./../common/inc/cmd_arg_reader.h:433: error: must #include <typeinfo> before using typeid src/cmd_arg_reader.cpp: In destructor ‘CmdArgReader::~CmdArgReader()’: src/cmd_arg_reader.cpp:101: error: must #include <typeinfo> before using typeid src/cmd_arg_reader.cpp:106: error: must #include <typeinfo> before using typeid src/cmd_arg_reader.cpp:111: error: must #include <typeinfo> before using typeid src/cmd_arg_reader.cpp:116: error: must #include <typeinfo> before using typeid src/cmd_arg_reader.cpp:121: error: must #include <typeinfo> before using typeid make[1]: *** [obj/release/cmd_arg_reader.cpp_o] Error 1 make[1]: se sale del directorio
/home/pedro/NVIDIA_CUDA_SDK/common’
make: *** [lib/libcutil.so] Error 2
i don’t know what can i do. Any suggestion?
thanks