Jump to content
metin2dev
  • 0
Sign in to follow this  
colcrt

open how can I fix these errors when compiling

Question

compiler errors ->

Spoiler

------ Operación Compilar iniciada: proyecto: TorrentPatch, configuración: MTd Win32 ------
  TorrentPatch.cpp
libtorrent-0.15.5WMTd.lib(disk_io_thread.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(torrent.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(piece_picker.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
reducio_d.lib(Reducio.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(entry.obj) : error LNK2019: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver al que se hace referencia en la función "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
libtorrent-0.15.5WMTd.lib(torrent_info.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(lazy_bdecode.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(session_impl.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(disk_io_thread.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(torrent.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(piece_picker.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
reducio_d.lib(Reducio.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(entry.obj) : error LNK2019: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver al que se hace referencia en la función "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
libtorrent-0.15.5WMTd.lib(torrent_info.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(lazy_bdecode.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
libtorrent-0.15.5WMTd.lib(session_impl.obj) : error LNK2001: símbolo externo "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) sin resolver
reducio_d.lib(Reducio.obj) : error LNK2001: símbolo externo "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) sin resolver
libtorrent-0.15.5WMTd.lib(entry.obj) : error LNK2019: símbolo externo "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) sin resolver al que se hace referencia en la función "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ)
libtorrent-0.15.5WMTd.lib(torrent_info.obj) : error LNK2001: símbolo externo "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) sin resolver
libtorrent-0.15.5WMTd.lib(torrent.obj) : error LNK2001: símbolo externo "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) sin resolver
libtorrent-0.15.5WMTd.lib(piece_picker.obj) : error LNK2001: símbolo externo "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) sin resolver
reducio_d.lib(Reducio.obj) : error LNK2001: símbolo externo "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) sin resolver
libtorrent-0.15.5WMTd.lib(entry.obj) : error LNK2019: símbolo externo "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) sin resolver al que se hace referencia en la función "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)
libtorrent-0.15.5WMTd.lib(torrent_info.obj) : error LNK2001: símbolo externo "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) sin resolver
libtorrent-0.15.5WMTd.lib(torrent.obj) : error LNK2001: símbolo externo "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) sin resolver
libtorrent-0.15.5WMTd.lib(piece_picker.obj) : error LNK2001: símbolo externo "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) sin resolver
libtorrent-0.15.5WMTd.lib(torrent_info.obj) : error LNK2019: símbolo externo "struct std::_Smanip<int> __cdecl std::setw(int)" (?setw@std@@YA?AU?$_Smanip@H@1@H@Z) sin resolver al que se hace referencia en la función "public: void __thiscall libtorrent::torrent_info::print(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?print@torrent_info@libtorrent@@QBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
reducio_d.lib(Reducio.obj) : error LNK2019: símbolo externo "public: __thiscall std::_Mutex::~_Mutex(void)" (??1_Mutex@std@@QAE@XZ) sin resolver al que se hace referencia en la función "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)
reducio_d.lib(Reducio.obj) : error LNK2001: símbolo externo "long const std::_BADOFF" (?_BADOFF@std@@3JB) sin resolver
reducio_d.lib(Reducio.obj) : error LNK2019: símbolo externo "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ) sin resolver al que se hace referencia en la función "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ)
reducio_d.lib(Reducio.obj) : error LNK2019: símbolo externo "public: __thiscall std::_Mutex::_Mutex(void)" (??0_Mutex@std@@QAE@XZ) sin resolver al que se hace referencia en la función "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)
./TorrentPatchSfxBuilder\TorrentPatch_x86_MTd_VC90.exe : fatal error LNK1120: 9 externos sin resolver
========== Compilar: 0 correctos, 1 incorrectos, 3 actualizados, 0 omitidos ==========
 

 

hi dev,

I am trying to compile torrentpatch with VS2013 I have already solved several errors but these nose that I can do; try to correct it with this

Spoiler

namespace std
{
    class _Mutex
    {
    public: 
        static void __thiscall _Lock(void);
        static void __thiscall _Unlock(void);
    };
};

void __thiscall std::_Mutex::_Lock(void)
{   // report a length_error
    _Xlength_error("cadena _Mutex::_Lock error");
}
void __thiscall std::_Mutex::_Unlock(void)
{    // report a length_error
    _Xlength_error("cadena _Mutex::_Unlock error");
}

but it does not correct a help is that those errors is on that side

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×