Boost logo

Boost-Build :

Subject: Re: [Boost-build] LNK1104: cannot open file 'libboost_regex-vc110-mt-gd-1_60.lib'
From: NAIR Anushree (Anushree_NAIR_at_[hidden])
Date: 2016-03-18 04:55:16


Hello John,

Thanks for your response. After this change my program runs fine :)
Now, when I try to build chat demo example available on socketio, I get the following error :
1>LINK : fatal error LNK1104: cannot open file 'boost.lib'

---------------------------------------------------------------
1>------ Build started: Project: SioChatDemo, Configuration: Debug Win32 ------
1> main.cpp
1>d:\git\socket.io-client-cpp\examples\console\main.cpp(87): warning C4244: '=' : conversion from 'int64_t' to 'int', possible loss of data
1>d:\git\socket.io-client-cpp\examples\console\main.cpp(98): warning C4244: '=' : conversion from 'int64_t' to 'int', possible loss of data
1>d:\git\socket.io-client-cpp\examples\console\main.cpp(131): warning C4244: '=' : conversion from 'int64_t' to 'int', possible loss of data
1> sio_socket.cpp
1>d:\git\socket.io-client-cpp\lib\websocketpp\websocketpp\common\platforms.hpp(43): warning C4005: '_VARIADIC_MAX' : macro redefinition
1> c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstddef(397) : see previous definition of '_VARIADIC_MAX'
1> sio_client.cpp
1>d:\git\socket.io-client-cpp\lib\websocketpp\websocketpp\common\platforms.hpp(43): warning C4005: '_VARIADIC_MAX' : macro redefinition
1> c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstddef(397) : see previous definition of '_VARIADIC_MAX'
1> sio_packet.cpp
1> sio_client_impl.cpp
1>d:\git\socket.io-client-cpp\lib\websocketpp\websocketpp\common\platforms.hpp(43): warning C4005: '_VARIADIC_MAX' : macro redefinition
1> c:\program files (x86)\microsoft visual studio 11.0\vc\include\xstddef(397) : see previous definition of '_VARIADIC_MAX'
1> Generating Code...
1>LINK : fatal error LNK1104: cannot open file 'boost.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
----------------------------------------------------------------------

-----Original Message-----
From: Boost-build [mailto:boost-build-bounces_at_[hidden]] On Behalf Of John Maddock
Sent: Friday, March 18, 2016 1:39 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] LNK1104: cannot open file 'libboost_regex-vc110-mt-gd-1_60.lib'

On 18/03/2016 07:15, NAIR Anushree wrote:
>
> Hello,
>
> I am trying to use the socketio demo chat that requires boost libraries.
>
> I have performed the steps mentioned in
> http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html
> #test-your-program
>
> I used the following command to build boost:
>
> /b2 toolset=msvc-11.0 --build-type=complete --abbreviate-paths
> architecture=x86 address-model=64 install -j4/
>
> Attached is the build log. It has some errors . Should I be worried
> about these errors?
>
> I am using 64bit windows 7
>
> After this when I build my example in Visual Studio 2012 it gives me
> error which indicates that boost didn't build well:
>
> 1>LINK : fatal error LNK1104: cannot open file
> 'libboost_regex-vc110-mt-gd-1_60.lib'
>

Have you added path-to-boost/stage/lib to your compilers search paths?
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk