Re: Solution: can't start 1.5svn under windows - Bo?
That's the problem, for me it always worked without the MSCV-manifest file. Maybe there is some .manifest file in your $PATH that works like this .crt.manifest file. A search with extension .manifest? Bo
Re: Solution: can't start 1.5svn under windows - Bo?
Bo Peng schrieb: >> frontend_env['LINKCOM'] = [frontend_env['LINKCOM'], 'mt.exe /MANIFEST %s >> ..\Win32\packaging\Microsoft.VC80.CRT.manifest /outputresource:$TARGET;1' % manifest] >> >> This runs through but I can then not open the lyx.exe. Putting the command > This way, you only have vc80.crt.manifest, not qtgui.dll.manifest. But the console tells me that both files are processed by mt.exe. Th path to the qtgui-manifaest is stored in the "%s". Following the mt.exe parameters this call should do what we want, but then the executables are broken. You can proceed as follows: 1. build lyx.exe usual 2. rename vc80.crt.manifest to something else and see if lyx can start 3. try to embed vc80.crt.manifest to lyx.exe as suggested before If you can manage to generate a lyx.exe that can be started without vc80.crt.manifest, send me the command line and I will change SConstruct file accordingly. That's the problem, for me it always worked without the MSCV-manifest file. regards Uwe
Re: Solution: can't start 1.5svn under windows - Bo?
> mt.exe /MANIFEST /path/to/this.manifest /outputresource:lyx.exe:1 > > on your lyx.exe file, and > > mt.exe /MANIFEST /path/to/this.manifest /path/to/qtcore.dll.manifest > /outputresource:lyx.exe:1 > > and see if you can embed two manifest files at the same time. I modified line 1374 in /development/scons/Sconstruct from frontend_env['LINKCOM'] = [frontend_env['LINKCOM'], 'mt.exe /MANIFEST %s /outputresource:$TARGET;1' % manifest] to frontend_env['LINKCOM'] = [frontend_env['LINKCOM'], 'mt.exe /MANIFEST %s ..\Win32\packaging\Microsoft.VC80.CRT.manifest /outputresource:$TARGET;1' % manifest] This runs through but I can then not open the lyx.exe. Putting the command This way, you only have vc80.crt.manifest, not qtgui.dll.manifest. 'mt.exe /MANIFEST ..\Win32\packaging\Microsoft.VC80.CRT.manifest /outputresource:$TARGET;1' in an extra line outside the LINKCOM environment does nothing. Any ideas? You can proceed as follows: 1. build lyx.exe usual 2. rename vc80.crt.manifest to something else and see if lyx can start 3. try to embed vc80.crt.manifest to lyx.exe as suggested before If you can manage to generate a lyx.exe that can be started without vc80.crt.manifest, send me the command line and I will change SConstruct file accordingly. Cheers, Bo
Re: Solution: can't start 1.5svn under windows - Bo?
Bo Peng schrieb: I do not know whether or not I can embed this manifest file with lyx.exe, since it has already been embedded with QtCore.dll.manifest. I can only see that we embed the QtGui4.dll.manifest, not the Qtcore.dll.manifest. Please try: mt.exe /MANIFEST /path/to/this.manifest /outputresource:lyx.exe:1 on your lyx.exe file, and mt.exe /MANIFEST /path/to/this.manifest /path/to/qtcore.dll.manifest /outputresource:lyx.exe:1 and see if you can embed two manifest files at the same time. I modified line 1374 in /development/scons/Sconstruct from frontend_env['LINKCOM'] = [frontend_env['LINKCOM'], 'mt.exe /MANIFEST %s /outputresource:$TARGET;1' % manifest] to frontend_env['LINKCOM'] = [frontend_env['LINKCOM'], 'mt.exe /MANIFEST %s ..\Win32\packaging\Microsoft.VC80.CRT.manifest /outputresource:$TARGET;1' % manifest] This runs through but I can then not open the lyx.exe. Putting the command 'mt.exe /MANIFEST ..\Win32\packaging\Microsoft.VC80.CRT.manifest /outputresource:$TARGET;1' in an extra line outside the LINKCOM environment does nothing. Any ideas? Joost delivered the MSVC manifest together with his builds, perhaps he also didn't manage to include it. regards Uwe
Re: Solution: can't start 1.5svn under windows - Bo?
This was the problem!!! Now I spent two weeks of hard testing together with the users wh reported this first and I didn't came to this idea .-( When I deliver this manifest fil togehter with the Dlls mentioned in this file, it works. Congratulations on identifying the problem!! I still remember the days I (we) struggled on the manifest problems, until, only by chance, Abdel found out that .manifest file for QtCore.dll need to be embedded. I do not know whether or not I can embed this manifest file with lyx.exe, since it has already been embedded with QtCore.dll.manifest. Please try: mt.exe /MANIFEST /path/to/this.manifest /outputresource:lyx.exe:1 on your lyx.exe file, and mt.exe /MANIFEST /path/to/this.manifest /path/to/qtcore.dll.manifest /outputresource:lyx.exe:1 and see if you can embed two manifest files at the same time. Cheers, Bo
Solution: can't start 1.5svn under windows - Bo?
Uwe Stöhr schrieb: >> Another user has this problem too. I made a lot of tests the last days >> together with this user but I'm still not able to reproduce it. > It's maybe a manifest problem again. I notices tha there is the file "Microsoft.VC80.CRT.manifest" in SVN's \development\Win32\packaging folder and our Scons script don't seem to process it. Bo, do you know what this is for? This was the problem!!! Now I spent two weeks of hard testing together with the users wh reported this first and I didn't came to this idea .-( When I deliver this manifest fil togehter with the Dlls mentioned in this file, it works. But OK, since we know the problem could you Bo have a look how the manifest-file can be processed: The msvc manifest file needs to be included running the mt.exe and I don't know how to do this. thanks in advance and regards Uwe