[CMake] Error U1077

Amboy, Nathan -FS namboy at fs.fed.us
Tue May 29 12:55:07 EDT 2012


I'm attempting to finish a build of GPUlib libraries that include the latest CUDA 4.2 libraries.  Our goal is to get IDL running on our workstation that has two Tesla cards.  I can get this to finish:

cmake -DPRECISION=sm_20  -DCMAKE_INSTALL_PREFIX="C:\Program Files\Tech-X\GPULib"  -DCUDA_TOOLKIT_ROOT_DIR="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2" -DIDL_LIBRARY="C:\Program Files\Exelis\IDL82\bin\bin.x86_64\idl.lib" -DIDL_INCLUDE_DIR="C:\Program Files\ITT\IDL\IDL80\external\include" -G "NMake Makefiles" ..

When I try nmake on this, it fails with:


C:\Program Files\Microsoft SDKs\Windows\v7.1\INCLUDE\objbase.h(239): warning: ex
pression has no effect

1 error detected in the compilation of "C:/Users/namboy/AppData/Local/Temp/tmpxf
t_000013d8_00000000-11_radixsort_app.cpp4.ii".
CMake Error at cuda_compile_generated_radixsort_app.cu.obj.cmake:256 (message):
  Error generating file
  C:/gpulib/build/nvidia/cudpp_1.1/cudpp/CMakeFiles/cuda_compile.dir/src/app/./c
uda_compile_generated_radixsort_app.cu.obj


NMAKE : fatal error U1077: 'echo' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.

I have never used CMAKE before this, so I have no idea where to start to fix this.  Here's my system build:
Windows 7 64bit
Visual Studio 2010
Microsoft Windows SDK 7.1
Nvidia Computing SDK 4.2
GPULib from Tech-X

Nathan Amboy
GIS Analyst
USDA Forest Service / General Dynamics
Remote Sensing Lab, McClellan CA





This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120529/cc447084/attachment.htm>


More information about the CMake mailing list