nhs_0702
3rd April 2010, 05:45
when i build my source code use libtorrent error message:
release/main.o:main.cpp: (.text+0x7d7 ) : undefined reference to `libtorrent:: create_torrent::create_torrent(libtorrent::file_st orage&, int)'
release/main.o:main.cpp: (.text+0x80a ) : undefined reference to `libtorrent:: create_torrent::add_tracker(std::string const&, int)'
release/main.o:main.cpp : (.text+0x8c9) : undefined reference to `libtorrent:: create_torrent::set_creator(char const*)'
release/main.o:main.cpp : (.text+0xa89) : undefined reference to `libtorrent: :create_torrent::generate() const'
release/main.o:main.cpp : (.text+0xab7) : undefined reference to `libtorrent:: entry::destruct()'
release/main.o:main.cpp : (.text+0xbf7 ): undefined reference to `libtorrent: :create_torrent::add_url_seed(std::string const&)'
release/main.o:main.cpp :(.text+0xfe3) : undefined reference to `libtorrent::entry::destruct()'
release/main.o:main.cpp: (.text+0x7d7 ) : undefined reference to `libtorrent:: create_torrent::create_torrent(libtorrent::file_st orage&, int)'
release/main.o:main.cpp: (.text+0x80a ) : undefined reference to `libtorrent:: create_torrent::add_tracker(std::string const&, int)'
release/main.o:main.cpp : (.text+0x8c9) : undefined reference to `libtorrent:: create_torrent::set_creator(char const*)'
release/main.o:main.cpp : (.text+0xa89) : undefined reference to `libtorrent: :create_torrent::generate() const'
release/main.o:main.cpp : (.text+0xab7) : undefined reference to `libtorrent:: entry::destruct()'
release/main.o:main.cpp : (.text+0xbf7 ): undefined reference to `libtorrent: :create_torrent::add_url_seed(std::string const&)'
release/main.o:main.cpp :(.text+0xfe3) : undefined reference to `libtorrent::entry::destruct()'