do you include the “cudaconsole_kernel.cu” file into other cu files? if so, right key on the cudaconsole_kernel.cu file and choose customer rule, means don’t use compile command for this file.
Thank you for the answer. *.cu files were compiling with custom rules. Don’t know why, but today it works :)
After installing 2.0 all the project settings appeared to be removed and project failed on compiling even with restored additional pathes and libraries. Then I installed again 1.2 and worked with it, everything was ok. And finally installed again 2.0 and for this attempt all the project settings kept correctly.
Now I’ve done the same in a new project without other files that I have. This new project works. Maybe it’s some configuration that I’ve changed. I’m going to make a new project whit all my files. Thank you
Another thing: project compiled with wizard 2.0 could not do breakpoint in a host function (*.cu file) while compiling with 1.2 works with such a breakpoint correctly.
After some fight with the Enviroment Variable I’m ready to start to work.
I have Vista 64 and I have installed the 32 and 64 CUDA toolkit and SDK.
Using different Envioroment I enable the compilation for 32 or 64 bit.
By default, the name of the variable that I use for 32 bit ( CUDA_PATH, … )are the same as CUDA Wizar use it.
For 64 bit I use CUDA_PATH_64, …
I’m interesting to create another cuda.rule file for 64 bit using my variable and in this way I can choose to create the template for one platform or the other.
Could you tell me witch variable I need to change in the original cuda.rule to make my intention?
Well Now I have open several project :P, I don’t have time to belong to another project as programing , but if you need a beta tester tell me, if I have time then I test the new release without problem :)
When I press New Project in VS I want to have two Item: CUDA and CUDA64.
For it, I made a copy of the whole CUDA directory form VCWizard and rename the copy to CUDA64.
I copied too the file cuda-win-app-msvc.vcproj and rename to cuda64-win-app-msvc.vcproj
I made the same with cuda.rule => cuda64.rule
I changed several variable to adjust the scripts to my configuration.
I can’t test my changes because not appear CUDA64 in new=>Project => Visual C++
I suppose I new to add something into a file or register but I don’t know what exactly.