x64 Linker Error

Takatu
Posts: 3
Joined: Sun Jan 25, 2009 9:55 pm

x64 Linker Error

Post by Takatu »

Hi,
I've tryed to compile the CUDA project particles.
Compiler run through but the linker return the error: ".\Debug\btCudaBroadphase_cu.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'"

I have no experience with x64 or Cross-platform projects in Visual Studio.

Core2 Q9550 / Vista64
Visual Studio 2008 SP1
CUDA Toolkit x64 2.1 / SDK 2.1 Beta
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: x64 Linker Error

Post by Erwin Coumans »

The CUDA work has only been tested/developed for Windows 32bit. Once we ported other stages to CUDA we consider adding 64bit/cross platform support.

By the way: does the particle demo that ships with the CUDA sdk (NVIDIA CUDA SDK\projects\particles) work fine on 64bit?
Thanks,
Erwin
Takatu
Posts: 3
Joined: Sun Jan 25, 2009 9:55 pm

Re: x64 Linker Error

Post by Takatu »

The Cuda SDK samples works fine with x64 target.

Is it possible to use the CUDA 32bit Toolkit and SDK on Vista 64 to build 32bit binary?
Takatu
Posts: 3
Joined: Sun Jan 25, 2009 9:55 pm

Re: x64 Linker Error

Post by Takatu »

With the CUDA 32bit Toolkit and SDK all running fine.