Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Link error: cannot open file 'libboost_filesystem-vc100-mt-sgd-1_47.lib'
Chronological Thread
- From: Richard Downe <>
- To: <>
- Subject: Re: [cgal-discuss] Link error: cannot open file 'libboost_filesystem-vc100-mt-sgd-1_47.lib'
- Date: Thu, 8 Sep 2011 11:12:07 -0500
It's a visual studio project settings issue: yours differ from the example's; the example correctly matches the subset of available boost builds that you have.
In the boost installation documentation it explains what all those suffix monikers mean, but they refer to the windows runtime against which you're linking. mt means multithreaded; s means static; g means debug build; d means all boost debug symbols are enabled as well. My guess is your boost installation has the -mt-gd version, but not the -mt-sgd version; ergo you must set it to link dynamically not statically against the windows runtime.
--rd
On 09/08/2011 08:47 AM, Jarrod wrote:
I'm wanting to get the code from the Stream_lines_2_example running within
another project. I'm using VS2010 express.
I can compile, link and run the Stream_lines_2_example fine. However when I
try and replicate the setup in my other project, I get the above linker
error.
'libboost_filesystem-vc100-mt-sgd-1_47.lib' is indeed missing from my
boost_1_47\lib directory, but the Stream_lines_2_example links just fine
without it, so why is it even asking for it?
Thanks for any help.
P.S. Is there a tutorial somewhere that indicates what CGAL libs are
required for each CGAL package?
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Link-error-cannot-open-file-libboost-filesystem-vc100-mt-sgd-1-47-lib-tp3798845p3798845.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Link error: cannot open file 'libboost_filesystem-vc100-mt-sgd-1_47.lib', Jarrod, 09/08/2011
- Re: [cgal-discuss] Link error: cannot open file 'libboost_filesystem-vc100-mt-sgd-1_47.lib', Richard Downe, 09/08/2011
Archive powered by MHonArc 2.6.16.