Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'example:': 0.03; 'argument': 0.05; 'beginner': 0.05; 'i?m': 0.05; 'output': 0.05; 'c++,': 0.07; 'wang': 0.07; 'omissions.': 0.09; 're-transmit,': 0.09; 'referenced': 0.09; 'separately': 0.09; 'skip:b 70': 0.09; 'windows,': 0.09; 'python': 0.11; '2.7': 0.14; '64-bit,': 0.16; 'analyst,': 0.16; 'boost.': 0.16; 'c++.': 0.16; 'hampshire,': 0.16; 'i?d': 0.16; 'invocation': 0.16; 'skip:b 170': 0.16; 'subject:Problem': 0.16; 'subject:when': 0.16; 'url:windows': 0.16; 'followed': 0.16; 'so.': 0.16; 'trying': 0.19; 'command': 0.22; 'input': 0.22; 'example': 0.22; 'addressee': 0.22; 'liability': 0.22; 'separate': 0.22; 'tests': 0.22; 'this?': 0.23; 'error': 0.23; 'replace': 0.24; 'skip:l 30': 0.24; 'read,': 0.26; 'asking': 0.27; 'skip:_ 20': 0.27; 'installed': 0.27; 'function': 0.29; 'external': 0.29; 'instruction': 0.29; 'thus': 0.29; 'skip:@ 10': 0.30; "i'm": 0.30; 'getting': 0.31; 'invoke': 0.31; 'regulated': 0.31; 'stated.': 0.31; 'anyone': 0.31; 'class': 0.32; 'skip:c 30': 0.32; 'run': 0.32; 'another': 0.32; 'says': 0.33; 'url:python': 0.33; 'guess': 0.33; 'skip:? 10': 0.33; 'skip:b 30': 0.33; "i'd": 0.34; 'could': 0.34; 'basic': 0.35; 'something': 0.35; 'late': 0.35; 'test': 0.35; 'but': 0.35; 'add': 0.35; 'url:rec-html40': 0.35; 'version': 0.36; 'library.': 0.36; 'vat': 0.36; 'viruses.': 0.36; 'doing': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'url:microsoft': 0.37; 'list': 0.37; 'received:10': 0.37; 'step': 0.37; 'represent': 0.38; 'thank': 0.38; 'follows:': 0.38; 'url:office': 0.38; 'to:addr :python-list': 0.38; 'skip:- 10': 0.38; 'url:schemas': 0.38; 'url:omml': 0.39; 'url:2004': 0.39; 'legally': 0.39; 'visual': 0.39; 'delete': 0.39; 'sure': 0.39; 'url:12': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'according': 0.40; 'company': 0.60; 'above,': 0.60; 'received:10.1': 0.61; 'free,': 0.61; 'strictly': 0.61; 'companies': 0.62; 'you.': 0.62; 'here:': 0.62; 'back': 0.62; 'act': 0.63; 'url:index': 0.63; 'information': 0.63; 'such': 0.63; 'ltd': 0.64; 'more': 0.64; 'management': 0.65; 'bridge': 0.65; 'details': 0.65; 'services': 0.66; 'website:': 0.67; 'url:co': 0.67; 'privileged.': 0.69; 'boost': 0.70; 'consumer': 0.70; 'legal': 0.71; 'secure': 0.71; 'risk': 0.72; 'reliance': 0.72; 'acts': 0.74; 'guaranteed': 0.75; 'boost.python': 0.84; 'conclusions': 0.84; 'entity.': 0.84; 'debt': 0.91; 'investments': 0.91; "sender's": 0.91; 'subsidiaries': 0.91; 'url:more': 0.91 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CEBA9C.1B8625C1" Subject: Problem when installing Boost.Python Date: Thu, 26 Sep 2013 10:38:07 +0100 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem when installing Boost.Python Thread-Index: Ac66nBs2crtkGfVPRdeAm80pfM+QDg== From: "Wenlong Wang" To: X-Mailman-Approved-At: Thu, 26 Sep 2013 14:20:20 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 409 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380198021 news.xs4all.nl 15867 [2001:888:2000:d::a6]:39139 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54816 This is a multi-part message in MIME format. ------_=_NextPart_001_01CEBA9C.1B8625C1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, All I'm not sure if am asking in the right place, but since this is Python related, I'd like to try it out. My setup is Windows7 64-bit, Python 2.7 64bit, Boost 1.54, Visual Studio 2012 Express Version 64bit. I am a beginner of Python, and am trying to bridge Python and C++. Thus I download the Boost library. I followed the instruction here: http://www.boost.org/doc/libs/1_54_0/more/getting_started/windows.html And successfully installed the Basic Boost. Then I found that Boost.Python requires a separately installation, according to another instruction here: http://www.boost.org/doc/libs/1_54_0/libs/python/doc/building.html I am stuck at step 3.1.4 where the instruction says to run a example: 4. Invoke bjam. Replace the "stage" argument from the example invocation from section 5 of the Getting Started Guide with "test," to build all the test targets. Also add the argument "--verbose-test" to see the output generated by the tests when they are run. On Windows, your bjam invocation might look something like: C:\boost_1_34_0\...\quickstart> bjam toolset=3Dmsvc --verbose-test test When I input the command line above, I have 135 unresolved external errors! One of them is like follows: exec.obj : error LNK2019: unresolved external symbol __imp__PyEval_GetGlobals referenced in function "class boost::python::api::object __cdecl boost::python::eval(class boost::python::str,class boost::python::api::object, class boost::python::api::object)"(?eval@python@boost@@YA?AVobject@api@12@Vstr @12@V3412@1@Z) =2E.\..\..\..\bin.v2\libs\python\build\msvc-11.0\debug\boost_python-vc110- gd-1_54.dll 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. Can anyone help me to work around this? Thank you! Regards Long =C2=A0 Wenlong Wang Risk Analyst, Capquest Group Ltd Email: wwang@capquest.co.uk Fleet 27, Rye Close, Fleet, GU51 2QQ. Website: http://www.capquest.co.uk/ =C2=A0 This e-mail is intended solely for the addressee, is strictly confidential a= nd may also be legally privileged. If you are not the addressee please do no= t read, print, re-transmit, store or act in reliance on it or any attachment= s. Instead, please email it back to the sender and then immediately permanen= tly delete it. E-mail communications cannot be guaranteed to be secure or er= ror free, as information could be intercepted, corrupted, amended, lost, des= troyed, arrive late or incomplete, or contain viruses. We do not accept liab= ility for any such matters or their consequences. Anyone who communicates wi= th us by e-mail is taken to accept the risks in doing so. Opinions, conclusi= ons and other information in this e-mail and any attachments are solely thos= e of the author and do not represent those of Capquest Group Limited or any = of its subsidiaries unless otherwise stated. Capquest Group Limited (registe= red number 4936030), Capquest Debt Recovery Limited (registered number 37722= 78), Capquest Investments Limited (registered number 5245825), Capquest Asse= t Management Limited (registered number 5245829) and Capquest Mortgage Servi= cing Limited (registered number 05821008) are all limited companies register= ed in England and Wales with their registered offices at Fleet 27, Rye Close= , Fleet, Hampshire, GU51 2QQ. Each company is a separate and independent leg= al 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 t= he Credit Services Association. This communication is from the company named= in the sender's details above.=C2=A0 ------_=_NextPart_001_01CEBA9C.1B8625C1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

