Multiple errors with VS 2005/08

Hi!

Maybe just a summary of 2 probelms reported before:

I have Visual Studio 2005 and 2008 installed on my computer.

After installing the commplete Toolkit (option “Complete”) and the SDK Examples:

  1. I can run the bandwidthTest.exe successfully.

  2. The particels.exe fails, saying “This application has failed to start because cudpp32_32_7.dll was not found”

  3. Any of the example projects will fail to compile:

    with VS 2005:

Error 2 error LNK2019: unresolved external symbol “public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)” (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) referenced in function “public: __thiscall std::_Locinfo::_Locinfo(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)” (??0_Locinfo@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) shrUtils32D.lib

with VS 2008:

nvcc fatal : Could not open input file C:\DOCUME~1\dep07449\LOCALS~1\Temp/tmpxft_000001cc_00000000-1
Error 1 fatal error LNK1181: cannot open input file ‘.\Debug\bandwidthTest.cu.obj’ bandwidthTest bandwidthTest

  1. What works (e.g. with bandwidthTest) is

    1. compile with VS2005
    2. link with VS 2008

Regards Rolf

Hi!

Maybe just a summary of 2 probelms reported before:

I have Visual Studio 2005 and 2008 installed on my computer.

After installing the commplete Toolkit (option “Complete”) and the SDK Examples:

  1. I can run the bandwidthTest.exe successfully.

  2. The particels.exe fails, saying “This application has failed to start because cudpp32_32_7.dll was not found”

  3. Any of the example projects will fail to compile:

    with VS 2005:

Error 2 error LNK2019: unresolved external symbol “public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)” (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) referenced in function “public: __thiscall std::_Locinfo::_Locinfo(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)” (??0_Locinfo@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) shrUtils32D.lib

with VS 2008:

nvcc fatal : Could not open input file C:\DOCUME~1\dep07449\LOCALS~1\Temp/tmpxft_000001cc_00000000-1
Error 1 fatal error LNK1181: cannot open input file ‘.\Debug\bandwidthTest.cu.obj’ bandwidthTest bandwidthTest

  1. What works (e.g. with bandwidthTest) is

    1. compile with VS2005
    2. link with VS 2008

Regards Rolf