List Info

Thread: problem building with msvc-8.0




problem building with msvc-8.0
country flaguser name
United States
2007-08-02 00:54:15
I'm getting the following from my bjam build with 1.34.

Its picking up the mt command from my shell.  I don't find
any there mt 
command
in my system although its referred to in the msvc.jam file

I can do the samething with msvc-7.1 with no problem

Any help appreciated.

Robert Ramey


Linker output:
Creating library 
......bin.v2libsserializationtesttest_array_text_arch
ive.testmsvc-8.0debugthreading-multitest_array_text_arch
ive.lib 
and object 
......bin.v2libsserializationtesttest_array_text_arch
ive.testmsvc-8.0debugthreading-multitest_array_text_arch
ive.exp
mt: Unknown option -n
Usage: mt [-vV] [-[t|f] tapename] command [count]

        call "C:Program FilesMicrosoft Visual Studio
8VCvcvarsall.bat" 
x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console 
/out:"......bin.v2libsserializationtesttest_arra
y_text_archive.testmsvc-8.0debugthreading-multitest_arra
y_text_archive.exe" 
"......bin.v2libsserializationtesttest_ar
ray_text_archive.testmsvc-8.0debugthreading-multitest_ar
ray_text_archive.exe.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
        if exist 
"......bin.v2libsserializationtesttest_array_tex
t_archive.testmsvc-8.0debugthreading-multitest_array_tex
t_archive.exe.manifest" 
(
            mt -nologo -manifest 
"......bin.v2libsserializationtesttest_array_tex
t_archive.testmsvc-8.0debugthreading-multitest_array_tex
t_archive.exe.manifest" 
"-outputresource:......bin.v2libsserializationtes
ttest_array_text_archive.testmsvc-8.0debugthreading-mult
itest_array_text_archive.exe;1"
        )
 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: problem building with msvc-8.0
user name
2007-08-02 01:20:42
On 02/08/07, Robert Ramey <rameyrrsd.com> wrote:
> I'm getting the following from my bjam build with
1.34.
>
> Its picking up the mt command from my shell.  I don't
find any there mt
> command
> in my system although its referred to in the msvc.jam
file
>
> I can do the samething with msvc-7.1 with no problem
>
> Any help appreciated.
>
> Robert Ramey
>
>
> Linker output:
> Creating library
>
......bin.v2libsserializationtesttest_array_text_arch
ive.testmsvc-8.0debugthreading-multitest_array_text_arch
ive.lib
> and object
>
......bin.v2libsserializationtesttest_array_text_arch
ive.testmsvc-8.0debugthreading-multitest_array_text_arch
ive.exp
> mt: Unknown option -n
> Usage: mt [-vV] [-[t|f] tapename] command [count]
>
>         call "C:Program FilesMicrosoft Visual
Studio 8VCvcvarsall.bat"
> x86 >nul
> link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console
>
/out:"......bin.v2libsserializationtesttest_arra
y_text_archive.testmsvc-8.0debugthreading-multitest_arra
y_text_archive.exe"
> "......bin.v2libsserializationtesttest_ar
ray_text_archive.testmsvc-8.0debugthreading-multitest_ar
ray_text_archive.exe.rsp"
>         if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
>         if exist
>
"......bin.v2libsserializationtesttest_array_tex
t_archive.testmsvc-8.0debugthreading-multitest_array_tex
t_archive.exe.manifest"
> (
>             mt -nologo -manifest
>
"......bin.v2libsserializationtesttest_array_tex
t_archive.testmsvc-8.0debugthreading-multitest_array_tex
t_archive.exe.manifest"
>
"-outputresource:......bin.v2libsserializationtes
ttest_array_text_archive.testmsvc-8.0debugthreading-mult
itest_array_text_archive.exe;1"
>         )
>
>

 mt is the Manifest Tool which should be present in the
Visual Studio
installation directory. Also, it is available in the
Microsoft Windows
Software Development Kit (SDK).

