bitemyapp / bitemyapp/twitcurl
Linker Errors when Attempting to Use twitCurl.lib
- Dominant language
- C
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
Downloaded and built twitcurl.lib from source without any problems however when
I attempt to include this newly built library into a new C++ workspace using
the same version of Visual Studio (VC++ 2005) I am seeing some Linker errors
and I am having a hell of a time figuring out why this is happening:
My header file for the Project that is attempting to use these libraries is
fairly simple:
//INCLUDE twitcurl
#include "twitcurl.h"
//INCLUDE curl
#include "curl/curl.h"
#include "curl/curlbuild.h"
#include "curl/curlrules.h"
#include "curl/curlver.h"
#include "curl/easy.h"
#include "curl/mprintf.h"
#include "curl/multi.h"
#include "curl/stdcheaders.h"
And the .cpp file simply creates and instance of twitCurl:
int main()
{ twitCurl twitterObj; return 0; }
Properties -> Linker -> Input -> Additional Dependencies =
I:\_Projects\common\libtwitcurl\debug\twitcurl.lib
I:\_Projects\common\libtwitcurl\lib\libcurl.lib
This is what I get when I attempt to build this project:
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_easy_init referenced in function "public: __thiscall
twitCurl::twitCurl(void)" (??0twitCurl@@QAE@XZ)
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_easy_cleanup referenced in function "public: __thiscall
twitCurl::~twitCurl(void)" (??1twitCurl@@QAE@XZ)
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_easy_setopt referenced in function "private: void __thiscall
twitCurl::prepareCurlProxy(void)" (?prepareCurlProxy@twitCurl@@AAEXXZ)
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_slist_free_all referenced in function "private: bool __thiscall
twitCurl::performGet(class std::basic_string,class std::allocator > const &)"
(?performGet@twitCurl@@AAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocato
r@D@2@@std@@@Z)
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_easy_perform referenced in function "private: bool __thiscall
twitCurl::performGet(class std::basic_string,class std::allocator > const &)"
(?performGet@twitCurl@@AAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocato
r@D@2@@std@@@Z)
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_slist_append referenced in function "private: bool __thiscall
twitCurl::performGet(class std::basic_string,class std::allocator > const &)"
(?performGet@twitCurl@@AAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocato
r@D@2@@std@@@Z)
1>twitcurl.lib(twitcurl.obj) : error LNK2019: unresolved external symbol
__imp__curl_easy_getinfo referenced in function "public: bool __thiscall
twitCurl::oAuthHandlePIN(class std::basic_string,class std::allocator > const &)"
(?oAuthHandlePIN@twitCurl@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allo
cator@D@2@@std@@@Z)
1>D:\Projects VS05\TestTwitterAPI\Debug\TestTwitterAPI.exe : fatal error
LNK1120: 7 unresolved externals
I am stuck on this and it is extremely frustrating!
```
Original issue reported on code.google.com by `cesar...@gmail.com` on 29 Nov 2011 at 7:38
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.