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:\program\Qt\4.1\lib /LIBPATH:D:\program\GnuWin32\lib /LIBPATH:D:\program\Aspell-0.60.4\lib lyxbase_pre.lib mathed.lib insets.lib frontends.lib qt4.lib controllers.lib graphics.lib supports.lib lyxbase_post.lib included_boost_signals.lib included_boost_regex.lib included_boost_filesystem.lib included_boost_iostreams.lib QtCore4.lib QtGui4.lib shlwapi.lib gdi32.lib shell32.lib advapi32.lib zlib.lib "msvc\common\main.obj"

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

Microsoft (R) Manifest Tool version 5.2.3790.2014
Copyright (c) Microsoft Corporation 2005.
All rights reserved.

mt.exe : command line error c1010007: Unexpected/Unknown option "‼manifest". Use the /? option for help on usage and samples.

That's a very nice help from Microsoft...

Abdel.

Reply via email to