-- 
regards,
Prashant Thakre
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: problem building with msvc-8.0
user name
2007-08-02 01:26:20
Prashant Thakre wrote:

> On 02/08/07, Robert Ramey <rameyrrsd.com> wrote:
>> I'm getting the following from my bjam build with
1.34.
>>
>> Its picking up the mt command from my shell.  I
don't find any there mt
>> command
>> in my system although its referred to in the
msvc.jam file
>>
>> I can do the samething with msvc-7.1 with no
problem
>>
>> Any help appreciated.
>>
>> Robert Ramey
>>
>>
>> Linker output:
>> Creating library
>>
......bin.v2libsserializationtesttest_array_text_arch
ive.testmsvc-8.0debugthreading-multitest_array_text_arch
ive.lib
>> and object
>>
......bin.v2libsserializationtesttest_array_text_arch
ive.testmsvc-8.0debugthreading-multitest_array_text_arch
ive.exp
>> mt: Unknown option -n
>> Usage: mt [-vV] [-[t|f] tapename] command [count]

This message suggests you have some other 'mt' binary
somewhere. Do you 
have any idea what that might be?

>  mt is the Manifest Tool which should be present in the
Visual Studio
> installation directory. Also, it is available in the
Microsoft Windows
> Software Development Kit (SDK).

I note that in some cases, 'mt' is invoked without calling
the setup script.
Here's the relevant code:

          if ! [ os.name ] in NT
                {
                    flags msvc.link .MT $(cond) :
$(command[$(i)])$(manifest-tool) -nologo ;
                }
                else
                {
                    flags msvc.link .MT $(cond) :
$(manifest-tool) -nologo ;
                }

Anybody knows the rationale for this logic?

- Volodya

                

 


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: problem building with msvc-8.0
country flaguser name
United States
2007-08-02 01:37:31
Vladimir Prus wrote:

> This message suggests you have some other 'mt' binary
somewhere. Do
> you
> have any idea what that might be?

I do - its the "mount tape" command from my *nix
shell.  I suppose its
in my path.  I generally use the MKS kornshell.

I just checked cygwin - it doesnt have such a command.

I looked in to the bni directories of the msvc 8.0 and
didn't find
any MT command.

Anyway, now I know what it is I guess I can fix it.

Robert Ramey

>
>>  mt is the Manifest Tool which should be present in
the Visual Studio
>> installation directory. Also, it is available in
the Microsoft
>> Windows Software Development Kit (SDK).
>
> I note that in some cases, 'mt' is invoked without
calling the setup
> script.
> Here's the relevant code:
>
>          if ! [ os.name ] in NT
>                {
>                    flags msvc.link .MT $(cond) :
>                $(command[$(i)])$(manifest-tool) -nologo
; }
>                else
>                {
>                    flags msvc.link .MT $(cond) :
$(manifest-tool)
>                -nologo ; }
>
> Anybody knows the rationale for this logic?
>
> - Volodya
>
>
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build 



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: problem building with msvc-8.0
country flaguser name
United States
2007-08-02 22:51:18
Prashant Thakre wrote:
> On 02/08/07, Robert Ramey <rameyrrsd.com> wrote:
>> I'm getting the following from my bjam build with
1.34.
>>
>> Its picking up the mt command from my shell.  I
don't find any there
>> mt command
>> in my system although its referred to in the
msvc.jam file
>>
>> I can do the samething with msvc-7.1 with no
problem
>>
>> Any help appreciated.
>>
>> Robert Ramey
>>
> mt is the Manifest Tool which should be present in the
Visual Studio
> installation directory. Also, it is available in the
Microsoft Windows
> Software Development Kit (SDK).

I'm using MSVC 8.0 Express Edition. I could find no mt.exe
in those
files but I did find such a file in my VC 2003/Common
7/bin/winnt directory.
I made a copy into the bin directory of the msvc 8.0 express
edition.
When I ran bjam again I got the output below.  This suggests
to me
that either the mt.exe I have (dated 6/19/2002) is out of
sync with the
current one or the msvc.jam file isn't quite right.  Again,
any help
would be appreciated.

