OS Vista 64 Bits
CPU AMD 955 foure core
Graphic card FX-1800
Went I try to compile it I get the following error
I very new at this how do I correct this error "\Debug\cudaOpenMP.cu.obj : fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’
Build started: Project: cudaOpenMP, Configuration: Debug|Win32
Command Lines Creating temporary file “e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\Debug\BAT0000041000576.bat” with contents
[
@echo off
echo “d:\CUDA\bin64\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd " -I"d:\CUDA\include” -I"…/…/common/inc" -maxrregcount=32 --compile -o “Debug\cudaOpenMP.cu.obj” “e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\cudaOpenMP.cu”
“d:\CUDA\bin64\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd " -I"d:\CUDA\include” -I"…/…/common/inc" -maxrregcount=32 --compile -o “Debug\cudaOpenMP.cu.obj” “e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\cudaOpenMP.cu”
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
exit 1
:VCEnd
]
Creating command line “”“e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\Debug\BAT0000041000576.bat”“”
Creating temporary file “e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\Debug\RSP0000051000576.rsp” with contents
[
/OUT:“…/…/bin/win32/Debug/cudaOpenMP.exe” /INCREMENTAL:NO /LIBPATH:“d:\CUDA\lib64” /LIBPATH:“…/…/common/lib” /MANIFEST /MANIFESTFILE:“Debug\cudaOpenMP.exe.intermediate.manifest” /MANIFESTUAC:“level=‘asInvoker’ uiAccess=‘false’” /DEBUG /PDB:“Debug/cudaOpenMP.pdb” /SUBSYSTEM:CONSOLE /OPT:NOICF /DYNAMICBASE:NO /MACHINE:X86 cudart.lib cutil32D.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
“.\Debug\cudaOpenMP.cu.obj”
]
Creating command line “link.exe @“e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\Debug\RSP0000051000576.rsp” /NOLOGO /ERRORREPORT:PROMPT”
Output Window Compiling with CUDA Build Rule…
“d:\CUDA\bin64\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd " -I"d:\CUDA\include” -I"…/…/common/inc" -maxrregcount=32 --compile -o “Debug\cudaOpenMP.cu.obj” “e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\cudaOpenMP.cu”
cudaOpenMP.cu
tmpxft_000012f0_00000000-3_cudaOpenMP.cudafe1.gpu
tmpxft_000012f0_00000000-8_cudaOpenMP.cudafe2.gpu
tmpxft_000012f0_00000000-3_cudaOpenMP.cudafe1.cpp
tmpxft_000012f0_00000000-12_cudaOpenMP.ii
Linking…
.\Debug\cudaOpenMP.cu.obj : fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’[b][/b][b][/b] Results Build log was saved at “file://e:\cuda\Exercises\test_mp\NVIDIA CUDA SDK\projects\cudaOpenMP\Debug\BuildLog.htm”
cudaOpenMP - 1 error(s), 0 warning(s)