On 18/05/2016 07:08, Adolfo wrote:
Hi everyone,
I am quite newbie on this and perhaps this is quite simple, sorry for the trouble.
I am using VSC++ 2012, I have the boost version boost_1_60_0 and I have built it following the description in http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html. No problem with batch files (bootstrap and b2).
When I try to test the example code from section 6, I have the following linking error:
Error 1 error LNK1104: no se puede abrir el archivo 'libboost_regex-vc110-mt-gd-1_60.lib'
I have realised that in my ...\boost_1_60_0\stage\lib directory, all the .lib files have names like libboost_*-vc140-*-1_60.lib.
Can anybody be so kind of telling me what I did wrong or where I have to change this??
You have built boost for VC14, but are trying to link from VC11, when you build with bjam try: bjam toolset=msvc-11.0 --build-type=complete If you just want regex then add "--with-regex" to the command line, and if you want to speed things up with a parallel build then add -jN where N is the number of processes to use (recommended). HTH, John.