Boost.pythonhello world examp出错

2024-04-23 11:51:59 发布

您现在位置:Python中文网/ 问答频道 /正文

当我试图用bjam编译hello world示例时,总是会遇到错误。Jamroot文件中的所有内容都运行正常,除了最后一行(当我注释这一行时,不会发生错误):

run-test hello : hello_ext hello.py ;

错误是:

^{pr2}$

Tags: 文件runpytest示例内容helloworld
1条回答
网友
1楼 · 发布于 2024-04-23 11:51:59

在构建adobeaslibrary的过程中,我也遇到过类似的问题。问题是从ubunturepositories bjam(3.1.16)安装的版本。从sourceforge(3.1.18)安装了最新的bjam之后,一切正常工作。

PS.OS是Ubuntu 11.04

相关问题 更多 >