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 misinterpreted by its own console.
> 
> I tried '/' instead of '-' and it seems to work:
> 
> D:\devel\lyx\trunk\development\scons\msvc\qt4>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.
> 
> But the generated executable still fails with the same error...
> 
> Abdel.
> 
> 

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
        cd C:\sandbox\lyx\b2\src
        $(CMAKE_COMMAND) -P CMakeFiles\lyx.dir\cmake_clean_target.cmake
        cd C:\sandbox\lyx\b2
        cd C:\sandbox\lyx\b2\src
        C:\PROGRA~1\MID05A~1\VC\bin\cl.exe  /nologo @<<
  /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 
$(lyx_OBJECTS) $(lyx_EXTERNAL_OBJECTS) /Felyx.exe 
/FdC:\sandbox\lyx\b2\src\lyx.pdb -link  /STACK:10000000 /machine:I386 
/INCREMENTAL:YES /debug /subsystem:console  
-LIBPATH:c:\sandbox\lyx\b2\src\mathed -LIBPATH:c:\sandbox\lyx\b2\src\insets 
-LIBPATH:c:\sandbox\lyx\b2\src\frontends\controllers 
-LIBPATH:c:\sandbox\lyx\b2\src\frontends 
-LIBPATH:c:\sandbox\lyx\b2\src\frontends\qt4 
-LIBPATH:c:\sandbox\lyx\b2\src\graphics -LIBPATH:c:\sandbox\lyx\b2\src\support 
-LIBPATH:c:\sandbox\lyx\b2\boost\libs\filesystem 
-LIBPATH:c:\sandbox\lyx\b2\boost\libs\regex 
-LIBPATH:c:\sandbox\lyx\b2\boost\libs\signals 
-LIBPATH:c:\sandbox\lyx\b2\boost\libs\iostreams -LIBPATH:c:\sandbox\qt4\qt4\lib 
mathed.lib insets.lib frontends.lib controllers.lib frontend_qt4.lib 
graphics.lib support.lib boost_filesystem.lib boost_regex.lib
boost_signals.lib boost_iostreams.lib QtCored4.lib QtGuid4.lib QtXmld4.lib 
controllers.lib Gdi32.lib shlwapi.lib kernel32.lib user32.lib gdi32.lib 
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib 
advapi32.lib
<<
        mt /manifest lyx.exe.manifest /outputresource:lyx.exe;#2
        cd C:\sandbox\lyx\b2

Reply via email to