Bo Peng wrote: >> How must I call scons? Could you please post a complete command >> which I can use (after fixing the paths)? >> Do I have to add all the qt_* settings to the command? >> This I have done but then it asks for extra_inc_path1. > > Hi, Peter, > > Thank you very much for the info. Here is what I get right now. > > Step 1: install scons-0.96.92 > > Step 2: add > boost/boost/type_traits/detail/is_function_ptr_tester.hpp > boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp > boost/boost/detail/interlocked.hpp > boost/boost/regex/v4/w32_regex_traits.hpp > I do not add these to the patch because they are too big. > > Step 3: download the official zlib dll package, unzip to (for example) > d:\msvc-libs . copy zdll.lib to z.lib (cheating) > > Step 4: apply the attached patch. Note that many of the changes are > temporary and might break scons on other systems. > > Step 5: run command: > >> scons -f development/scons/SConstruct frontend=qt4 >> qt_dir=d:/qt/4.1.3-vc2005 use_vc=yes >> extra_inc_path=d:/MSVC-Libs/include extra_lib_path=d:/MSVC-Libs/lib >> boost=included nls=no >
Hi Bo, thanks for the recipe! I'll try it in the next days. > I come to the last linking step, and a strange error saying > libboost_filesystem-vc80-mt-s-1_33.1.lib does not exist, while the > command line asks to link to included_boost_filesystem.lib. auto-linking of boost is enabled: http://boost.org/more/getting_started.html#auto-link you could disable it by defining BOOST_ALL_NO_LIB, and then linking against the libs generated by your build process. Peter