Boost logo

Boost Users :

Subject: Re: [Boost-users] Missing libboost_thread-vc100-mt-s-1_49.lib
From: VimalMathew_at_[hidden]
Date: 2012-07-24 09:13:02


Built it.
Still the same error.
Could it be that I'm not calling it correctly in the makefile?

This is what I have in my Makefile:
CXX=cl/EHsc
C=gcc
 
SYMPHONY_PATH=C:/SYMPHONY-5.4.4
BOOST_PATH=C:
MEXFLAG= -Wall -O3 -m32 -shared -DMATLAB_MEX_FILE -Wl,--export-all-symbols

MATLAB_LIBPATH= -L$(MATLABROOT)/bin/win32 -L$(MATLABROOT)/extern/lib/win32/microsoft
MATLAB_INCLPATH= -I$(MATLABROOT)/extern/include
MATLAB_LIBS= -lmex -lmx -lmwlapack -lmwblas -leng -ladvapi32 -luser32 -lgdi32 -lkernel32 -lmingwex

SYMPHONY_INCLPATH= -I$(SYMPHONY_PATH)/include/coin -I$(SYMPHONY_PATH)/SYMPHONY/include/coin
SYMPHONY_LIBPATH= -L$(SYMPHONY_PATH)/SYMPHONY/lib -L$(SYMPHONY_PATH)/lib
SYMPHONY_LIBS= -lOsiSym -lSym -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -lm

BOOST_INCLPATH= -I$(BOOST_PATH)/boost_1_49_0/boost/numeric/ublas
BOOST_LIBPATH= -L$(BOOST_PATH)/boost_1_49_0/stage/lib

all: win_multithread
        
win_multithread:
        $(CXX) -DBOOST_THREAD_USE_LIB -static -O3 -Ic:/boost_1_49_0 $(SYMPHONY_INCLPATH) -L"c:\boost_1_49_0\stage\lib" mex_all_paths_multithread_nograph.cpp -o win32_all_paths_multithread_nograph.exe $(SYMPHONY_LIBPATH) $(SYMPHONY_LIBS) -lboost_thread-mgw45-mt-1_49 -lboost_thread-mgw45-mt-1_49 $(BOOST_INCLPATH) $(BOOST_LIBPATH)
        @rm -f *.o*

--
Vimal
-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Lars Viklund
Sent: Tuesday, July 24, 2012 8:53 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Missing libboost_thread-vc100-mt-s-1_49.lib
On Tue, Jul 24, 2012 at 12:44:05PM +0000, VimalMathew_at_[hidden] wrote:
> Anybody?
> 
> --
> Vimal
> 
> -----Original Message-----
> From: Mathew, Vimal 
> Sent: Friday, July 20, 2012 2:32 PM
> To: boost-users_at_[hidden]
> Subject: Missing libboost_thread-vc100-mt-s-1_49.lib 
> 
> Hi,
> I'm trying to build a project using nmake. When I run nmake I get this error message: " LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc100-mt-s-1_49.lib "
> 
> Could someone tell me what I'm missing please?
You're missing the library for Boost.Thread, built like:
  b2 ^
    toolset=msvc-10.0 ^
    runtime-link=static ^
    link=static ^
    variant=release ^
    threading=multi ^
    --with-thread
The naming scheme is explained over at:
http://www.boost.org/doc/libs/1_50_0/more/getting_started/windows.html#library-naming
-- 
Lars Viklund | zao_at_[hidden]
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

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