i trying build 64 bit libraries using boost's b2. followed steps tee keep getting annoying error missing argument setup-script.
here user-config.jam file put home directory:
# ------------------- # msvc configuration. # ------------------- # configure msvc (default version, searched in standard locations , path). # using msvc ; # configure specific msvc version (searched in standard locations , path). using msvc : 12.0 : "c:/program files (x86)/microsoft visual studio 12.0/vc/bin/x86_amd64/cl.exe" ; # --------------------- # python configuration. # --------------------- # configure specific python version. # using python : 3.5 : c:\\users\\jchen114\\anaconda3 : c:\\users\\jchen114\\anaconda3\\include : c:\\users\\jchen114\\anaconda3\\lib ; using python : 3.5 # version : "c:\\users\\jchen114\\anaconda3\\python.exe" # python path : "c:\\users\\jchen114\\anaconda3\\include" # include path : "c:\\users\\jchen114\\anaconda3\\libs" # lib path(s) : <define>boost_all_no_lib=1 ;
i run command in root boost directory:
./b2 msvc address-model=64 stage
then error:
*** argument error * rule maybe-rewrite-setup ( toolset : setup-script : setup-options : version : rewrite-setup ? ) * called with: ( msvc : : : 12.0 : ) * missing argument setup-script
the funny thing if rid of x86_amd64 directory in msvc configuration line this:
using msvc : 12.0 : "c:/program files (x86)/microsoft visual studio 12.0/vc/bin/cl.exe" ;
it begins build.
how make boost build 64 bit version of libraries, correctly?
Comments
Post a Comment