Hi,
I was trying to learn build a CUDA project with VS2008. So I copied all source codes in the particle example from CUDA SDK to a new folder and built a new project for them using VS2008.
I believe that I corrected setup all paths for necessary libraries and also I used the SDK CUDA.rules file in order to compile *.cu files.
My first attempt to build it failed with following error message
msvcprt.lib(MSVCP90.dll) : error LNK2005: bla bla bla
Checking Google, it seems solution is to force VC ignore specific libraries, for example, here I ignored msvcprt.lib;libcpmt.lib;LIBCMT.lib which were included in all error message that I saw.
This indeed eliminated the error messages above, however I encountered other errors as listed below without any clue how to fix them, can anyone help me out? Thanks very much!
[codebox]
1>------ Rebuild All started: Project: learnBuildCUDAApp2, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'learnBuildCUDAApp2', configuration 'Release|Win32'
1>Compiling…
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>shaders.cpp
1>render_particles.cpp
1>particleSystem.cpp
1>particles.cpp
1>Note: including lib: glut32.lib
1>Note: including windows.h
1>Note: including math.h
1>Note: including assert.h
1>Note: including rendercheckGL.h
1>Note: including <vector>
1>Note: including <map>
1>Note: including <string>
1>Note: including GL/glew.h
1>Note: including GL/glut.h
1>Generating Code…
1>Compiling manifest to resources…
1>Microsoft ® Windows ® Resource Compiler Version 6.0.5724.0
1>Copyright © Microsoft Corporation. All rights reserved.
1>Linking…
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
1>particles.obj : warning LNK4217: locally defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z (public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)) imported in function "public: __thiscall ParamBase::ParamBase(char const *)" (??0ParamBase@@QAE@PBD@Z)
1>particles.obj : warning LNK4217: locally defined symbol ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ (public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)) imported in function "public: virtual __thiscall ParamBase::~ParamBase(void)" (??1ParamBase@@UAE@XZ)
1>particles.obj : warning LNK4217: locally defined symbol ??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z (public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)) imported in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<int>::GetValueString(void)" (?GetValueString@?$Param@H@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : warning LNK4217: locally defined symbol ??5?$basic_istream@DU?$char_traits@D@std@@@std@@QAEAAV01@AAH@Z (public: class std::basic_istream<char,struct std::char_traits<char> > & __thiscall std::basic_istream<char,struct std::char_traits<char> >::operator>>(int &)) imported in function "public: virtual void __thiscall Param<int>::Read(class std::basic_istream<char,struct std::char_traits<char> > &)" (?Read@?$Param@H@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@M@Z (public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(float)) imported in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<float>::GetValueString(void)" (?GetValueString@?$Param@M@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : warning LNK4217: locally defined symbol ??5?$basic_istream@DU?$char_traits@D@std@@@std@@QAEAAV01@AAM@Z (public: class std::basic_istream<char,struct std::char_traits<char> > & __thiscall std::basic_istream<char,struct std::char_traits<char> >::operator>>(float &)) imported in function "public: virtual void __thiscall Param<float>::Read(class std::basic_istream<char,struct std::char_traits<char> > &)" (?Read@?$Param@M@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ??$?MDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z (bool __cdecl std::operator<<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)) imported in function "public: bool __thiscall std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::operator()(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (??R?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@0@Z)
1>particles.obj : warning LNK4217: locally defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z (public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)) imported in function "public: __thiscall std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class ParamBase *>::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class ParamBase *>(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class ParamBase * const &)" (??0?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVParamBase@@@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@ABQAVParamBase@@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ (public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const ) imported in function "public: virtual char const * __thiscall std::logic_error::what(void)const " (?what@logic_error@std@@UBEPBDXZ)
1>particles.obj : warning LNK4217: locally defined symbol ?width@ios_base@std@@QAEHH@Z (public: int __thiscall std::ios_base::width(int)) imported in function __catch$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z$0
1>particles.obj : warning LNK4217: locally defined symbol ?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z (public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)) imported in function __catch$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z$0
1>particles.obj : warning LNK4217: locally defined symbol ?eq_int_type@?$char_traits@D@std@@SA_NABH0@Z (public: static bool __cdecl std::char_traits<char>::eq_int_type(int const &,int const &)) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?eof@?$char_traits@D@std@@SAHXZ (public: static int __cdecl std::char_traits<char>::eof(void)) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z (public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ (public: class std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const ) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ (public: char __thiscall std::basic_ios<char,struct std::char_traits<char> >::fill(void)const ) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?flags@ios_base@std@@QBEHXZ (public: int __thiscall std::ios_base::flags(void)const ) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?width@ios_base@std@@QBEHXZ (public: int __thiscall std::ios_base::width(void)const ) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@D@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ (public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)) imported in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ (public: class std::basic_ostream<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::tie(void)const ) imported in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?good@ios_base@std@@QBE_NXZ (public: bool __thiscall std::ios_base::good(void)const ) imported in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ (public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)) imported in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::~sentry(void)" (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
1>particles.obj : warning LNK4217: locally defined symbol ?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ (public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)) imported in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Sentry_base::_Sentry_base(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ (public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)) imported in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Sentry_base::~_Sentry_base(void)" (??1_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
1>particles.obj : warning LNK4217: locally defined symbol ?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z (public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
1>particles.obj : warning LNK4217: locally defined symbol ?length@?$char_traits@D@std@@SAIPBD@Z (public: static unsigned int __cdecl std::char_traits<char>::length(char const *)) imported in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
1>particles.obj : error LNK2019: unresolved external symbol _copyArrayFromDevice referenced in function "void __cdecl runBenchmark(int)" (?runBenchmark@@YAXH@Z)
1>particleSystem.obj : error LNK2001: unresolved external symbol _copyArrayFromDevice
1>particles.obj : error LNK2019: unresolved external symbol "public: void __thiscall ParamListGL::Render(int,int,bool)" (?Render@ParamListGL@@QAEXHH_N@Z) referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
1>particles.obj : error LNK2019: unresolved external symbol "public: bool __thiscall ParamListGL::Mouse(int,int,int,int)" (?Mouse@ParamListGL@@QAE_NHHHH@Z) referenced in function "void __cdecl mouse(int,int,int,int)" (?mouse@@YAXHHHH@Z)
1>particles.obj : error LNK2019: unresolved external symbol "public: bool __thiscall ParamListGL::Motion(int,int)" (?Motion@ParamListGL@@QAE_NHH@Z) referenced in function "void __cdecl motion(int,int)" (?motion@@YAXHH@Z)
1>particles.obj : error LNK2019: unresolved external symbol "public: void __thiscall ParamListGL::Special(int,int,int)" (?Special@ParamListGL@@QAEXHHH@Z) referenced in function "void __cdecl special(int,int,int)" (?special@@YAXHHH@Z)
1>particles.obj : error LNK2019: unresolved external symbol "public: __thiscall ParamListGL::ParamListGL(char const *)" (??0ParamListGL@@QAE@PBD@Z) referenced in function "void __cdecl initParams(void)" (?initParams@@YAXXZ)
1>particles.obj : error LNK2019: unresolved external symbol _cudaGLInit referenced in function _main
1>particles.obj : error LNK2019: unresolved external symbol _cudaInit referenced in function _main
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::`vbase destructor'(void)" (_imp??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<int>::GetValueString(void)" (?GetValueString@?$Param@H@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::str(void)const " (_imp?str@?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<int>::GetValueString(void)" (?GetValueString@?$Param@H@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::ios_base & (__cdecl*)(class std::ios_base &))" (_imp??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAVios_base@1@AAV2
1@@Z@Z) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<int>::GetValueString(void)" (?GetValueString@?$Param@H@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct std::_Smanip<int> __cdecl std::setprecision(int)" (_imp?setprecision@std@@YA?AU?$_Smanip@H@1@H@Z) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<int>::GetValueString(void)" (?GetValueString@?$Param@H@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >(int)" (_imp??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Param<int>::GetValueString(void)" (?GetValueString@?$Param@H@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::ios_base::setf(int,int)" (_imp?setf@ios_base@std@@QAEHHH@Z) referenced in function "class std::ios_base & __cdecl std::fixed(class std::ios_base &)" (?fixed@std@@YAAAVios_base@1@AAV21@@Z)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (_imp??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@@Z) referenced in function "public: virtual void __thiscall Param<int>::Write(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?Write@?$Param@H@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_istream<char,struct std::char_traits<char> > & __cdecl std::operator>><char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (_imp??$?5DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@@Z) referenced in function "public: virtual void __thiscall Param<int>::Read(class std::basic_istream<char,struct std::char_traits<char> > &)" (?Read@?$Param@H@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)
1>particles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) bool __cdecl std::uncaught_exception(void)" (_imp?uncaught_exception@std@@YA_NXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::~sentry(void)" (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
1>particleSystem.obj : error LNK2019: unresolved external symbol _setParameters referenced in function "protected: void __thiscall ParticleSystem::_initialize(int)" (?_initialize@ParticleSystem@@IAEXH@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _allocateArray referenced in function "protected: void __thiscall ParticleSystem::_initialize(int)" (?_initialize@ParticleSystem@@IAEXH@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _registerGLBufferObject referenced in function "protected: void __thiscall ParticleSystem::_initialize(int)" (?_initialize@ParticleSystem@@IAEXH@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _unregisterGLBufferObject referenced in function "protected: void __thiscall ParticleSystem::_finalize(void)" (?_finalize@ParticleSystem@@IAEXXZ)
1>particleSystem.obj : error LNK2019: unresolved external symbol _freeArray referenced in function "protected: void __thiscall ParticleSystem::_finalize(void)" (?_finalize@ParticleSystem@@IAEXXZ)
1>particleSystem.obj : error LNK2019: unresolved external symbol _unmapGLBufferObject referenced in function "public: void __thiscall ParticleSystem::update(float)" (?update@ParticleSystem@@QAEXM@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _collide referenced in function "public: void __thiscall ParticleSystem::update(float)" (?update@ParticleSystem@@QAEXM@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _reorderDataAndFindCellStart referenced in function "public: void __thiscall ParticleSystem::update(float)" (?update@ParticleSystem@@QAEXM@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _calcHash referenced in function "public: void __thiscall ParticleSystem::update(float)" (?update@ParticleSystem@@QAEXM@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _integrateSystem referenced in function "public: void __thiscall ParticleSystem::update(float)" (?update@ParticleSystem@@QAEXM@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _mapGLBufferObject referenced in function "public: void __thiscall ParticleSystem::update(float)" (?update@ParticleSystem@@QAEXM@Z)
1>particleSystem.obj : error LNK2019: unresolved external symbol _copyArrayToDevice referenced in function "public: void __thiscall ParticleSystem::setArray(enum ParticleSystem::ParticleArray,float const *,int,int)" (?setArray@ParticleSystem@@QAEXW4ParticleArray@1@PBMHH@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > std::cerr" (?cerr@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
1>shrUtils32.lib(rendercheckGL.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) referenced in function "public: class std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV123@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) referenced in function "public: class std::locale::facet * __thiscall std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QAEPAV123@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?_Ios_base_dtor@ios_base@std@@CAXPAV12@@Z) referenced in function "public: virtual __thiscall std::ios_base::~ios_base(void)" (??1ios_base@std@@UAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?_Ios_base_dtor@ios_base@std@@CAXPAV12@@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: __thiscall std::_Mutex::~_Mutex(void)" (??1_Mutex@std@@QAE@XZ) referenced in function "public: virtual __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::~basic_streambuf<char,struct std::char_traits<char> >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::_Mutex::~_Mutex(void)" (??1_Mutex@std@@QAE@XZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(char const *,unsigned int)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z)
1>shrUtils32.lib(rendercheckGL.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z) referenced in function "public: class std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::open(char const *,int,int)" (?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDHH@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::~sentry(void)" (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPAV12@@Z) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::basic_ostream<char,struct std::char_traits<char> >(enum std::_Uninitialized,bool)" (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@W4_Uninitialized@1@_N@Z)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPAV12@@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ) referenced in function "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ) referenced in function "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: __thiscall std::_Mutex::_Mutex(void)" (??0_Mutex@std@@QAE@XZ) referenced in function "protected: __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::_Mutex::_Mutex(void)" (??0_Mutex@std@@QAE@XZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) referenced in function "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) referenced in function "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ)
1>shrUtils32.lib(shrUtils.obj) : error LNK2001: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2019: unresolved external symbol "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A) referenced in function __ehhandler$?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ
1>shrUtils32.lib(shrUtils.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) referenced in function "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z)
1>shrUtils32.lib(shrUtils.obj) : 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<char>,class std::allocator<char> > 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<char>,class std::allocator<char> > const &)" (??0_Locinfo@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z) referenced in function "public: __thiscall std::_Locinfo::~_Locinfo(void)" (??1_Locinfo@std@@QAE@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Getctype referenced in function "public: struct _Ctypevec __thiscall std::_Locinfo::_Getctype(void)const " (?_Getctype@_Locinfo@std@@QBE?AU_Ctypevec@@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol __Getctype
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Tolower referenced in function "protected: virtual char __thiscall std::ctype<char>::do_tolower(char)const " (?do_tolower@?$ctype@D@std@@MBEDD@Z)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol __Tolower
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Toupper referenced in function "protected: virtual char __thiscall std::ctype<char>::do_toupper(char)const " (?do_toupper@?$ctype@D@std@@MBEDD@Z)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol __Toupper
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stoulx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,bool &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAA_N@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stolx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,long &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAAJ@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stollx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,__int64 &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAA_J@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stoullx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,unsigned __int64 &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAA_K@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stofx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,float &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAAM@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stodx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,double &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAAN@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Stoldx referenced in function "protected: virtual class std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_get<char,class std::istreambuf_iterator<char,struct std::char_traits<char> > >::do_get(class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::istreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int &,long double &)const " (?do_get@?$num_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHAAO@Z)
1>shrUtils32.lib(shrUtils.obj) : error LNK2019: unresolved external symbol __Getcvt referenced in function "public: struct _Cvtvec __thiscall std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@QBE?AU_Cvtvec@@XZ)
1>shrUtils32.lib(cmd_arg_reader.obj) : error LNK2001: unresolved external symbol __Getcvt
1>Release\learnBuildCUDAApp2.exe : fatal error LNK1120: 61 unresolved externals
1>Build log was saved at "file://c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\SandBox\learnBuildCUDAApp2\Release\BuildLog.htm"
1>learnBuildCUDAApp2 - 88 error(s), 28 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
[/codebox]