VS 2008 Link1104 Error

Hello everyone, I've just built the boost libraries and I'm trying to get visual studio 2008 to properly recognize the libraries. The library that the linker is looking for is in C:\development\boost\build\boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\link-static\threading-multi\libboost_filesystem-vc90-mt-gd-1_38.lib Even though I've added C:\development\boost\build\boost\bin.v2\libs to the extra libraries vc++ global setting. Error Message: 1>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc90-mt-gd-1_38.lib' If I add C:\development\boost\build\boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\link-static\threading-multi to the project extra library setting though, the program compiles and links properly. On MSDN, http://msdn.microsoft.com/en-us/library/ts7eyw4s.aspx I've seen nothing that I think applies to me. So, what do I do?

AMDG Mantas Matelis wrote:
Hello everyone, I've just built the boost libraries and I'm trying to get visual studio 2008 to properly recognize the libraries. The library that the linker is looking for is in C:\development\boost\build\boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\link-static\threading-multi\libboost_filesystem-vc90-mt-gd-1_38.lib Even though I've added C:\development\boost\build\boost\bin.v2\libs to the extra libraries vc++ global setting.
Error Message: 1>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc90-mt-gd-1_38.lib'
If I add C:\development\boost\build\boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\link-static\threading-multi to the project extra library setting though, the program compiles and links properly. On MSDN, http://msdn.microsoft.com/en-us/library/ts7eyw4s.aspx I've seen nothing that I think applies to me. So, what do I do?
Use stage to copy all the libraries to a more accessible directory. bjam ... stage In Christ, Steven Watanabe

My current build command looks like this:
bjam.exe --build-dir="c:\development\boost\build"
--prefix="c:\development\boost\build" --build-type=complete toolset=msvc >
C:\development\boost\build_output.txt
So do I need to rebuild the whole thing now? and do I remove the build-dir
and prefix?
On Tue, Mar 3, 2009 at 9:01 PM, Steven Watanabe
AMDG
Mantas Matelis wrote:
Hello everyone, I've just built the boost libraries and I'm trying to get visual studio 2008 to properly recognize the libraries. The library that the linker is looking for is in
C:\development\boost\build\boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\link-static\threading-multi\libboost_filesystem-vc90-mt-gd-1_38.lib Even though I've added C:\development\boost\build\boost\bin.v2\libs to the extra libraries vc++ global setting. Error Message: 1>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc90-mt-gd-1_38.lib' If I add C:\development\boost\build\boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\link-static\threading-multi to the project extra library setting though, the program compiles and links properly. On MSDN, http://msdn.microsoft.com/en-us/library/ts7eyw4s.aspx I've seen nothing that I think applies to me. So, what do I do?
Use stage to copy all the libraries to a more accessible directory. bjam ... stage
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hi ! On Wednesday 04 March 2009 03:44:17 Mantas Matelis wrote:
My current build command looks like this: bjam.exe --build-dir="c:\development\boost\build" --prefix="c:\development\boost\build" --build-type=complete toolset=msvc > C:\development\boost\build_output.txt So do I need to rebuild the whole thing now? and do I remove the build-dir and prefix?
No, just add "stage" to your command line. This will just copy the already built libs to the "stage/lib" directory. To control this, use --stage-dir option. For further question, please read: http://www.boost.org/doc/libs/1_38_0/more/getting_started/index.html or for more information on Boost.Build: http://www.boost.org/doc/libs/1_38_0/tools/build/v2/index.html Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !

Thank you Juergen and Steven! My problem is now fixed.
On Wed, Mar 4, 2009 at 2:44 AM, Juergen Hunold
Hi !
On Wednesday 04 March 2009 03:44:17 Mantas Matelis wrote:
My current build command looks like this: bjam.exe --build-dir="c:\development\boost\build" --prefix="c:\development\boost\build" --build-type=complete toolset=msvc
C:\development\boost\build_output.txt So do I need to rebuild the whole thing now? and do I remove the build-dir and prefix?
No, just add "stage" to your command line. This will just copy the already built libs to the "stage/lib" directory. To control this, use --stage-dir option. For further question, please read:
http://www.boost.org/doc/libs/1_38_0/more/getting_started/index.html
or for more information on Boost.Build:
http://www.boost.org/doc/libs/1_38_0/tools/build/v2/index.html
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Juergen Hunold
-
Mantas Matelis
-
Steven Watanabe