Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#675 closed Bugs (Works For Me)

intel-win32 does not compile at all

Reported by: godrick Owned by: John Maddock
Milestone: Component: config
Version: None Severity:
Keywords: Cc:

Description

boost>bjam "-sTOOLS=intel-win32" stage

gives the sort of errors listed below with Intel C++ 
9.1

...failed vc-C++ 
bin\boost\libs\wave\build\boost_wave.dll\intel-win32
\release\th
reading-multi\token_ids.obj...
vc-C++ bin\boost\libs\wave\build\boost_wave.dll\intel-
win32\release\threading-mu
lti\wave_config_constant.obj
'/Zm800' is not recognized as an internal or external 
command,
operable program or batch file.


     /Zm800 -nologo /EHsc -c  -DNDEBUG -DNDEBUG -
DBOOST_ALL_DYN_LINK=1 /Ogity /O
2 /Gs /Ob2 /EHsc /GR /MD /Qwn5 /Qwd985 /Qwe556 -
Qoption,c,--arg_dep_lookup /Qvc6
 -DBOOST_NO_INTRINSIC_WCHAR_T -
I"bin\boost\libs\wave\build" -I"D:\Projects\boost
"  -I"D:\Projects\boost"  -
Fo"bin\boost\libs\wave\build\boost_wave.dll\intel-win
32\release\threading-multi\wave_config_constant.obj" -
Tp"D:\Projects\boost\libs\
wave\build\../src/wave_config_constant.cpp"

...failed vc-C++ 
bin\boost\libs\wave\build\boost_wave.dll\intel-win32
\release\th
reading-multi\wave_config_constant.obj...
vc-C++ bin\boost\libs\wave\build\boost_wave.dll\intel-
win32\release\threading-mu
lti\aq.obj
'/Zm800' is not recognized as an internal or external 
command,
operable program or batch file.


     /Zm800 -nologo /EHsc -c  -DNDEBUG -DNDEBUG -
DBOOST_ALL_DYN_LINK=1 /Ogity /O
2 /Gs /Ob2 /EHsc /GR /MD /Qwn5 /Qwd985 /Qwe556 -
Qoption,c,--arg_dep_lookup /Qvc6
 -DBOOST_NO_INTRINSIC_WCHAR_T -
I"bin\boost\libs\wave\build" -I"D:\Projects\boost
"  -I"D:\Projects\boost"  -
Fo"bin\boost\libs\wave\build\boost_wave.dll\intel-win
32\release\threading-multi\aq.obj" -
Tp"D:\Projects\boost\libs\wave\build\../src/
cpplexer/re2clex/aq.cpp"

...failed vc-C++ 
bin\boost\libs\wave\build\boost_wave.dll\intel-win32
\release\th
reading-multi\aq.obj...
vc-C++ bin\boost\libs\wave\build\boost_wave.dll\intel-
win32\release\threading-mu
lti\cpp_re.obj
'/Zm800' is not recognized as an internal or external 
command,
operable program or batch file.


     /Zm800 -nologo /EHsc -c  -DNDEBUG -DNDEBUG -
DBOOST_ALL_DYN_LINK=1 /Ogity /O
2 /Gs /Ob2 /EHsc /GR /MD /Qwn5 /Qwd985 /Qwe556 -
Qoption,c,--arg_dep_lookup /Qvc6
 -DBOOST_NO_INTRINSIC_WCHAR_T -
I"bin\boost\libs\wave\build" -I"D:\Projects\boost
"  -I"D:\Projects\boost"  -
Fo"bin\boost\libs\wave\build\boost_wave.dll\intel-win
32\release\threading-multi\cpp_re.obj" -
Tp"D:\Projects\boost\libs\wave\build\../
src/cpplexer/re2clex/cpp_re.cpp"

Change History (3)

comment:1 by godrick, 16 years ago

Logged In: YES 
user_id=1279227

This is with bjam 3.1.13

