boost error

564 views
Skip to first unread message

jiuzheya...@gmail.com

unread,
Sep 10, 2014, 8:29:50 PM9/10/14
to boost_doc_...@googlegroups.com
Hi,
  I use bootstrap.sh to build boost with python version 3.1, but I get a problem like this:
    
    Detecting Python root...   File "<string>", line 1
    import sys; print sys.prefix
                        ^
   SyntaxError: invalid syntax

  Unicode/ICU support for Boost.Regex?... not found.

Could you help me to resovle the problem?
Thank you very much!

Jin Qing

unread,
Sep 11, 2014, 4:08:25 AM9/11/14
to boost_doc_...@googlegroups.com

The way to use Python V3 with Boost is to properly configure the build system by adding for instance:

using python : 3.1 : /your_python31_root ;

to your user-config.jam file.

See: http://stackoverflow.com/questions/5539557/boost-and-python-3-x

--
--
您收到此信息是由于您订阅了 boost_doc_translation 论坛。
要在论坛发帖,请发邮件至
boost_doc_...@googlegroups.com
要退订此论坛,请发邮件至
boost_doc_transl...@googlegroups.com
本论坛的 Google Code 工程位于
http://code.google.com/p/boost-doc-zh/
更多选项,请通过
https://groups.google.com/group/boost_doc_translation
访问该论坛

---
您收到此邮件是因为您订阅了Google网上论坛中的“boost_doc_translation”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到boost_doc_transl...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

Reply all
Reply to author
Forward
0 new messages