Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new user issue (Tutorial problems) #29

Closed
harold50 opened this issue Dec 9, 2015 · 3 comments
Closed

new user issue (Tutorial problems) #29

harold50 opened this issue Dec 9, 2015 · 3 comments
Labels

Comments

@harold50
Copy link

harold50 commented Dec 9, 2015

Tutorial URL:
https://github.com/Microsoft/cpprestsdk/wiki/How-to-use-the-C---Rest-SDK-NuGet-package

I'm not sure where else to post this where a new cpprest user might see it. Until recently, I was avoiding upgrading my very very old Visual C++ 6.0 running on XP which still served my needs ... Github and NuGet and Azure are all new to me. I tried both 2013 and 2015 VS express for desktop with essentially similar problems and am posting my "solution" here for any who may be also failing to get the cpprestsdk tutorial to work.

The "problem" I suppose would have never been so frustrating if the default IDE settings for Visual Studio did not have such a short output window at the bottom of the screen. Essentially, the NuGet script output said that the cpprest package had been installed successfully and I moved on to the next tutorial step and faced a myriad of problems. I guess I should have scrolled up or expanded the output window to read all of the output, but when a script says success or "0 errors" at the end, I am predisposed to move on. At any rate, regardless of the script's success output, there was an error in the NuGet script output that had well scrolled out of the output window before the script claimed success. The error essentially said that running scripts was disabled on my computer (which was essentially a new VM so everything is default, including the Visual Studio installations).

At this point, Googling led to a solution (where Googling the various errors I was getting compile-time and link-time trying the tutorial was wasted time). All documentation I've read so far on various MS and MS-related sites says things like "The package also contains a dependency on C++ REST SDK, which will also be automatically installed by NuGet." ... nothing could I find anywhere explained that default installations essentially make NuGet inoperable, and of course it doesn't help when a script says success even though there were errors in the above wall of text preceding the final line.

Here is a link to what resolved the issue:
http://superuser.com/questions/106360/how-to-enable-execution-of-powershell-scripts

Also of note, I had to exit and restart Visual Studio before the policy change took effect.

If there is any info even remotely similar to this in the cpprest documentation or the tutorial or elsewhere on this or a related site, I simply could not find it.

Hope this helps someone.

@grahamreeds
Copy link

Harold, whenever I create a new VM I perform the following steps:

  • Turn on remote access so I can run across multiple monitors.
  • Turn off UAC as this VM has no access to the outside world.
  • Make all development links (Vis Studio, et al) run as administrator.

I actually have a base image with the first two set up (sometime I want to
run something with out DevEnv installed).

GR

Sent from my Nexus 5.
On 9 Dec 2015 1:08 a.m., "harold50" notifications@github.com wrote:

Tutorial URL:

https://github.com/Microsoft/cpprestsdk/wiki/How-to-use-the-C---Rest-SDK-NuGet-package

I'm not sure where else to post this where a new cpprest user might see
it. Until recently, I was avoiding upgrading my very very old Visual C++
6.0 running on XP which still served my needs ... Github and NuGet and
Azure are all new to me. I tried both 2013 and 2015 VS express for desktop
with essentially similar problems and am posting my "solution" here for any
who may be also failing to get the cpprestsdk tutorial to work.

The "problem" I suppose would have never been so frustrating if the
default IDE settings for Visual Studio did not have such a short output
window at the bottom of the screen. Essentially, the NuGet script output
said that the cpprest package had been installed successfully and I moved
on to the next tutorial step and faced a myriad of problems. I guess I
should have scrolled up or expanded the output window to read all of the
output, but when a script says success or "0 errors" at the end, I am
predisposed to move on. At any rate, regardless of the script's success
output, there was an error in the NuGet script output that had well
scrolled out of the output window before the script claimed success.
The error essentially said that running scripts was disabled on my computer
(which was essentially a new VM so everything is default, including the
Visual Studio installations).

At this point, Googling led to a solution (where Googling the various
errors I was getting compile-time and link-time trying the tutorial was
wasted time). All documentation I've read so far on various MS and
MS-related sites says things like "The package also contains a dependency
on C++ REST SDK, which will also be automatically installed by NuGet." ...
nothing could I find anywhere explained that default installations
essentially make NuGet inoperable, and of course it doesn't help when a
script says success even though there were errors in the above wall of
text preceding the final line.

Here is a link to what resolved the issue:

http://superuser.com/questions/106360/how-to-enable-execution-of-powershell-scripts

Also of note, I had to exit and restart Visual Studio before the policy
change took effect.

If there is any info even remotely similar to this in the cpprest
documentation or the tutorial or elsewhere on this or a related site, I
simply could not find it.

Hope this helps someone.


Reply to this email directly or view it on GitHub
#29.

@ras0219-msft
Copy link
Contributor

Thanks for the documentation, hope someone else finds this useful.

@witlingw
Copy link

witlingw commented Jun 1, 2016

Hi! I think I have a similar problem but I still cannot solve it:

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 already enabled powershell scripts execution as explained in @harold50's link.

I installed it on a blank VS project containing only this .cpp:

#include <cpprest/http_client.h>
#include <cpprest/filestream.h>

int main(int argc, char* argv[]) {
    return 0;
}

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 it manually:

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants