error when building
Closed this issue ยท 12 comments
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "struct Requests::request * __cdecl Requests::post(class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::map<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class std::allocator >,struct std::less<class std::basic_string<char,struct std::char_traits,class std::allocator > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits,class std::allocator > const ,class std::basic_string<char,struct std::char_traits,class std::allocator > > > > const &,class std::map<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class std::allocator >,struct std::less<class std::basic_string<char,struct std::char_traits,class std::allocator > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits,class std::allocator > const ,class std::basic_string<char,struct std::char_traits,class std::allocator > > > >,unsigned short)" (?post@Requests@@YAPEAUrequest@1@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@aebv?$map@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v12@U?$less@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v12@@std@@@2@@4@V54@G@Z) referenced in function "void __cdecl ImGui::ShowLoader(bool *)" (?ShowLoader@ImGui@@YAXPEA_N@Z) Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\imgui_loader.obj 1
Missing importing a lib request
in this topic teaches how to import the lib in the project https://stackoverflow.com/questions/1011339/how-do-you-make-a-http-request-with-c
Thank you, i will try it
Severity Code Description Project File Line Suppression State
Error C2018 unknown character '0x60' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 2
Error C2018 unknown character '0x3' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2018 unknown character '0x2' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C1004 unexpected end-of-file found Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2143 syntax error: missing ';' before '{' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2059 syntax error: '<' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 1
Error C2447 '{': missing function header (old-style formal list?) Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Now i have these errors
change de compiler config to x86
Severity Code Description Project File Line Suppression State
Error C2447 '{': missing function header (old-style formal list?) Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2059 syntax error: '<' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 1
Error C2143 syntax error: missing ';' before '{' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C1004 unexpected end-of-file found Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2018 unknown character '0x2' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2018 unknown character '0x3' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 3
Error C2018 unknown character '0x60' Loader C++ C:\Users\dieps\Desktop\Loader-imgui-login-ips4-master\loader_c++\Loader C++\requests.lib 2
Still the same error
there is something wrong with your request.lib, I suspect it's the version, try removing it completely from the project ๐
there is something wrong with your request.lib, I suspect it's the version, try removing it completely from the project ๐
Thanks for you helped i fixxed it now!