VC++ 2005 works OK

comment:2 by John Maddock, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=14804

Works for me, most likely you do not have INTEL_PATH set,
see
http://www.boost.org/tools/build/v1/intel-win32-tools.html
for a list of options to set in order to use this toolset
(only INTEL_PATH is required though).

John.

comment:3 by godrick, 16 years ago

Logged In: YES 
user_id=1279227

Thanks. Perhaps the instructions need to be amended to 
point out that INTEL_PATH must be set.

However, there is another problem.  The "wchar_t is a 
type" flag does not seem to be set, so I get errors like 
the following.  Also /Qvc6 may not be right.

    CALL "C:\Program Files\Intel\Compiler\C++\9.1\Ia32
\bin\ICLVARS.BAT" > nul
    "C:\Program Files\Intel\Compiler\C++\9.1\Ia32
\bin\icl" /Zm800 -nologo /EHsc
-c  -DNDEBUG -DNDEBUG -
DBOOST_FILESYSTEM_STATIC_LINK /Ogity /O2 /Gs /Ob2 /EHsc /
GR /ML /Qwn5 /Qwd985 /Qwe556 -Qoption,c,--
arg_dep_lookup /Zc:forScope /Qansi_ali
as /Qvc6 -DBOOST_NO_INTRINSIC_WCHAR_T -
I"bin\boost\libs\filesystem\build" -I"D:\
Projects\boost"  -I"D:\Projects\boost"  -
Fo"bin\boost\libs\filesystem\build\libb
oost_filesystem.lib\intel-win32\release\runtime-link-
static\exception.obj" -Tp"D
:\Projects\boost\libs\filesystem\build\../src/exception.cpp
"

...failed vc-C++ 
bin\boost\libs\filesystem\build\libboost_filesystem.lib\int
el-w
in32\release\runtime-link-static\exception.obj...
vc-C++ 
bin\boost\libs\filesystem\build\libboost_filesystem.lib\int
el-win32\relea
se\runtime-link-static\operations.obj
icl: Command line warning: overriding '/Qvc8' with '/Qvc6'
operations.cpp
C:\Program Files\Microsoft Visual Studio 8
\VC\INCLUDE\wchar.h(324): error: ident
ifier "_wmktemp" is undefined
  __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, 
__RETURN_POLICY_DST, _CRTIM
P, _wmktemp, __inout_z wchar_t, _TemplateName)
  ^

C:\Program Files\Microsoft Visual Studio 8
\VC\INCLUDE\wchar.h(324): error: "wcha
r_t" has already been declared in the current scope
  __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, 
__RETURN_POLICY_DST, _CRTIM
P, _wmktemp, __inout_z wchar_t, _TemplateName)
  ^

C:\Program Files\Microsoft Visual Studio 8
\VC\INCLUDE\wchar.h(324): error: expec
ted a ";"
  __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, 
__RETURN_POLICY_DST, _CRTIM
P, _wmktemp, __inout_z wchar_t, _TemplateName)
  ^

C:\Program Files\Microsoft Visual Studio 8
\VC\INCLUDE\wchar.h(327): error: varia
ble "wchar_t" is not a type name
  _CRTIMP __checkReturn intptr_t __cdecl _wfindfirst32i64
(__in_z const wchar_t *
 _Filename, __out struct _wfinddata32i64_t * _FindData);
                                                           
            ^

C:\Program Files\Microsoft Visual Studio 8
\VC\INCLUDE\wchar.h(328): error: varia
ble "wchar_t" is not a type name
  _CRTIMP __checkReturn intptr_t __cdecl _wfindfirst64i32
(__in_z const wchar_t *
 _Filename, __out struct _wfinddata64i32_t * _FindData);
                                                           
            ^

compilation aborted for 
D:\Projects\boost\libs\filesystem\build\../src/operation
s.cpp (code 4)

Note: See TracTickets for help on using tickets.