
Hi: When trying to build a probram with the boost.filesystem library, I get an lnk1104 using visual studio 8 (2005). The boost include and lib paths c:\program files\boost and c:\program files\boost\bin.v2 are in the default vc include and library paths respectively, the archive bit is set--this shouldn't make a difference as far as I know! Any one know why this error is ocuring? Cheers Sean.

Hi: Yes, I've just done that, still no luck! Any oher ideas? Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Remko Tronçon Sent: 27 January 2009 11:20 To: boost-users@lists.boost.org Subject: Re: [Boost-users] error linking the boost.filesystem library
Any one know why this error is ocuring?
Are you linking your application against the boost library? Setting the paths for VC to find the library is one thing, but you have to actually link to the library as well. cheers, Remko _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Hi: The error is: LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_38.lib' Cheers Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Remko Tronçon Sent: 27 January 2009 11:56 To: boost-users@lists.boost.org Subject: Re: [Boost-users] error linking the boost.filesystem library
Yes, I've just done that, still no luck! Any oher ideas?
Posting the actual error message would probably help. cheers, Remko _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

The error is:
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_38.lib'
You need to ensure that: * this file actually exists (did you build Boost with the --build-type=complete option?) * that the directory containing it is in the linkers library search path. HTH, John.

Hi: I built with the --build-type =complete option and the file is in the linkderssearch path, both in aditional paths in th project option and visual c++ defaul directories in the tool/options dialogue. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: 27 January 2009 12:31 To: boost-users@lists.boost.org Subject: Re: [Boost-users] error linking the boost.filesystem library
The error is:
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_38.lib'
You need to ensure that: * this file actually exists (did you build Boost with the --build-type=complete option?) * that the directory containing it is in the linkers library search path. HTH, John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

I built with the --build-type =complete option and the file is in the linkderssearch path, both in aditional paths in th project option and visual c++ defaul directories in the tool/options dialogue.
Sorry to be pedantic, but... that error message means either the directory containing the file is *not* in the linker search path, or that the file does not exist. In other words, double check everything again :-( Sorry, and hope this helps, John.

Hi John: I have checked the directories: in the library path: C;\program files\boost\bin.v2\libs In the includes: C:\program files\boost The file I am linking with is: libboost_filesystem-vc80-mt-gd-1_38.lib Seems stringe. Do I need to add anything to the source path? Cheers Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: 27 January 2009 12:31 To: boost-users@lists.boost.org Subject: Re: [Boost-users] error linking the boost.filesystem library
The error is:
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_38.lib'
You need to ensure that: * this file actually exists (did you build Boost with the --build-type=complete option?) * that the directory containing it is in the linkers library search path. HTH, John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3803 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3804 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3804 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Sean Farrow wrote:
Hi John: I have checked the directories: in the library path: C;\program files\boost\bin.v2\libs In the includes: C:\program files\boost The file I am linking with is: libboost_filesystem-vc80-mt-gd-1_38.lib Seems stringe. Do I need to add anything to the source path?
And is there a file named libboost_filesystem-vc80-mt-gd-1_38.lib in directory named C;\program files\boost\bin.v2\libs -- assuming ";" in the directory name is a typo introduce while composing email [*]. As Steven mentioned, the directory is not supposed to directly contain libraries. - Volodya [*] It is in best to use copy-paste when preparing bug reports, so eliminate typos as additional source of confusion

Hi: I am now able to link header-only libraryes, by adding the path: C: program files\boost To my include path in vusual studio 2005. I still carn't link libraries in: I've added: C: program files\boost\bin.v2\libs To my library path, What an earth is wrong, libraries are in sub directories of this directory, any helpapreciated. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: 27 January 2009 12:31 To: boost-users@lists.boost.org Subject: Re: [Boost-users] error linking the boost.filesystem library
The error is:
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc80-mt-gd-1_38.lib'
You need to ensure that: * this file actually exists (did you build Boost with the --build-type=complete option?) * that the directory containing it is in the linkers library search path. HTH, John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3802 (20090126) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3803 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3804 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3816 (20090201) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3816 (20090201) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

I am now able to link header-only libraryes, by adding the path: C: program files\boost To my include path in vusual studio 2005. I still carn't link libraries in: I've added: C: program files\boost\bin.v2\libs To my library path, What an earth is wrong, libraries are in sub directories of this directory, any helpapreciated.
That's not how it works, assuming you did a: bjam --build-type=complete stage to build, then the libraries are collected together in boost-root/stage/lib, and it's that directory that you need to add to your library search path. HTH, John.

AMDG Sean Farrow wrote:
When trying to build a probram with the boost.filesystem library, I get an lnk1104 using visual studio 8 (2005). The boost include and lib paths c:\program files\boost and c:\program files\boost\bin.v2 are in the default vc include and library paths respectively, the archive bit is set--this shouldn't make a difference as far as I know! Any one know why this error is ocuring?
The libraries are not in $BOOST_ROOT/bin.v2 (Well not directly, they are in some deeply nested subdirectory). If you used stage, then by default the libraries are in $BOOST_ROOT/stage/lib In Christ, Steven Watanabe
participants (5)
-
John Maddock
-
Remko Tronçon
-
Sean Farrow
-
Steven Watanabe
-
Vladimir Prus