Hi, thank you and Volodya for your response. But I still cannot run the helloworld example succesfully. Could you have a look on my problem again?
1 About running "hello" example using bjam: I select using bjam to build project. When I installed boost, I have run: bjam install; bjam "-sTOOLS=gcc" install And I did the steps according to the documentation "installation" at http://boost.org/tools/build/v2/index.html: 1) After installing bjam, when I input command: /home/hnn/boost/tools/build/v2 # bjam --version I got: Boost.Build V2 (Milestone 10) Boost.Jam 03.01.11 2) I modified the file /home/hnn/boost/tools/build/v2user-config.jam , then the useful statements in the file are: import toolset : using ; using gcc ; using gcc : 3.3 : g++-3.3 ; I got the version of GCC by using either gcc -v and g++ -v. Only the version of gcc is ginven:3.3.4, but not the version of g++. I added the same one into the file by myself. Is it posiible a problem? 3) According to the reference of website, I went to the example/hello/ directory and run: bjam --v2 Those are created: warning: no toolsets are configured. warning: you won't be able to build C++ programs. warning: please consult the documentation. /home/hnn/boost/tools/build/v2/build/targets.jam:1245: in construct from moduleobject(typed-target)@1 error: unable to construct ./hello /home/hnn/boost/tools/build/v2/build/targets.jam:1128: in object(typed-target)@1.generate from module object(typed-target)@1 /home/hnn/boost/tools/build/v2/build/targets.jam:757: in generate-really from module object(main-target)@1 /home/hnn/boost/tools/build/v2/build/targets.jam:730: in object(main-target)@1.generate from module object(main-target)@1 /home/hnn/boost/tools/build/v2/build/targets.jam:252: in object(project-target)@3.generate from module object(project-target)@3 /home/hnn/boost/tools/build/v2/build-system.jam:267: in load from module build-system /home/hnn/boost/tools/build/v2/example/../kernel/modules.jam:259: in import from module modules /home/hnn/boost/tools/build/v2/example/../kernel/bootstrap.jam:153: in boost-build from module /home/hnn/boost/tools/build/v2/example/boost-build.jam:2: in module scope from module Do I miss some steps before running helloworld? 2 About quickbook If I want to build quickbook, in which path should I run bjam --v2? Do I need to write user-configure.jam or modify jamfile.v2 for it by myself? 3 About boostbook 1) For boostbook, there is a file setup_boostbook.sh in its main folder. Succesfully ruuning it means compling it, am I right? I run: /home/hnn/boost/tools/boostbook # sh ./setup_boostbook.sh And I got: Using existing DocBook XSLT Stylesheets (version 1.67.2). Using existing DocBook XML DTD (version 4.2). Searching for xsltproc... /usr/bin/xsltproc. Searching for Doxygen... /usr/local/bin/doxygen. Searching for Java... /usr/lib/jvm/jre/bin/java. Using existing FOP distribution (version 0.20.5). Updating Boost.Jam configuration in /root/user-config.jam... done. Done! Execute "bjam --v2" in a documentation directory to generate documentation with BoostBook. If you have not already, you will need to compile Boost.Jam. 2) If I get a .xml file after running quickbook, in which folder should I put the .xml file and run bjam --v2 for boostbook? Thank you very much. Best regards, Vning --- Joel de Guzman <[EMAIL PROTECTED]>写道: > > Linker errors. Please use BJam instead. QuickBook > uses > BJam V2, so please follow this: > http://boost.org/tools/build/v2/index.html > > 1) tweak tools/build/v2/user-config.jam > 2) bjam --v2 > > Regards, > -- > Joel de Guzman > http://www.boost-consulting.com > http://spirit.sf.net > __________________________________________________ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
