Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-12-15 09:42:57


I need to include some directories that are subdirectories of the
'Program Files' directory. I'm not very experienced with bjam on windows
and now I have trouble with these paths.

For instance when I run 'bjam -d2' I get following output and errors.
The target I'm compiling below has a dependency on 'flexlm_headers' in
my user-config.jam (attached).

Additionally I would like to ask how I can debug this exactly. The .rsp
files are removed when the command fails so I can't see exactly what was
in the file (except for looking at the output of bjam -d2).

And one additional question: apparantly the include directories are
specified with the '-I' option. Should'nt that be '/I' with msvc ? (you
can tell I'm a rookie on msvc, can't you ;-)

...found 500 targets...
...updating 39 targets...
response-file-1
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp

echo "..\..\..\modules\utilities\test\bubble_sort.cpp" >
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"

text-action
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp

echo. >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"

echo -DHAVE_STDARG_H=1 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -DHAVE_STDLIB_H=1 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -DHAVE_STRING_H=1 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -DHAVE_UNISTD_H=1 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -DMALLOC_RET_VOID=1 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -DUSE_STDARG >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -DUSE_STDARG=1 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:\MPICH\SDK\Include >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:\Program Files\Flexlm\v9.2\include >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:\Program Files\hdf >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:\cvstop\hypermesh\include\win32 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:\ext_projects\metis-4.0\Lib >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:\ext_projects\superlu_3.0 >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -IC:cvstop >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -Ic:\cvstop\boost >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -Ic:\cvstop\boost-sandbox >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -Ic:\cvstop\femtown\modules >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
echo -Ic:\cvstop\fftown\modules >>
"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"

msvc.compile.c++
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort.obj
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp

call "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat" > nul
cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /EHsc /GR /MDd
@"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp"
-c
-Fo"..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort.obj"

bubble_sort.cpp
include
c1xx : fatal error C1083: Cannot open source file:
'Files\Flexlm\v9.2\include': No such file or directory
hdf
c1xx : fatal error C1083: Cannot open source file: 'Files\hdf': No such
file or directory
Generating Code...
...failed msvc.compile.c++
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort.obj
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp...
...removing
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort.obj
...removing
..\..\..\DO\fftown\modules\utilities\test\msvc\debug\bubble_sort_cpp.rsp
 --------------000304020208030505040307 Content-Type: text/plain;
name="user-config.jam"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="user-config.jam"

using msvc ;
using ifort ;

# Create a local variable that contains all the
# following macro-definition that will be passed to the compiler
MPI_DEFINES = USE_STDARG HAVE_STDLIB_H=1 HAVE_STRING_H=1 HAVE_UNISTD_H=1 HAVE_STDARG_H=1 USE_STDARG=1 MALLOC_RET_VOID=1 ;

# some boiler-plate so that all targets specified in this file
# can be reference from anywhere using the syntax /user-config//<some target>
import project ;
project.initialize $(__name__) ;
project user-config ;

# Define a target that specifies the header-only MPI project.
# This is a header-only project because the corresponding sources
# can be the real or the fake-mpi lib.
alias mpiheaders
: # sources
: # requirements
: # default-build
: <define>$(MPI_DEFINES)
<include>C:\\MPICH\\SDK\\Include
;

# Define the real-mpi library target
lib libmpi
: # sources
mpiheaders
: # requirements
<file>C:\\MPICH\\SDK\\Lib\\mpich.lib
: # default-build
: # usage-requirements
<use>/user-config//mpiheaders
;

lib libmkl
: # sources
: # requirement
<file>C:\\"Program Files"\\Intel\\MKL61\\ia32\\lib\\mkl_c.lib
: # default-build
: # usage-requirement
;

# Define the BLAS library target
alias libblas
: # sources
/user-config//libmkl
: # requirements
: # default-build
: # usage-requirements
;

alias liblapack : libmkl ;

lib libslatec : : <file>"C:\\Program Files\\Intel\\MKL61\\ia32\\lib\\mkl_c.lib" ;

# Define the SuperLU library target
alias superlu_headers : : : : <include>C:\\ext_projects\\superlu_3.0 ;
lib libsuperlu
: # sources
: # req
<file>"C:\\ext_projects\\superlu_3.0\\superlu_windows.lib"
: # default-build
: # usage-req
<include>C:\\ext_projects\\superlu_3.0
;

# Define the METIS library target
alias metis_headers : : : : <include>C:/ext_projects/metis-4.0/Lib ;
lib libmetis
: # sources
: # req
<file>C:\\ext_projects\\metis-4.0\\libmetis.lib
: # default-build
: # usage-req
<include>C:/ext_projects/metis-4.0/Lib
;

lib libhmlib
:
: <file>C:/cvstop/hypermesh/lib/win32/libhmlib.a
:
: <include>C:/cvstop/hypermesh/include/win32
;

lib libhmreslib
: /user-config//libhmlib
: <file>C:/cvstop/hypermesh/lib/win32/libhmreslib.a
:
: <include>C:/cvstop/hypermesh/include/win32
;

lib libhmmodlib
: # /user-config//libhmreslib
: # <file>C:/cvstop/hypermesh/lib/win32/libhmmodlib.a
:
: <include>C:/cvstop/hypermesh/include/win32
;

alias hypermesh_headers : : : : <include>C:/cvstop/hypermesh/include/win32 ;
lib libhypermesh : /user-config//libhmmodlib ;

lib libpython
:
: <file>C:\\ext_projects\\python\\dist\\src\\pcbuild\\python24.lib
:
: <include>C:\\ext_projects\\python\\dist\\src\\include
;

# lib libz : : <file>/usr/lib/libz.a ;
# lib libjpeg : /user-config//libz : <file>/usr/lib/libjpeg.a ;
# lib libdf : /user-config//libjpeg : <file>/usr/local/lib/libdf.a ;
# lib libmfhdf : /user-config//libdf : <file>/usr/local/lib/libmfhdf.a ;
#
alias hdf_headers : : : : <include>C:/"Program Files"/hdf ;
alias libhdf
# : /user-config//libmfhdf
# :
# :
# : <include>/usr/local/include
;

lib libflexlm_new
:
: <file>C:/"Program Files"/Flexlm/v9.2/i86_n3_dyn/lm_new_md.obj
;

lib libflexlmgr
: /user-config//libflexlm_new
: <file>C:/"Program Files"/Flexlm/v9.2/i86_n3_dyn/lmgr_md.lib
;

alias flexlm_headers : : : : <include>C:/"Program Files"/Flexlm/v9.2/include ;
alias libflexlm
: /user-config//libflexlmgr
:
:
: <include>C:/"Program Files"/Flexlm/v9.2/include
;

alias libboost_filesystem : C:/cvstop/boost/libs/filesystem/build//boost_filesystem ;

alias libfake_mpi : C:/cvstop/fake_mpi//libfake_mpi ;

alias boxpro_headers : : : : <include>C:\cvstop ;
alias libboxpro : C:/cvstop/boxpro/actran//boxpro_actran ;
 --------------000304020208030505040307--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk