bitemyapp / bitemyapp/twitcurl

Linking error with twitcurl.lib/obj

Open
#40 3 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
This is related to another similar issue already posted. If you read the other
post, the recommended repair was to build from a curl source, and create
libcurl_imp.lib. I did that and I also added all the twitcurl source files to
my project. However, I still receive the same error.

1>twitcurl.obj : error LNK2019: unresolved external symbol __imp_curl_easy_init
referenced in function "public: __cdecl twitCurl::twitCurl(void)"
(??0twitCurl@@QEAA@XZ)
1>twitcurl.obj : error LNK2019: unresolved external symbol
__imp_curl_easy_cleanup referenced in function "public: __cdecl
twitCurl::~twitCurl(void)" (??1twitCurl@@QEAA@XZ)
1>twitcurl.obj : error LNK2019: unresolved external symbol
__imp_curl_easy_setopt referenced in function "private: void __cdecl
twitCurl::prepareCurlProxy(void)" (?prepareCurlProxy@twitCurl@@AEAAXXZ)
1>twitcurl.obj : error LNK2019: unresolved external symbol
__imp_curl_slist_free_all referenced in function "private: bool __cdecl
twitCurl::performGet(class std::basic_string,class std::allocator > const &)"
(?performGet@twitCurl@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$alloca
tor@D@2@@std@@@Z)
1>twitcurl.obj : error LNK2019: unresolved external symbol
__imp_curl_easy_perform referenced in function "private: bool __cdecl
twitCurl::performGet(class std::basic_string,class std::allocator > const &)"
(?performGet@twitCurl@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$alloca
tor@D@2@@std@@@Z)
1>twitcurl.obj : error LNK2019: unresolved external symbol
__imp_curl_slist_append referenced in function "private: bool __cdecl
twitCurl::performGet(class std::basic_string,class std::allocator > const &)"
(?performGet@twitCurl@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$alloca
tor@D@2@@std@@@Z)
1>twitcurl.obj : error LNK2019: unresolved external symbol
__imp_curl_easy_getinfo referenced in function "public: bool __cdecl
twitCurl::oAuthHandlePIN(class std::basic_string,class std::allocator > const &)"
(?oAuthHandlePIN@twitCurl@@QEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$al
locator@D@2@@std@@@Z)
1>C:\SkeletalBasicsVersions\SkeletonBasics-D2D\x64\Debug\SkeletonBasics-D2D.exe
: fatal error LNK1120: 7 unresolved externals

I am using Visual Studio 10 Professional. I really need help with this.
Thanks
```

Original issue reported on code.google.com by `bie...@student.breckschool.org` on 1 Aug 2012 at 4:23

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.