I am very new to this world of boost and I am trying to run some code that I found on the boost.org website.
I am using vs2005 EE and the latest boost_1_44
I have set the application properties correctly I guess:
C/C++ to point to boost/boost_1_44 folder
and Linker to point to boost/boost_1_44/lib folder
I don't get any compiling error:
1> c:\program files\microsoft visual studio 8\vc\include\xstring(1210)
: see reference to function template instantiation 'wchar_t *std::_Traits_helper::move
>(wchar_t *,size_t,const wchar_t *,size_t)' being compiled
1>Compiling manifest to resources...
1>Build log was saved at "file://c:\Documents and Settings\user1\My Documents\Visual Studio 2005\Projects\TheBoost\Deb
1>TheBoost - 0 error(s), 8 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
But when I run the program I get the following error message:
"The application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix the problem. For more details, please see the application event log"
What does this mean? Which configuration is incorrect, in this code or it is the compiler configuration or something...
The application I am running a simple one that should just display Hello, world on the screen after 5 seconds(I have attached the code).
Thanks for your help.
boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));
std::cout << "Hello, world!\n";