wadeira Posted August 28, 2017 at 09:20 AM Share Posted August 28, 2017 at 09:20 AM (edited) Boas, estou a tentar mexer nas serverfiles originais e queria compilar a source em Windows (VS2013) para não ter de estar sempre a enviar as alterações para o servidor e compilar lá. Seria muito mais pratico correr o servidor em Windows para testar alterações etc. Estou a tentar compilar a source original (mainline), mas dá erro nos projectos db e game. Alguém sabe como resolver esses erros ou onde posso encontrar um tutorial para este efeito? db: Error 4 error LNK2005: "void __cdecl _invalid_parameter(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" ([email protected]@[email protected]) already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 5 error LNK2005: "void __cdecl _invoke_watson(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" ([email protected]@[email protected]) already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 6 error LNK2005: __call_reportfault already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 7 error LNK2005: __get_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 8 error LNK2005: __initp_misc_invarg already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 9 error LNK2005: __invalid_parameter already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 10 error LNK2005: __invoke_watson already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 11 error LNK2005: __set_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 12 error LNK2005: ___pInvalidArgHandler already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\src\LIBCMT.lib(invarg.obj) db Error 14 error LNK1169: one or more multiply defined symbols found F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\db\db_d.exe 1 1 db game: Error 1294 error LNK2005: "void __cdecl _invalid_parameter(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" ([email protected]@[email protected]) already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1295 error LNK2005: "void __cdecl _invoke_watson(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" ([email protected]@[email protected]) already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1296 error LNK2005: __call_reportfault already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1297 error LNK2005: __get_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1298 error LNK2005: __initp_misc_invarg already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1299 error LNK2005: __invalid_parameter already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1300 error LNK2005: __invoke_watson already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1301 error LNK2005: __set_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1302 error LNK2005: ___pInvalidArgHandler already defined in LIBCMTD.lib(invarg.obj) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\LIBCMT.lib(invarg.obj) game Error 1303 error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in affect.obj F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\libcpmt.lib(stdhndlr.obj) game Error 1304 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in affect.obj F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\libcpmt.lib(stdhndlr.obj) game Error 1306 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(hrtimer.obj) game Error 1307 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(dsa.obj) game Error 1308 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(hmac.obj) game Error 1309 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(mqueue.obj) game Error 1310 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(basecode.obj) game Error 1311 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(nbtheory.obj) game Error 1312 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rng.obj) game Error 1313 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rijndael.obj) game Error 1314 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(iterhash.obj) game Error 1315 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(pubkey.obj) game Error 1316 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(asn.obj) game Error 1317 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(hex.obj) game Error 1318 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(queue.obj) game Error 1319 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(gf2n.obj) game Error 1320 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) referenced in function "public: class std::_Vector_iterator<struct CryptoPP::WindowSlider,class std::allocator<struct CryptoPP::WindowSlider> > __thiscall std::_Vector_iterator<struct CryptoPP::WindowSlider,class std::allocator<struct CryptoPP::WindowSlider> >::operator+(int)const " ([email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]@Z) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(ecp.obj) game Error 1321 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(ec2n.obj) game Error 1322 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rc5.obj) game Error 1323 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(shacal2.obj) game Error 1324 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(tea.obj) game Error 1325 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(filters.obj) game Error 1326 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(serpent.obj) game Error 1327 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(twofish.obj) game Error 1328 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(camellia.obj) game Error 1329 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(des.obj) game Error 1330 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(dh2.obj) game Error 1331 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(cast.obj) game Error 1332 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rc6.obj) game Error 1333 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(mars.obj) game Error 1334 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(integer.obj) game Error 1335 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(randpool.obj) game Error 1336 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(osrng.obj) game Error 1337 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(gfpcrypt.obj) game Error 1338 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(cryptlib.obj) game Error 1339 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(algparam.obj) game Error 1340 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(modes.obj) game Error 1341 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(dll.obj) game Error 1342 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(hrtimer.obj) game Error 1343 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(dsa.obj) game Error 1344 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(hmac.obj) game Error 1345 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) referenced in function "public: __thiscall std::logic_error::logic_error(class std::logic_error const &)" ([email protected]@@[email protected]@@Z) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(mqueue.obj) game Error 1346 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(basecode.obj) game Error 1347 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(nbtheory.obj) game Error 1348 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rng.obj) game Error 1349 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rijndael.obj) game Error 1350 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(iterhash.obj) game Error 1351 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(pubkey.obj) game Error 1352 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(asn.obj) game Error 1353 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected]_String[email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(hex.obj) game Error 1354 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(queue.obj) game Error 1355 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(gf2n.obj) game Error 1356 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(ecp.obj) game Error 1357 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(ec2n.obj) game Error 1358 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rc5.obj) game Error 1359 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(shacal2.obj) game Error 1360 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(tea.obj) game Error 1361 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(filters.obj) game Error 1362 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(serpent.obj) game Error 1363 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(twofish.obj) game Error 1364 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(camellia.obj) game Error 1365 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(des.obj) game Error 1366 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(dh2.obj) game Error 1367 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(cast.obj) game Error 1368 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(rc6.obj) game Error 1369 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(mars.obj) game Error 1370 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(integer.obj) game Error 1371 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(randpool.obj) game Error 1372 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(osrng.obj) game Error 1373 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(gfpcrypt.obj) game Error 1374 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(cryptlib.obj) game Error 1375 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(algparam.obj) game Error 1376 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(modes.obj) game Error 1377 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(dll.obj) game Error 1378 error LNK2019: unresolved external symbol "public: void __thiscall std::_Mutex::_Unlock(void)" ([email protected][email protected]@@QAEXXZ) referenced in function "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@QAEXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(integer.obj) game Error 1379 error LNK2001: unresolved external symbol "public: void __thiscall std::_Mutex::_Unlock(void)" ([email protected][email protected]@@QAEXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(gf2n.obj) game Error 1380 error LNK2019: unresolved external symbol "public: void __thiscall std::_Mutex::_Lock(void)" ([email protected][email protected]@@QAEXXZ) referenced in function "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@QAEXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(integer.obj) game Error 1381 error LNK2001: unresolved external symbol "public: void __thiscall std::_Mutex::_Lock(void)" ([email protected][email protected]@@QAEXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(gf2n.obj) game Error 1382 error LNK2019: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::locale::facet::_Register(void)" ([email protected]@[email protected]@@QAEXXZ) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(integer.obj) game Error 1383 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 &)" ([email protected][email protected]@@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) referenced in function "public: __thiscall std::_Locinfo::_Locinfo(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib-5.6.1MTd.lib(integer.obj) game Error 1384 error LNK1120: 6 unresolved externals F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\game_d.exe game Edited August 28, 2017 at 09:20 AM by wadeira Link to comment Share on other sites More sharing options...
Requiem Posted August 28, 2017 at 09:56 AM Share Posted August 28, 2017 at 09:56 AM Onde arranjas-te essa source? Link to comment Share on other sites More sharing options...
wadeira Posted August 28, 2017 at 10:06 AM Author Share Posted August 28, 2017 at 10:06 AM Consegui compilar o projecto db. foi só colocar em Release e sacar o boost para a pasta Extern. 9 minutos atrás, Underworld disse: Onde arranjas-te essa source? É o leak original, podes obter aqui. Link to comment Share on other sites More sharing options...
Requiem Posted August 28, 2017 at 10:12 AM Share Posted August 28, 2017 at 10:12 AM Tentas-te o mesmo com o game? Eu sei, eu uso uma source mais avançada que essa Link to comment Share on other sites More sharing options...
wadeira Posted August 28, 2017 at 09:31 PM Author Share Posted August 28, 2017 at 09:31 PM 11 horas atrás, Underworld disse: Tentas-te o mesmo com o game? Eu sei, eu uso uma source mais avançada que essa Sim, mas não deu, tive de comentar código relacionado com o "ServeryKey..." e recompilar o projecto cryptlib. Agora estou com estes erros: Error 1348 error LNK1120: 3 unresolved externals F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\game.exe game Error 1347 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall CryptoPP::InvalidRounds::InvalidRounds(class CryptoPP::InvalidRounds const &)" ([email protected]@@[email protected]@@Z) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib.lib(tea.obj) game Error 1345 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall CryptoPP::InvalidRounds::InvalidRounds(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib.lib(tea.obj) game Error 1346 error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CryptoPP::InvalidRounds::~InvalidRounds(void)" ([email protected]@@[email protected]) F:\Projetos\Metin2\src\[email protected]\mainline\Srcs\Server\game\src\cryptlib.lib(tea.obj) game Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted August 28, 2017 at 09:50 PM Share Posted August 28, 2017 at 09:50 PM Existe isto no project da cryptlib? class CRYPTOPP_DLL InvalidRounds : public InvalidArgument Link to comment Share on other sites More sharing options...
wadeira Posted August 28, 2017 at 10:00 PM Author Share Posted August 28, 2017 at 10:00 PM 9 minutos atrás, Tierri Lopes disse: Existe isto no project da cryptlib? class CRYPTOPP_DLL InvalidRounds : public InvalidArgument Sim, simple.h //! _ class CRYPTOPP_DLL InvalidRounds : public InvalidArgument { public: explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {} }; Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted August 28, 2017 at 10:06 PM Share Posted August 28, 2017 at 10:06 PM Experimenta o projecto em anexo cryptopp_working.7z Link to comment Share on other sites More sharing options...
wadeira Posted August 28, 2017 at 10:54 PM Author Share Posted August 28, 2017 at 10:54 PM 48 minutos atrás, Tierri Lopes disse: Experimenta o projecto em anexo cryptopp_working.7z Está a dar o mesmo erro. Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted August 29, 2017 at 01:50 PM Share Posted August 29, 2017 at 01:50 PM Verifica se a lib que compilaste está presente na pasta include/lib (ou nome correspondente na tua source) Caso esteja e não funciona, nas definições do projecto game em Linker->Input, mostra o que está colocado em Additional Dependencies Link to comment Share on other sites More sharing options...
wadeira Posted August 30, 2017 at 10:19 PM Author Share Posted August 30, 2017 at 10:19 PM Já consegui compilar a source, apenas tive de utilzar o toolset do visual studio 2008 (v90). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now