<= p class=3DMsoNormal>Hi, All

 

I’m not sure if am asking in the right pl= ace, but since this is Python related, I’d like to try it out.

 

My set= up is Windows7 64-bit, Python 2.7 64bit, Boost 1.54, Visual Studio 2012 Expr= ess Version 64bit.

 

<= p class=3DMsoNormal>I am a beginner of Python, and am trying to bridge Pytho= n and C++. Thus I download the Boost library.

 

I followed the instruction he= re: http://www.boost.org/doc/libs/1_54_0/more/getting_started/windows= =2Ehtml

 

And successfully installed the Basic Boost.

 

Then I found that= Boost.Python requires a separately installation, according to another instr= uction here:

 

http://www.boost.org/doc/libs/1_54_0/libs/python/doc/buildi= ng.html

 

I am stuck at step 3.1.4 where the instruction says to run a ex= ample:

 

4.      Invoke bjam. Replace the = “stage“ argument from the example invocation from section 5 of the= Getting Started Guide with “test,“ to build all the t= est targets. Also add the argument “--verbose-test” to see the out= put generated by the tests when they are run.

On Windows, your bjam invocation might look something like:<= /span>

C:\b=
oost_1_34_0\…\quickstart> bjam toolset=3Dmsvc --verbose-test test<=
/span>
&=
nbsp;

When I input the command line a= bove, I have 135 unresolved external errors! One of them is like follows:

 

e= xec.obj : error LNK2019: unresolved external symbol __imp__PyEval_GetGlobals= referenced in function

"class boos= t::python::api::object __cdecl boost::python::eval(class boost::python::str,= class boost::python::api::object,

class b= oost::python::api::object)"(?eval@python@boost@@YA?AVobject@api@12@Vstr= @12@V3412@1@Z)

..\..\..\..\bin.v2\libs\py= thon\build\msvc-11.0\debug\boost_python-vc110-gd-1_54.dll

 

I know this is m= ore C++, however, I guess someone in this mailing list may have experienced = with Boost.Python. My apologies if this mail bothers you.

 

Can anyone help m= e to work around this?

 <= /p>

Thank you!

&= nbsp;

Regards

Long

 

Wenlong Wang

Risk Analyst, Capquest Group Ltd

Email: wwang@capquest.co.uk<= /FONT>

Fleet 27, Rye Close, Fleet, GU51 2QQ.

Website: www.capquest.co.uk

 

T= his e-mail is intended solely for the addressee, is strictly confidential an= d 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= =2E Instead, please email it back to the sender and then immediately permane= ntly delete it. E-mail communications cannot be guaranteed to be secure or e= rror free, as information could be intercepted, corrupted, amended, lost, de= stroyed, arrive late or incomplete, or contain viruses. We do not accept lia= bility for any such matters or their consequences. Anyone who communicates w= ith us by e-mail is taken to accept the risks in doing so. Opinions, conclus= ions and other information in this e-mail and any attachments are solely tho= se of the author and do not represent those of Capquest Group Limited or any= of its subsidiaries unless otherwise stated. Capquest Group Limited (regist= ered number 4936030), Capquest Debt Recovery Limited (registered number 3772= 278), Capquest Investments Limited (registered number 5245825), Capquest Ass= et Management Limited (registered number 5245829) and Capquest Mortgage Serv= icing Limited (registered number 05821008) are all limited companies registe= red in England and Wales with their registered offices at Fleet 27, Rye Clos= e, Fleet, Hampshire, GU51 2QQ. Each company is a separate and independent le= gal entity. None of the companies have any liability for each other's acts o= r omissions. Group VAT registration number 844281719. Members of the Capques= t group are regulated under the Consumer Credit Act 1974 and are members of = the Credit Services Association. This communication is from the company name= d in the sender's details above. 

------_=_NextPart_001_01CEBA9C.1B8625C1--