You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I wanted to try the first tutorial https://github.com/Microsoft/cpprestsdk/wiki/Getting-Started-Tutorial so I installed the package with nuGet as explained there. I'm using VS 2012 and I was told to install v110 and I did.
I had some problems but I read in #29 that it was important to enable powershell scripts execution therefore I used the command: set-executionpolicy remotesigned
and I started from the beginning with a new project. I installed the package on a blank VS project containing only this .cpp:
Installing seems to success, this is my log (in Italian, sorry):
------- Installazione in corso...cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn 2.5.0 -------
Installazione di 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn 2.5.0'.
File 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.targets' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native'.
File 'astreambuf.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'asyncrt_utils.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'base_uri.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'containerstream.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'basic_types.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'cpprest_compat.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'fileio.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_client_impl.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_constants.dat' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_helpers.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_server.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_server_api.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_server_asio.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'http_server_httpsys.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'ioscheduler.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'nosal.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'SafeInt3.hpp' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'uri_parser.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'web_utilities.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'x509_cert_utilities.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest\details'.
File 'filestream.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'http_client.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'http_headers.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'http_listener.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'http_msg.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'interopstream.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'json.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'oauth1.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'oauth2.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'producerconsumerstream.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'rawptrstream.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'streams.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'uri.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'uri_builder.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'version.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'ws_client.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'ws_msg.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\cpprest'.
File 'pplx.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'pplxcancellation_token.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'pplxconv.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'pplxinterface.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'pplxlinux.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'pplxtasks.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'pplxwin.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'threadpool.h' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include\pplx'.
File 'cpprest110d_xp_2_5.dll' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Debug'.
File 'cpprest110d_xp_2_5.lib' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Debug'.
File 'cpprest110d_xp_2_5.pdb' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Debug'.
File 'cpprest110_xp_2_5.dll' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Release'.
File 'cpprest110_xp_2_5.lib' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Release'.
File 'cpprest110_xp_2_5.pdb' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Release'.
File 'cpprest110d_xp_2_5.dll' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\x64\Debug'.
File 'cpprest110d_xp_2_5.lib' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\x64\Debug'.
File 'cpprest110d_xp_2_5.pdb' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\x64\Debug'.
File 'cpprest110_xp_2_5.dll' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\x64\Release'.
File 'cpprest110_xp_2_5.lib' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\x64\Release'.
File 'cpprest110_xp_2_5.pdb' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\lib\native\v110\winxp\msvcstl\dyn\rt-dyn\x64\Release'.
File 'ThirdPartyNotices.txt' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\license'.
File 'cpprest.natvis' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\tools'.
File 'init.ps1' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\tools'.
File 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0.nupkg' aggiunto alla cartella 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0'.
Installazione di 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn 2.5.0' completata.
Executing script file 'c:\users\lucia\documents\visual studio 2012\Projects\LabM03\packages\cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\tools\init.ps1'.
Aggiunta di 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn 2.5.0' a LabM03.
Per l'aggiunta del pacchetto 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn 2.5.0' al progetto 'LabM03' destinato a 'Native',
>> Aggiunta di Riferimenti ad assembly da 'lib\native\v110\winxp\msvcstl\dyn\rt-dyn\Win32\Debug'
>> Aggiunta di File di compilazione da 'build\native'
File 'packages.config' aggiunto.
Added file 'packages.config' to project 'LabM03'
Aggiunta di 'cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn 2.5.0' a LabM03 completata.
==============================
First, the package isn't automatically added to the project include path (I think it should, right?) therefore I get errors about missing files.
I tried adding manually the following path:
C:\Users\Lucia\Documents\Visual Studio 2012\Projects\LabM03\packages\cpprestsdk.v110.winxp.msvcstl.dyn.rt-dyn.2.5.0\build\native\include;%(AdditionalIncludeDirectories)
After this the compiler is able to find the files but then I get a lot of linking errors:
1>------ Inizio compilazione: Progetto: LabM03, Configurazione: Debug Win32 ------
1> Origine.cpp
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) long __cdecl pplx::details::platform::GetCurrentThreadId(void)" (__imp_?GetCurrentThreadId@platform@details@pplx@@YAJXZ) non risolto nella funzione "public: void __thiscall pplx::details::_CancellationTokenState::_DeregisterCallback(class pplx::details::_CancellationTokenRegistration *)" (?_DeregisterCallback@_CancellationTokenState@details@pplx@@QAEXPAV_CancellationTokenRegistration@23@@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) unsigned int __cdecl pplx::details::platform::CaptureCallstack(void * *,unsigned int,unsigned int)" (__imp_?CaptureCallstack@platform@details@pplx@@YAIPAPAXII@Z) non risolto nella funzione "public: static class pplx::details::_TaskCreationCallstack __cdecl pplx::details::_TaskCreationCallstack::_CaptureMultiFramesCallstack(unsigned int)" (?_CaptureMultiFramesCallstack@_TaskCreationCallstack@details@pplx@@SA?AV123@I@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: __thiscall pplx::details::event_impl::event_impl(void)" (__imp_??0event_impl@details@pplx@@QAE@XZ) non risolto nella funzione "public: __thiscall pplx::details::_TaskCollectionImpl::_TaskCollectionImpl(struct pplx::scheduler_ptr)" (??0_TaskCollectionImpl@details@pplx@@QAE@Uscheduler_ptr@2@@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: __thiscall pplx::details::event_impl::~event_impl(void)" (__imp_??1event_impl@details@pplx@@QAE@XZ) non risolto nella funzione "public: __thiscall pplx::details::_TaskCollectionImpl::~_TaskCollectionImpl(void)" (??1_TaskCollectionImpl@details@pplx@@QAE@XZ)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: void __thiscall pplx::details::event_impl::set(void)" (__imp_?set@event_impl@details@pplx@@QAEXXZ) non risolto nella funzione "public: void __thiscall pplx::details::_CancellationTokenState::_Cancel(void)" (?_Cancel@_CancellationTokenState@details@pplx@@QAEXXZ)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: unsigned int __thiscall pplx::details::event_impl::wait(unsigned int)" (__imp_?wait@event_impl@details@pplx@@QAEII@Z) non risolto nella funzione "public: void __thiscall pplx::details::_CancellationTokenState::_DeregisterCallback(class pplx::details::_CancellationTokenRegistration *)" (?_DeregisterCallback@_CancellationTokenState@details@pplx@@QAEXPAV_CancellationTokenRegistration@23@@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: __thiscall pplx::details::critical_section_impl::critical_section_impl(void)" (__imp_??0critical_section_impl@details@pplx@@QAE@XZ) non risolto nella funzione "public: __thiscall pplx::details::_Task_completion_event_impl<unsigned char>::_Task_completion_event_impl<unsigned char>(void)" (??0?$_Task_completion_event_impl@E@details@pplx@@QAE@XZ)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: __thiscall pplx::details::critical_section_impl::~critical_section_impl(void)" (__imp_??1critical_section_impl@details@pplx@@QAE@XZ) non risolto nella funzione __unwindfunclet$??0_Task_impl_base@details@pplx@@QAE@PAV_CancellationTokenState@12@Uscheduler_ptr@2@@Z$2
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: void __thiscall pplx::details::critical_section_impl::lock(void)" (__imp_?lock@critical_section_impl@details@pplx@@QAEXXZ) non risolto nella funzione "public: __thiscall pplx::scoped_lock<class pplx::details::critical_section_impl>::scoped_lock<class pplx::details::critical_section_impl>(class pplx::details::critical_section_impl &)" (??0?$scoped_lock@Vcritical_section_impl@details@pplx@@@pplx@@QAE@AAVcritical_section_impl@details@1@@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: void __thiscall pplx::details::critical_section_impl::unlock(void)" (__imp_?unlock@critical_section_impl@details@pplx@@QAEXXZ) non risolto nella funzione "public: __thiscall pplx::scoped_lock<class pplx::details::critical_section_impl>::~scoped_lock<class pplx::details::critical_section_impl>(void)" (??1?$scoped_lock@Vcritical_section_impl@details@pplx@@@pplx@@QAE@XZ)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) class std::shared_ptr<struct pplx::scheduler_interface> __cdecl pplx::get_ambient_scheduler(void)" (__imp_?get_ambient_scheduler@pplx@@YA?AV?$shared_ptr@Uscheduler_interface@pplx@@@std@@XZ) non risolto nella funzione "public: __thiscall pplx::task_options::task_options(void)" (??0task_options@pplx@@QAE@XZ)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall web::http::details::http_msg_base::extract_utf8string(bool)" (__imp_?extract_utf8string@http_msg_base@details@http@web@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) non risolto nella funzione "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall <lambda_9830466072482952e1efd4edb750d985>::operator()(unsigned __int64)const " (??R<lambda_9830466072482952e1efd4edb750d985>@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall web::http::details::http_msg_base::extract_utf16string(bool)" (__imp_?extract_utf16string@http_msg_base@details@http@web@@QAE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@_N@Z) non risolto nella funzione "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall <lambda_01073d9b81a9d77a86b050f339e36499>::operator()(unsigned __int64)const " (??R<lambda_01073d9b81a9d77a86b050f339e36499>@@QBE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@_K@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall web::http::details::http_msg_base::extract_string(bool)" (__imp_?extract_string@http_msg_base@details@http@web@@QAE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@_N@Z) non risolto nella funzione "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall <lambda_ca3668cecc56cc995d6368dfea9faa3f>::operator()(unsigned __int64)const " (??R<lambda_ca3668cecc56cc995d6368dfea9faa3f>@@QBE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@_K@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: class web::json::value __thiscall web::http::details::http_msg_base::_extract_json(bool)" (__imp_?_extract_json@http_msg_base@details@http@web@@QAE?AVvalue@json@4@_N@Z) non risolto nella funzione "public: class web::json::value __thiscall <lambda_1818b2a2e354d493f26fd4a5c9738572>::operator()(unsigned __int64)const " (??R<lambda_1818b2a2e354d493f26fd4a5c9738572>@@QBE?AVvalue@json@web@@_K@Z)
1>Origine.obj : error LNK2019: riferimento al simbolo esterno "__declspec(dllimport) public: class std::vector<unsigned char,class std::allocator<unsigned char> > __thiscall web::http::details::http_msg_base::_extract_vector(void)" (__imp_?_extract_vector@http_msg_base@details@http@web@@QAE?AV?$vector@EV?$allocator@E@std@@@std@@XZ) non risolto nella funzione "public: class std::vector<unsigned char,class std::allocator<unsigned char> > __thiscall <lambda_00ed86cdac034866ba49755ee920b3f0>::operator()(unsigned __int64)const " (??R<lambda_00ed86cdac034866ba49755ee920b3f0>@@QBE?AV?$vector@EV?$allocator@E@std@@@std@@_K@Z)
1>c:\users\lucia\documents\visual studio 2012\Projects\LabM03\Debug\LabM03.exe : fatal error LNK1120: 16 esterni non risolti
========== Compilazione: 0 completate, 1 non riuscite, 0 aggiornate, 0 ignorate ==========
Does anyone have any idea on how to solve this?
The text was updated successfully, but these errors were encountered:
The immediate solution to the linker errors is to add the correct .lib file to your Additional Linker Inputs. You'll also need to explicitly copy the .dll file to your output directory so your executable will run correctly.
However, all of these steps should be performed automatically for you by the NuGet package. This may be a bug in the v110 packages that have long since been fixed (we dropped support for VS 2012 many months ago). Also, ensure that your configurations are called "Release" and "Debug".
Hi!
I wanted to try the first tutorial https://github.com/Microsoft/cpprestsdk/wiki/Getting-Started-Tutorial so I installed the package with nuGet as explained there. I'm using VS 2012 and I was told to install v110 and I did.
I had some problems but I read in #29 that it was important to enable powershell scripts execution therefore I used the command:
set-executionpolicy remotesigned
and I started from the beginning with a new project. I installed the package on a blank VS project containing only this .cpp:
Installing seems to success, this is my log (in Italian, sorry):
First, the package isn't automatically added to the project include path (I think it should, right?) therefore I get errors about missing files.
I tried adding manually the following path:
After this the compiler is able to find the files but then I get a lot of linking errors:
Does anyone have any idea on how to solve this?
The text was updated successfully, but these errors were encountered: