Beginner - help setup compiling

Hi all,

I’m a bioinformatics programmer (experience in Perl, Java), still new in C++. I’d like some help to setup CUDA environment on my computer. I followed the tutorial located here ( I’m at that point where when I compile I get this error message:

LINK||fatal error LNK1181: cannot open input file ‘msvcrt.lib.lib’|.

#include <iostream>

__global__ void kernel( void ){


int main( void ){


    printf("Hello world!\n");

    return 0;


If I rename msvcrt.lib to msvcrt.lib.lib, it works fine and then tell me that some other .lib.lib file is missing…



The easiest is probably to use Visual studio. Copy an example from the CUDA SDK and modify it.