|
Boost Users : |
Subject: Re: [Boost-users] large variant performance compared (50 elements)
From: Peter Foelsche (foelsche_at_[hidden])
Date: 2011-01-09 20:12:59
"Steven Watanabe" <watanabesj_at_[hidden]> wrote in message
news:4D289EAB.6000403_at_providere-consulting.com...
> The tool I wrote is available through Subversion
> http://svn.boost.org/svn/boost/sandbox/tools/profile_templates
basic question:
How do I compile this?
Here are my attempts:
I compiled boost before:
=======
C:\Users\Peter\Sources\boost_1_45_0>.\bjam.exe msvc architecture=x86
address-model=64 install --prefix=C:\users\peter
=======
Using bjam.exe:
================
C:\Users\Peter\Sources\profile_templates>..\boost_1_45_0\bjam.exe
...found 1 target...
================
Using cl.exe on the commandline:
================
C:\Users\Peter\Sources\profile_templates\src>cl postprocess.cpp /Zi /EHa
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
postprocess.cpp
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
/out:postprocess.exe
/debug
postprocess.obj
LINK : fatal error LNK1104: cannot open file
'libboost_regex-vc100-mt-s-1_45.lib
'
C:\Users\Peter\Sources\profile_templates\src>cl postprocess.cpp /Zi /EHa
C:\Users\Peter\Sources\profile_templates\src>cl filter.cpp /Ox /EHa
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
filter.cpp
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
/out:filter.exe
filter.obj
C:\Users\Peter\Sources\profile_templates\src>cl postprocess.cpp /Ox /EHa
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
postprocess.cpp
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
/out:postprocess.exe
postprocess.obj
LINK : fatal error LNK1104: cannot open file
'libboost_regex-vc100-mt-s-1_45.lib'
C:\Users\Peter\Sources\profile_templates\src>set include
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\INCLUDE;C:\Progra
m Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE;C:\Program
Files (x
86)\Microsoft SDKs\Windows\v7.0A\include;c:\Users\Peter\include\boost-1_45
C:\Users\Peter\Sources\profile_templates\src>dir
\Users\Peter\lib\libboost_regex*.lib /s /b
C:\Users\Peter\lib\libboost_regex-vc100-mt-1_45.lib
C:\Users\Peter\lib\libboost_regex-vc100-mt-gd-1_45.lib
C:\Users\Peter\lib\libboost_regex-vc100-mt-gd.lib
C:\Users\Peter\lib\libboost_regex-vc100-mt.lib
C:\Users\Peter\Sources\profile_templates\src>
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