Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-25 Thread Brian Davis
I have overcome the issues with MSVCR90D.dll and MSVCP90d.dll by installing Visual Studio 9 SP1. Which seems to fix references to amd64 dlls. Why this is not in the web update is anyone's guess. Just more MS super spectacular awesomeness. Now on to my latest (CMAKE) problem. I can build and

Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-08 Thread James Bigler
On Thu, Jan 7, 2010 at 5:08 PM, Brian Davis bitmi...@gmail.com wrote: From FindCuda (with cmake now in my build tree so I can patch it): # Search in the CUDA_BIN_PATH first. find_path(CUDA_TOOLKIT_ROOT_DIR NAMES nvcc nvcc.exe PATHS ENV CUDA_BIN_PATH DOC Toolkit

Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-07 Thread James Bigler
On Wed, Jan 6, 2010 at 10:41 PM, Brian Davis bitmi...@gmail.com wrote: On Tue, Jan 5, 2010 at 12:23 PM, James Bigler jamesbig...@gmail.comwrote: I ask my self two questions: 1) Why is CUDA_NVCC_FLAGS not set to some default build setting that would just work out of the box? - I get the

Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-07 Thread Brian Davis
What kind of errors were you getting? I would point to a URL on GMane for the thread titled Build only what you need in third party libs , but it looks as though Gmane does not have all the postings. I was getting bounces back from CMake mailing list due to size of email. Here is an excerpt

Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-06 Thread Brian Davis
On Tue, Jan 5, 2010 at 12:23 PM, James Bigler jamesbig...@gmail.com wrote: I ask my self two questions: 1) Why is CUDA_NVCC_FLAGS not set to some default build setting that would just work out of the box? - I get the answer to this question when I turn on CUDA_VERBOSE_BUILD_MODE - It is

Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-05 Thread James Bigler
I ask my self two questions: 1) Why is CUDA_NVCC_FLAGS not set to some default build setting that would just work out of the box? - I get the answer to this question when I turn on CUDA_VERBOSE_BUILD_MODE - It is being set under the hood. I guess I don't understand your question. The

[CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-02 Thread Brian Davis
Part I - This original post bounced off CMake mail list due to 40kb limit. I am was attempting to build the nbody source in the CUDA sdk to both learn CMake and CUDA build settings (this is a documentation of that experience - heck maybe this will help someone else). After moving the sources

Re: [CMake] CUDA, CMAKE, and an attempt to build nbody

2010-01-02 Thread Brian Davis
Part 2 - continued from above begin rant - skip this if not interested Now finding where allocateNBodyArrays is in the files should not be hard, but then again I am suing Win7. On a REAL os I would use grep. In the search bar in Win7 I type in allocateNBodyArrays and search NVIDIA SDK and I