Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Bo Peng
For win64 and vs2005 executables we do the usual link and then: mt -manifest {$TARGET}.manifest -outputresource:$TARGET Something like this in scons: orig_link = env['LINKCOM'] env['LINKCOM'] = [orig_link, 'mt -manifest $ {TARGET}.manifest -outputresource:$TARGET'] orig

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Peter Kümmel
Bo Peng wrote: >> > >> > But the generated executable still fails with the same error... > > The same situation here. > >> Here's the relevant part of the Makefile for nmake generated by cmake, >> maybe this could help you a bit: >> >> src\lyx.exe: src\CMakeFiles\lyx.dir\build.make >> @ec

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Bo Peng
> > But the generated executable still fails with the same error... The same situation here. Here's the relevant part of the Makefile for nmake generated by cmake, maybe this could help you a bit: src\lyx.exe: src\CMakeFiles\lyx.dir\build.make @echo Linking CXX executable lyx.exe

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Bo Peng
<< mt /manifest lyx.exe.manifest /outputresource:lyx.exe;#2 At least this is not what MS says (something like ;1). Maybe #2 will work? Bo

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Peter Kümmel wrote: mt /manifest lyx.exe.manifest /outputresource:lyx.exe;#2 hum, '/' instead of '-'... Yes, I figure that out already. I now understand what the error means. I apparently have to install VCRedist_x86.exe as explained here: http://msdn2.microsof

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Peter Kümmel wrote: mt /manifest lyx.exe.manifest /outputresource:lyx.exe;#2 hum, '/' instead of '-'... Yes, I figure that out already. I now understand what the error means. I apparently have to install VCRedist_x86.exe as explained here: http://msdn2.microsoft.com/en-us/library/ms

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Peter Kümmel
Abdelrazak Younes wrote: > Abdelrazak Younes wrote: >> >> I think the problem is the '-' in '-manifest'. Cmd transform that in >> '‼'. If I put the command in a bat file, it is transformed in 'û' and >> then in '{': >> This is very stupid from Microsoft to choose program options that >> could be mi

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > I think the problem is the '-' in '-manifest'. Cmd transform that in > '‼'. If I put the command in a bat file, it is transformed in 'û' and > then in '{': Ah. > This is very stupid from Microsoft to choose program options that could > be mis

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Abdelrazak Younes wrote: I think the problem is the '-' in '-manifest'. Cmd transform that in '‼'. If I put the command in a bat file, it is transformed in 'û' and then in '{': This is very stupid from Microsoft to choose program options that could be misinterpreted by its own console. I tr

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: The only reference to that error I found is there: http://groups.google.com/group/microsoft.public.vc.online_help/browse_thread/thread/4a7f8bb7b6e7a899/c0a61ecc733c7090?lnk=raot Well, given that this reply was posted about 1 ho

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > The only reference to that error I found is there: >http://groups.google.com/group/microsoft.public.vc.online_help/browse_thread/thread/4a7f8bb7b6e7a899/c0a61ecc733c7090?lnk=raot Well, given that this reply was posted about 1 hour ago, I'd suggest th

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Then (following MS documentation) the manifest tool should be used to link that to the executable: mt.exe –manifest lyx.exe.manifest -outputresource:lyx.exe;1 mt.exe : command line error c1010007: Unexpected/Unknown option "‼ma

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Then (following MS documentation) the manifest tool should be used to link that to the executable: mt.exe –manifest lyx.exe.manifest -outputresource:lyx.exe;1 mt.exe : command line error c1010007: Unexpected/Unknown option "‼ma

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Then (following MS documentation) the manifest tool should be used to > link that to the executable: > mt.exe –manifest lyx.exe.manifest -outputresource:lyx.exe;1 > mt.exe : command line error c1010007: Unexpected/Unknown option > "‼manifest". Use

Re: Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-31 Thread Abdelrazak Younes
Bo Peng wrote: Does this make sense to anyone? Not to me. The microsoft help says that you need to add the /MANIFEST option to the linker in order to generate the manifest file. link /nologo /MANIFEST /OUT:msvc\qt4\lyx.exe //LIBPATH:msvc\libs /LIBPATH:D:\program\Qt\4.1\lib /LIBPATH:D:\progr

Fwd: [scons-users] How to use the manifest feature of msvc2005?

2006-05-30 Thread Bo Peng
Does this make sense to anyone? -- Forwarded message -- From: Brett Calcott <[EMAIL PROTECTED]> Date: May 31, 2006 12:08 AM Subject: Re: [scons-users] How to use the manifest feature of msvc2005? To: [EMAIL PROTECTED] I had problem with getting the manifest working too. I am usi