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:32:12


I tried that.
I get this huge bunch of LNK2019 unresolved external symbol errors. This is one:
mex_all_paths_multithread_nograph.obj : error LNK2019: unresolved external symbol "int __cdecl sym_close_environment(struct SYM_ENVIRONMENT *)" (?sym_close_environment@@YAHPAUSYM_ENVIRONMENT@@@Z) referenced in function "int __cdecl runSYMPHONY_bjm(double *,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int,int>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > *,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int,int>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int,int>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int,int>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int,int>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int,int>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,int)" (?runSYMPHONY_bjm@@YAHPANPAV?$matrix_at_NU?$basic_row_major_at_IH@ublas_at_numeric@boost@@V?$unbounded_array_at_NV?$allocator_at_N@std@@@234@@ublas_at_numeric@boost@@V1234_at_2222H@Z)

Do you know why this is happening?

--
Vimal
-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Pekka Seppänen
Sent: Tuesday, July 24, 2012 9:28 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Missing libboost_thread-vc100-mt-s-1_49.lib
On 24.7.2012 16:13, VimalMathew_at_[hidden] wrote:
> Built it.
> Still the same error.
> Could it be that I'm not calling it correctly in the makefile?
> 
Well, you're trying to use CL like you'd be using GCC. Don't do that as they do not share the same command line syntax (e.g. -L is /LIBPATH: and so on).
Unless you really want, I'd suggest that you simply make a new VC project instead of playing with Makefiles. That's a lot easier with MSVC.
-- Pekka
_______________________________________________
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