<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">

<STYLE><!--         /* Style Definitions */         p.5c525138-a5d0-41ab-8e7e-df5f44495cdd, li.5c525138-a5d0-41ab-8e7e-df5f44495cdd, div.5c525138-a5d0-41ab-8e7e-df5f44495cdd, table.5c525138-a5d0-41ab-8e7e-df5f44495cddTable         {margin:0cm;    margin-bottom:.0001pt;}        div.Section1        {page:Section1;}        --></STYLE>
<meta content="text/html; charset=utf-8" http-equiv=Content-Type><meta content="Microsoft Word 12 (filtered medium)" name=Generator><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin-top:12.0pt;
        margin-right:24.45pt;
        margin-bottom:0cm;
        margin-left:24.45pt;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
p.first, li.first, div.first
        {mso-style-name:first;
        margin-top:0cm;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.pre
        {mso-style-name:pre;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:367729532;
        mso-list-template-ids:228502324;}
@list l0:level1
        {mso-level-start-at:4;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><BODY>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #5ead40"><FONT COLOR="#000000"><div class=WordSection1><p class=MsoNormal>Hi, All<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m not sure if am asking in the right place, but since this is Python related, I’d like to try it out.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My setup is Windows7 64-bit, Python 2.7 64bit, Boost 1.54, Visual Studio 2012 Express Version 64bit.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am a beginner of Python, and am trying to bridge Python and C++. Thus I download the Boost library.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I followed the instruction here: <a href="http://www.boost.org/doc/libs/1_54_0/more/getting_started/windows.html">http://www.boost.org/doc/libs/1_54_0/more/getting_started/windows.html</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And successfully installed the Basic Boost. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Then I found that Boost.Python requires a separately installation, according to another instruction here:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="http://www.boost.org/doc/libs/1_54_0/libs/python/doc/building.html">http://www.boost.org/doc/libs/1_54_0/libs/python/doc/building.html</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am stuck at step 3.1.4 where the instruction says to run a example:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=first style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN style='font-family:"Arial","sans-serif"'><span style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><span lang=EN style='font-family:"Arial","sans-serif"'>Invoke </span><span class=pre><span lang=EN style='font-family:"Courier New"'>bjam</span></span><span lang=EN style='font-family:"Arial","sans-serif"'>. Replace the “</span><span class=pre><span lang=EN style='font-family:"Courier New"'>stage</span></span><span lang=EN style='font-family:"Arial","sans-serif"'>“ argument from the example invocation from section 5 of the <a href="http://www.boost.org/doc/libs/1_54_0/more/getting_started/index.html">Getting Started Guide</a> with “</span><span class=pre><span lang=EN style='font-family:"Courier New"'>test</span></span><span lang=EN style='font-family:"Arial","sans-serif"'>,“ to build all the test targets. Also add the argument “</span><span class=pre><span lang=EN style='font-family:"Courier New"'>--verbose-test</span></span><span lang=EN style='font-family:"Arial","sans-serif"'>” to see the output generated by the tests when they are run.<o:p></o:p></span></p><p style='margin-left:36.0pt'><span lang=EN style='font-family:"Arial","sans-serif"'>On Windows, your </span><span class=pre><span lang=EN style='font-family:"Courier New"'>bjam</span></span><span lang=EN style='font-family:"Arial","sans-serif"'> invocation might look something like:<o:p></o:p></span></p><pre style='mso-margin-top-alt:12.0pt;margin-right:48.45pt;margin-bottom:0cm;margin-left:84.45pt;margin-bottom:.0001pt'><span lang=EN>C:\boost_1_34_0\…\quickstart> <strong><span style='font-family:"Courier New"'>bjam toolset=msvc --verbose-test test<o:p></o:p></span></strong></span></pre><pre style='mso-margin-top-alt:12.0pt;margin-right:48.45pt;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt'><span lang=EN><o:p> </o:p></span></pre><p class=MsoNormal>When I input the command line above, I have 135 unresolved external errors! One of them is like follows:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>exec.obj : error LNK2019: unresolved external symbol __imp__PyEval_GetGlobals referenced in function <o:p></o:p></p><p class=MsoNormal>"class boost::python::api::object __cdecl boost::python::eval(class boost::python::str,class boost::python::api::object,<o:p></o:p></p><p class=MsoNormal>class boost::python::api::object)"(?eval@python@boost@@YA?AVobject@api@12@Vstr@12@V3412@1@Z)<o:p></o:p></p><p class=MsoNormal>..\..\..\..\bin.v2\libs\python\build\msvc-11.0\debug\boost_python-vc110-gd-1_54.dll <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I know this is more C++, however, I guess someone in this mailing list may have experienced with Boost.Python. My apologies if this mail bothers you.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Can anyone help me to work around this?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards<o:p></o:p></p><p class=MsoNormal>Long<span lang=EN><o:p></o:p></span></p></div></FONT></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #5ead40"></SPAN> </P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #5ead40"></SPAN><B><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #5ead40"><FONT FACE="Calibri">Wenlong Wang</FONT></SPAN></B></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><B><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #5ead40"></SPAN></B><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><FONT FACE="Calibri">Risk Analyst, Capquest Group Ltd</FONT></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"></SPAN><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><FONT FACE="Calibri">  <SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><FONT FACE="Calibri"></FONT></SPAN></FONT></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><FONT FACE="Calibri">Email: wwang@capquest.co.uk</FONT></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"></SPAN><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><FONT FACE="Calibri">Fleet 27, Rye Close, Fleet, GU51 2QQ.</FONT></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"></SPAN><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><FONT FACE="Calibri">Website: </FONT><A HREF="http://www.capquest.co.uk/"><FONT FACE="Calibri">www.capquest.co.uk</FONT></A></SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"></SPAN> </P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 12pt; COLOR: #999999"><SPAN STYLE="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"></SPAN><FONT COLOR="#000000" FACE="Calibri" SIZE="1">This e-mail is intended solely for the addressee, is strictly confidential and may also be legally privileged. If you are not the addressee please do not read, print, re-transmit, store or act in reliance on it or any attachments. Instead, please email it back to the sender and then immediately permanently delete it. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so. Opinions, conclusions and other information in this e-mail and any attachments are solely those of the author and do not represent those of Capquest Group Limited or any of its subsidiaries unless otherwise stated. Capquest Group Limited (registered number 4936030), Capquest Debt Recovery Limited (registered number 3772278), Capquest Investments Limited (registered number 5245825), Capquest Asset Management Limited (registered number 5245829) and Capquest Mortgage Servicing Limited (registered number 05821008) are all limited companies registered in England and Wales with their registered offices at Fleet 27, Rye Close, Fleet, Hampshire, GU51 2QQ. Each company is a separate and independent legal entity. None of the companies have any liability for each other's acts or omissions. Group VAT registration number 844281719. Members of the Capquest group are regulated under the Consumer Credit Act 1974 and are members of the Credit Services Association. This communication is from the company named in the sender's details above. </FONT></SPAN></P><SPAN></SPAN>
<P CLASS="5c525138-a5d0-41ab-8e7e-df5f44495cdd">
<P CLASS="5c525138-a5d0-41ab-8e7e-df5f44495cdd"></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P></P></BODY></HTML>