Boost logo

Boost Users :

Subject: [Boost-users] Visual studio 2008 problem with linker or compiler (depending on release or debug version)...
From: Ozgur Ozturk (ozgur7_at_[hidden])
Date: 2009-06-16 19:17:12


Hi,
    I have installed boost libraries and headers using the installer from:
http://www.boostpro.com/download

Then in visual studio I create an empty c++ project and added the
chat_server.cpp and chat_message.hpp code from
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/examples.html
(I wish there was a code download link by the way, I struggled some because
of some characters introduced in copy paste)

Then I added
"C:\Program Files\boost\boost_1_38" to include directories
and "C:\Program Files\boost\boost_1_38\lib" to additional library
directories
(similar to description in the last two sections of this tutorial:
http://blog.emptycrate.com/node/421 , but without property sheets, only on
project properties.)

Now the errors.
If I try to build a release version
it says:
.\chat_server.cpp(17) : fatal error C1083: Cannot open include file:
'boost/bind.hpp': No such file or directory
but If I try to build a debug version
it says:
LINK : fatal error LNK1104: cannot open file
'libboost_system-vc90-mt-gd-1_38.lib'

I have a 'libboost_system-vc90-mt-*s*gd-1_38.lib' not
'libboost_system-vc90-mt-gd-1_38.lib' in my lib folder...

Thanks in advance,
Ozgur (Oscar) Ozturk
www.DrOzgur.com
+1 (614) 805-4370



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net