Build LibRaw for Windows 64bit

Hi Everyone,
I've just downloaded LibRaw and I want to use it in my project. I got the source files and I built it in my Visual Studio 2010 as 64 bit. However, When I tried to integrate it to my project, I got the errors below. I believe there is something about the way it is compiled - my project usually only accepts static libs, that might be the problem.
Could you help me? Maybe telling me how to compile LibRaw as static lib...

Error	286	error LNK2005: atoi already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(atox.obj)
Error	295	error LNK2005: mainCRTStartup already defined in MSVCRTD.lib(crtexe.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0.obj)
Error	281	error LNK2005: _initterm_e already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0dat.obj)
Error	282	error LNK2005: exit already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0dat.obj)
Error	283	error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0dat.obj)
Error	284	error LNK2005: _cexit already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0dat.obj)
Error	285	error LNK2005: _amsg_exit already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0dat.obj)
Error	289	error LNK2005: __xi_a already defined in MSVCRTD.lib(cinitexe.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0init.obj)
Error	290	error LNK2005: __xi_z already defined in MSVCRTD.lib(cinitexe.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0init.obj)
Error	291	error LNK2005: __xc_a already defined in MSVCRTD.lib(cinitexe.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0init.obj)
Error	292	error LNK2005: __xc_z already defined in MSVCRTD.lib(cinitexe.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(crt0init.obj)
Error	297	error LNK2005: _errno already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(dosmap.obj)
Error	296	error LNK2005: __set_app_type already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(errmode.obj)
Error	287	error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(hooks.obj)
Error	276	error LNK2005: _invalid_parameter already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(invarg.obj)
Error	277	error LNK2005: localeconv already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(lconv.obj)
Error	278	error LNK2005: _unlock already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(mlock.obj)
Error	279	error LNK2005: _lock already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(mlock.obj)
Error	275	error LNK2005: _configthreadlocale already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(setlocal.obj)
Error	294	error LNK2005: _strtoi64 already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(strtoq.obj)
Error	293	error LNK2005: tolower already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(tolower.obj)
Error	288	error LNK2005: signal already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(winsig.obj)
Error	280	error LNK2005: _XcptFilter already defined in MSVCRTD.lib(MSVCR100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\LIBCMT.lib(winxfltr.obj)
Error	268	error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(ios.obj)
Error	269	error LNK2005: "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPEAV12@@Z) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(ios.obj)
Error	270	error LNK2005: "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?_Ios_base_dtor@ios_base@std@@CAXPEAV12@@Z) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(ios.obj)
Error	271	error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(iosptrs.obj)
Error	259	error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	260	error LNK2005: "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPEAV123@@Z) already defined in msvcprtd.lib(locale0_implib.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	261	error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPEAV_Locimp@12@XZ) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	262	error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPEAV12@@Z) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	263	error LNK2005: "public: class std::_Yarn<char> & __cdecl std::_Yarn<char>::operator=(char const *)" (??4?$_Yarn@D@std@@QEAAAEAV01@PEBD@Z) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	264	error LNK2005: "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,char const *)" (?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@PEBD@Z) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	265	error LNK2005: "protected: virtual __cdecl std::locale::_Locimp::~_Locimp(void)" (??1_Locimp@locale@std@@MEAA@XZ) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	266	error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPEAV_Locimp@12@XZ) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	267	error LNK2005: "public: static class std::locale const & __cdecl std::locale::classic(void)" (?classic@locale@std@@SAAEBV12@XZ) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(locale0.obj)
Error	272	error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(xlock.obj)
Error	273	error LNK2005: "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(xlock.obj)
Error	274	error LNK2005: "public: __cdecl std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QEAA@XZ) already defined in msvcprtd.lib(MSVCP100D.dll)	C:\Pluribus\svn\source\Trunk\build64\Server\src\libcpmt.lib(xlock.obj)
Error	198	error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj	C:\Pluribus\svn\source\Trunk\build64\Server\src\libraw_static.lib(libraw_datastream_st.obj)
Error	199	error LNK2005: "public: void __cdecl std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	200	error LNK2005: "public: class std::basic_streambuf<char,struct std::char_traits<char> > * __cdecl std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " (?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBAPEAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	201	error LNK2005: "public: int __cdecl std::ios_base::flags(void)const " (?flags@ios_base@std@@QEBAHXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	202	error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	203	error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > * __cdecl std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBAPEAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	204	error LNK2005: "public: bool __cdecl std::ios_base::good(void)const " (?good@ios_base@std@@QEBA_NXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	205	error LNK2005: "public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::char_traits<char> >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	206	error LNK2005: "public: virtual __cdecl std::basic_istream<char,struct std::char_traits<char> >::~basic_istream<char,struct std::char_traits<char> >(void)" (??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	207	error LNK2005: "public: __cdecl std::basic_istream<char,struct std::char_traits<char> >::basic_istream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (??0?$basic_istream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	208	error LNK2005: "protected: __cdecl std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct std::char_traits<char> >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	209	error LNK2005: "public: virtual __cdecl 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@@UEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	210	error LNK2005: "public: int __cdecl std::codecvt<char,char,int>::out(int &,char const *,char const *,char const * &,char *,char *,char * &)const " (?out@?$codecvt@DDH@std@@QEBAHAEAHPEBD1AEAPEBDPEAD3AEAPEAD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	211	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Pninc(void)" (?_Pninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	212	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::epptr(void)const " (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	213	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::pptr(void)const " (?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	214	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Gndec(void)" (?_Gndec@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	215	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::eback(void)const " (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	216	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::gptr(void)const " (?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	217	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::egptr(void)const " (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	218	error LNK2005: "public: int __cdecl std::codecvt<char,char,int>::in(int &,char const *,char const *,char const * &,char *,char *,char * &)const " (?in@?$codecvt@DDH@std@@QEBAHAEAHPEBD1AEAPEBDPEAD3AEAPEAD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	219	error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Gninc(void)" (?_Gninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAPEADXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	220	error LNK2005: "public: void __cdecl std::basic_ios<char,struct std::char_traits<char> >::clear(int,bool)" (?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	221	error LNK2005: "protected: __cdecl 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@@IEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	222	error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Init(char * *,char * *,int *,char * *,char * *,int *)" (?_Init@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAPEAD0PEAH001@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	223	error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Init(void)" (?_Init@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	224	error LNK2005: "public: int __cdecl std::codecvt<char,char,int>::unshift(int &,char *,char *,char * &)const " (?unshift@?$codecvt@DDH@std@@QEBAHAEAHPEAD1AEAPEAD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	225	error LNK2005: "public: bool __cdecl std::codecvt_base::always_noconv(void)const " (?always_noconv@codecvt_base@std@@QEBA_NXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	226	error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::setg(char *,char *,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD00@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	227	error LNK2005: "public: class std::locale __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::getloc(void)const " (?getloc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEBA?AVlocale@2@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	228	error LNK2005: "public: class std::locale::facet * __cdecl std::locale::facet::_Decref(void)" (?_Decref@facet@locale@std@@QEAAPEAV123@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	229	error LNK2005: "public: char __cdecl std::basic_ios<char,struct std::char_traits<char> >::widen(char)const " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBADD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	230	error LNK2005: "public: void __cdecl std::locale::facet::_Incref(void)" (?_Incref@facet@locale@std@@QEAAXXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	231	error LNK2005: "public: static unsigned __int64 __cdecl std::codecvt<char,char,int>::_Getcat(class std::locale::facet const * *,class std::locale const *)" (?_Getcat@?$codecvt@DDH@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	232	error LNK2005: "public: __cdecl std::locale::id::operator unsigned __int64(void)" (??Bid@locale@std@@QEAA_KXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	233	error LNK2005: "public: int __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::sbumpc(void)" (?sbumpc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	234	error LNK2005: "public: int __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::snextc(void)" (?snextc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	235	error LNK2005: "public: int __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::sgetc(void)" (?sgetc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	236	error LNK2005: "public: bool __cdecl std::basic_istream<char,struct std::char_traits<char> >::_Ipfx(bool)" (?_Ipfx@?$basic_istream@DU?$char_traits@D@std@@@std@@QEAA_N_N@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	237	error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::pbump(int)" (?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXH@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	238	error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::gbump(int)" (?gbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXH@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	239	error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::setp(char *,char *)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD0@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	240	error LNK2005: "public: char __cdecl std::ctype<char>::widen(char)const " (?widen@?$ctype@D@std@@QEBADD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	241	error LNK2005: "public: static unsigned __int64 __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *,class std::locale const *)" (?_Getcat@?$ctype@D@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	242	error LNK2005: "public: bool __cdecl std::ctype<char>::is(short,char)const " (?is@?$ctype@D@std@@QEBA_NFD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	243	error LNK2005: "public: __cdecl std::_Locinfo::~_Locinfo(void)" (??1_Locinfo@std@@QEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	244	error LNK2005: "public: __cdecl std::_Locinfo::_Locinfo(char const *)" (??0_Locinfo@std@@QEAA@PEBD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	245	error LNK2005: "public: char const * __cdecl std::_Yarn<char>::c_str(void)const " (?c_str@?$_Yarn@D@std@@QEBAPEBDXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	246	error LNK2005: "public: virtual __cdecl std::locale::facet::~facet(void)" (??1facet@locale@std@@UEAA@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	247	error LNK2005: "protected: __cdecl std::locale::facet::facet(unsigned __int64)" (??0facet@locale@std@@IEAA@_K@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	248	error LNK2005: "public: char const * __cdecl std::_Locinfo::_Gettrue(void)const " (?_Gettrue@_Locinfo@std@@QEBAPEBDXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	249	error LNK2005: "public: char const * __cdecl std::_Locinfo::_Getfalse(void)const " (?_Getfalse@_Locinfo@std@@QEBAPEBDXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	250	error LNK2005: "public: struct _Cvtvec __cdecl std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	251	error LNK2005: "public: struct lconv const * __cdecl std::_Locinfo::_Getlconv(void)const " (?_Getlconv@_Locinfo@std@@QEBAPEBUlconv@@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	252	error LNK2005: "public: class std::basic_istream<char,struct std::char_traits<char> > & __cdecl std::basic_istream<char,struct std::char_traits<char> >::operator>>(int &)" (??5?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@AEAH@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	253	error LNK2005: "public: bool __cdecl std::ios_base::fail(void)const " (?fail@ios_base@std@@QEBA_NXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	254	error LNK2005: "public: void __cdecl std::basic_istream<char,struct std::char_traits<char> >::`vbase destructor'(void)" (??_D?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	255	error LNK2005: "public: class std::basic_istream<char,struct std::char_traits<char> > & __cdecl std::basic_istream<char,struct std::char_traits<char> >::operator>>(float &)" (??5?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@AEAM@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	256	error LNK2005: "public: class std::locale __cdecl std::ios_base::getloc(void)const " (?getloc@ios_base@std@@QEBA?AVlocale@2@XZ) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	257	error LNK2005: "public: __cdecl std::locale::id::id(unsigned __int64)" (??0id@locale@std@@QEAA@_K@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	258	error LNK2005: "public: class std::basic_istream<char,struct std::char_traits<char> > & __cdecl std::basic_istream<char,struct std::char_traits<char> >::getline(char *,__int64,char)" (?getline@?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@PEAD_JD@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	298	error LNK2005: "public: class std::basic_istream<char,struct std::char_traits<char> > & __cdecl std::basic_istream<char,struct std::char_traits<char> >::getline(char *,__int64)" (?getline@?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@PEAD_J@Z) already defined in libraw_static.lib(libraw_datastream_st.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\msvcprtd.lib(MSVCP100D.dll)
Error	299	error LNK2005: _stricmp already defined in LIBCMT.lib(stricmp.obj)	C:\Pluribus\svn\source\Trunk\build64\Server\src\MSVCRTD.lib(MSVCR100D.dll)
Error	303	error LNK1169: one or more multiply defined symbols found	C:\Pluribus\svn\source\Trunk\build64\Server\src\Debug\Pluribus.exe

Ps: I've already tried to adjust the Makefile.msvc by myself, to force static lib compilation. However, in a paralel project that uses libraw isolated, I got this errors:

Error	13	error LNK1120: 8 unresolved externals	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\x64\Debug\RawReaders.exe
Error	6	error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl LibRaw::~LibRaw(void)" (__imp_??1LibRaw@@QEAA@XZ) referenced in function "public: void * __cdecl LibRaw::`scalar deleting destructor'(unsigned int)" (??_GLibRaw@@QEAAPEAXI@Z)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	5	error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl LibRaw::LibRaw(unsigned int)" (__imp_??0LibRaw@@QEAA@I@Z) referenced in function "public: __cdecl LibRawOpener::LibRawOpener(int,int,int,double,double,float,float,float,float)" (??0LibRawOpener@@QEAA@HHHNNMMMM@Z)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	12	error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl LibRaw::dcraw_ppm_tiff_writer(char const *)" (__imp_?dcraw_ppm_tiff_writer@LibRaw@@QEAAHPEBD@Z) referenced in function "public: virtual int __cdecl LibRawOpener::saveFile(char const *)" (?saveFile@LibRawOpener@@UEAAHPEBD@Z)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	8	error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl LibRaw::dcraw_process(void)" (__imp_?dcraw_process@LibRaw@@QEAAHXZ) referenced in function "private: int __cdecl LibRawOpener::uploadUnpackProcess(void)" (?uploadUnpackProcess@LibRawOpener@@AEAAHXZ)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	10	error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl LibRaw::open_buffer(void *,unsigned __int64)" (__imp_?open_buffer@LibRaw@@QEAAHPEAX_K@Z) referenced in function "public: virtual int __cdecl LibRawOpener::openBuffer(void *,int)" (?openBuffer@LibRawOpener@@UEAAHPEAXH@Z)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	11	error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl LibRaw::open_file(char const *,__int64)" (__imp_?open_file@LibRaw@@QEAAHPEBD_J@Z) referenced in function "public: virtual int __cdecl LibRawOpener::openFile(char const *)" (?openFile@LibRawOpener@@UEAAHPEBD@Z)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	9	error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl LibRaw::unpack(void)" (__imp_?unpack@LibRaw@@QEAAHXZ) referenced in function "private: int __cdecl LibRawOpener::uploadUnpackProcess(void)" (?uploadUnpackProcess@LibRawOpener@@AEAAHXZ)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj
Error	7	error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl LibRaw::recycle(void)" (__imp_?recycle@LibRaw@@QEAAXXZ) referenced in function "public: virtual void __cdecl LibRawOpener::release(void)" (?release@LibRawOpener@@UEAAXXZ)	C:\Pluribus\svn\source\Trunk\CameraControlApps\DSLR\RawReaders\LibRawOpener.obj

Thanks in advance for your help.

Forums: 

You may use LibRaw Visual

You may use LibRaw Visual Studio project files (in LibRaw/buildfiles catalog).

It works for me.

-- Alex Tutubalin @LibRaw LLC