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 wrote:
> Hi,
>
> How can I set up the cmake not to check /usr/bin/cc but to check $CC
>
Hi,
How can I set up the cmake not to check /usr/bin/cc but to check $CC (which
link to gcc without hard corded path in the environment)?
Thank you.
Regards
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware of
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 ${CMAKE_CURRENT_BINARY_DIR}/Release.
My current CMak
With simple stand alone cmake 3.9 project using
cmake_minimum_required(VERSION 3.9)
project(cmake_testing CXX CUDA)
I can get a simple app to compile. It however fails to run with:
GPU Device 0: "GeForce GTX 960M" with compute capability 5.0
Current device is [0]
Current device is [0]
CUDA e
@Robert
I created a fresh simple cmake project in 3.9. This appeared to find
CUDA 8.0 successfully so it may have something do with my other project
settings that I am trying to get to work with 3.9, VS13, CUDA 7.5/8.0.
Using:
message( CUDACXX = ${CUDACXX})
message( CMAKE_CUDA_COMPILER = ${
Hi,
Can you please provide run from the build directory cmake
--system-information and send the resulting file? That will
help me track down why CUDA is failing for you.
On Fri, Jul 28, 2017 at 8:40 PM, Brian J. Davis wrote:
>
> @Robert
>
> Adding CUDA to my PROJECT(4DRTProto CXX CUDA)
>
> Yiel
The way to control which CUDA version to use is by setting the CUDACXX
environment variable, or by setting the CMAKE_CUDA_COMPILER cache
variable.
To specify which CUDA compilation language you want 98/11/14 you can
use any of methods that are possible by compile features (
https://cmake.org/cmake
cmake version 3.4.3
Hi,
I have ExternalProject_Add (attached), which works with gcc-4.4.7, but fails
with gcc-4.9.3:
...
...
[100%] Performing build step for 'ep_netcdf'
CMake Error at
/scratch/tesari/build/cee/gnu.dbg/netcdf/src/ep_netcdf-stamp/ep_netcdf-build
-DEBUG.cmake:16 (message):