Robert Ramey

msvc.link.dll 
......bin.v2libsserializationbuildmsvc-8.0debugthre
ading-multiboost_serialization-vc80-mt-gd-1_34_1.dll 
......bin.v2libsserializationbuildmsvc-8.0debugthre
ading-multiboost_serialization-vc80-mt-gd-1_34_1.lib
   Creating library 
......bin.v2libsserializationbuildmsvc-8.0debugthre
ading-multiboost_serialization-vc80-mt-gd-1_34_1.lib 
and object 
......bin.v2libsserializationbuildmsvc-8.0debugthre
ading-multiboost_serialization-vc80-mt-gd-1_34_1.exp
Nothing to do!
Modes of operation:
   -hashupdate         Update hashes of member files
   -makecdfs           Generate CDF files to make catalogs
   -verbose            Disply piles of debugging
information

Modifiers:
   -manifest <foo.man> The name of the manifest to
work with

Normal usage:   mt.exe -hashupdate -makecdfs -manifest
foo.man


        call "C:Program FilesMicrosoft Visual Studio
8VCvcvarsall.bat" 
x86 >nul
link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console

/out:"......bin.v2libsserializationbuildmsvc-8.0
debugthreading-multiboost_serialization-vc80-mt-gd-1_34_1
.dll" 
/IMPLIB:"......bin.v2libsserializationbuildmsvc-
8.0debugthreading-multiboost_serialization-vc80-mt-gd-1_3
4_1.lib" 
"......bin.v2libsserializationbuildmsvc-8
.0debugthreading-multiboost_serialization-vc80-mt-gd-1_34
_1.dll.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
        if exist 
"......bin.v2libsserializationbuildmsvc-8.0debu
gthreading-multiboost_serialization-vc80-mt-gd-1_34_1.dll.
manifest" 
(
            mt -nologo -manifest 
"......bin.v2libsserializationbuildmsvc-8.0debu
gthreading-multiboost_serialization-vc80-mt-gd-1_34_1.dll.
manifest" 
"-outputresource:......bin.v2libsserializationbui
ldmsvc-8.0debugthreading-multiboost_serialization-vc80-m
t-gd-1_34_1.dll;2"
        )

...failed msvc.link.dll 
......bin.v2libsserializationbuildmsvc-8.0debugthre
ading-multiboost_serialization-vc80-mt-gd-1_34_1.dll 
......bin.v2libsserializationbuildmsvc-8.0debugthre
ading-multiboost_serialization-vc80-mt-gd-1_34_1.lib...



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: problem building with msvc-8.0
country flaguser name
United States
2007-08-04 09:47:13
on Thu Aug 02 2007, Vladimir Prus <ghost-AT-cs.msu.su>
wrote:

> I note that in some cases, 'mt' is invoked without
calling the setup script.
> Here's the relevant code:
>
>           if ! [ os.name ] in NT
>                 {
>                     flags msvc.link .MT $(cond) :
$(command[$(i)])$(manifest-tool) -nologo ;
>                 }
>                 else
>                 {
>                     flags msvc.link .MT $(cond) :
$(manifest-tool) -nologo ;
>                 }
>
> Anybody knows the rationale for this logic?

That appears to be how it was all along.  The original code
didn't
separately call the setup script:
http:
//svn.boost.org/trac/boost/changeset/29192

On the other hand, it doesn't need to, because it was
already called
in an earlier line of the action.

The change that added the branch that *does* call the setup
script was
checked in by you:
http://svn.boost.org/
trac/boost/browser/trunk/boost/tools/build/v2/tools/msvc.jam
?rev=32306

-- 
Dave Abrahams
Boost Consulting
http://www.boost-cons
ulting.com

The Astoria Seminar ==> http://www.astoriasemin
ar.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )