google-code-export / twitcurl

Automatically exported from code.google.com/p/twitcurl
1 stars 1 forks source link

Error while compiling #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling I get these errors:

1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external 
symbol "void __cdecl std::_Xran(void)" (?_Xran@std@@YAXXZ) referenced in 
function "public: void __thiscall twitCurl::setTwitterUsername(class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > &)" (?setTwitterUsername@twitCurl@@QAEXAAV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

Any idea whats going on?

Thanks

Original issue reported on code.google.com by toddpace...@gmail.com on 21 Feb 2010 at 12:26

GoogleCodeExporter commented 9 years ago
Hi,

The twitCurl.lib that is present in the "Download" section is actually built 
using 
Microsoft Visual C++ 6.0. It seems you're using newer version of Visual C++ 
IDE. 
These linker errors are seen when newer VC++ tries to link to twitCurl.lib that 
was 
built in older VC++.

To avoid this error, download the twitCurl library source and build it using 
your 
VC++. Link this newly built twitCurl.lib with your application (for ex: 
twitterClient.exe). By this, both the twitCurl.lib and the application linking 
to 
this lib will be on same VC++ version.

Original comment by swatkat....@gmail.com on 1 Apr 2010 at 5:15

GoogleCodeExporter commented 9 years ago
I'm not sure what is meant by building the library ourselves. All I see in the 
downloads section is two example programs. What exactly do I do in order to 
build this library and link it?

Thanks,

Original comment by Steve.Bi...@gmail.com on 13 Jan 2011 at 3:49

GoogleCodeExporter commented 9 years ago
Hi,

Check out the "Windows" section at this page:
http://code.google.com/p/twitcurl/wiki/WikiHowToUseTwitcurlLibrary

Original comment by swatkat....@gmail.com on 6 Mar 2011 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by swatkat....@gmail.com on 17 Jun 2011 at 9:30