Re: [CMake] The C compiler "/usr/bin/cc" is not able to compile a simple test program.

2017-07-30 Thread Nils Gladitz
On 30.07.2017 10:54, Micha Hergarden wrote: On 30-07-17 04:36, jupiter wrote: I thought if I add -DCMAKE_CC_COMPILER=gcc that error should go, no, it still compile with the specific default cc: The corresponding CMake cache variable for the C compiler is CMAKE_C_COMPILER (note C not CC).

Re: [CMake] setting PYTHONPATH for test

2017-07-30 Thread Nils Gladitz
On 30.07.2017 03:22, Kris Thielemans wrote: Hi I’m trying to add to the PYTHONPATH for a test that uses Python. I do that using set_test_properties. When using the makefile generator, I need to add ${CMAKE_CURRENT_BINARY_DIR}. However, for Visual Studio I also need to add for instance

Re: [CMake] The C compiler "/usr/bin/cc" is not able to compile a simple test program.

2017-07-30 Thread Micha Hergarden
On 30-07-17 04:36, jupiter wrote: > I thought if I add -DCMAKE_CC_COMPILER=gcc that error should go, no, > it still compile with the specific default cc: > > /usr/bin/cc > > How could I fix it? > > Thank you. > > On Sun, Jul 30, 2017 at 11:51 AM, jupiter

[CMake] Using caffe in my own project

2017-07-30 Thread Laurent Berger
Hi, OS windows 10. Visual Studio 14 2015 win 64. CMake 3.7.1 I have got some problem to use Caffe in my own project. My cmakelists.txt is cmake_minimum_required(VERSION 2.8) PROJECT (HelloWorld) find_package(opencv REQUIRED) find_package(Caffe REQUIRED) file(GLOB HelloWorld_srcs "*.h"

Re: [CMake] CMake CUDA 3.8+/9 support as a first class language with out Visual Studio Support... err what?

2017-07-30 Thread Brian J. Davis
Saga novella continues: >> Next I am going to remove all NVIDA drivers and try reinstall of CUDA 7.5 see if I can get deviceQuery to report 7.5/7.5. Nvidia 352.65 driver removal from Add/Remove Programs Device Manager -> NVIDIA GeForce GTX 960M -> General reports "device has been disabled"

Re: [CMake] CMake CUDA 3.8+/9 support as a first class language with out Visual Studio Support... err what?

2017-07-30 Thread Brian J. Davis
Things I have tried: Install Visual Studio 15 Install CUDA 8.0 + patch Install Visual Studio 13 <- Yes Nvidia / CMake'ers sometimes we have to do back ports Install CUDA 7.5 VS 13 will run CUDA 8.0 samples nbody/deviceQuery VS 13 does not run CUDA 7.5 samples nbody or any example attempting

[Cmake-commits] CMake branch, master, updated. v3.9.0-361-gdf585ca

2017-07-30 Thread Kitware Robot
_VERSION_MINOR 9) -set(CMake_VERSION_PATCH 20170730) +set(CMake_VERSION_PATCH 20170731) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/