Re: [CMake] CUDA Build problems

2010-03-26 Thread James Bigler
Is this linux or mac? I know with 10.6 Apple changed the default build from 32 to 64 bits, but the 3.0 CUDA runtime (which most of use) only supports 32 bit builds. Start off with an empty build directory and set the following environment variables: CFLAGS=-m32 CXXFLAGS=-m32 Also tr

[CMake] CUDA Build problems

2010-03-26 Thread James C. Sutherland
I am trying to use CMake to build a very simple CUDA program. I am seeing the following errors when I try to build: > /usr/include/c++/4.2.1/new(95): error: first parameter of allocation function > must be of type "size_t" > /usr/include/c++/4.2.1/new(96): error: first parameter of allocation f