/MANIFEST:EMBED and VC9

124 views
Skip to first unread message

Robin Dunn

unread,
Dec 12, 2019, 11:22:08 AM12/12/19
to wx-...@googlegroups.com
It looks like the VC9 linker does not like the /MANIFEST:EMBED option.

    link /DLL /NOLOGO /OUT:..\..\lib\vc90_x64_dll\wxbase314u_vc90_x64.dll  /DEBUG /pdb:"..\..\lib\vc90_x64_dll\wxbase314u_vc90_x64.pdb" /opt:ref /opt:icf  /MANIFEST:EMBED  /MANIFESTINPUT:../../include/wx/msw/amd64-dpi-aware-pmv2.manifest /MACHINE:X64 /LIBPATH:..\..\lib\vc90_x64_dll   @C:\Users\robind\AppData\Local\Temp\nm62CB.tmp
LINK : fatal error LNK1117: syntax error in option 'MANIFEST:EMBED'
NMAKE : fatal error U1077: 'C:\TOOLS\VisStudio9\VC\BIN\amd64\link.EXE' : return code '0x45d'
Stop.

Is there any other way to do that or will I just have to turn off USE_DPI_AWARE_MANIFEST for these builds?

Thanks,
Robin

Maarten Bent

unread,
Dec 12, 2019, 2:05:53 PM12/12/19
to wx-...@googlegroups.com
Hi Robin,

I don't think there is a way to specifically disable it for VC9 in the generated makefile.vc of the msvs projects (which do you use?).
If you use the makefile you can disable it with argument USE_DPI_AWARE_MANIFEST=0. AppVeyor does the same for the VC9 build (
https://github.com/wxWidgets/wxWidgets/blob/master/build/tools/appveyor.bat#L18 ).

Maarten
--
To unsubscribe, send email to wx-dev+un...@googlegroups.com
or visit http://groups.google.com/group/wx-dev

---
You received this message because you are subscribed to the Google Groups "wx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wx-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-dev/dc2238e2-e84a-ff0c-2f31-575aa3726010%40alldunn.com.

Robin Dunn

unread,
Dec 12, 2019, 2:47:54 PM12/12/19
to wx-...@googlegroups.com, Maarten Bent
Yes, I'm using the makefile. I did spot that the  USE_DPI_AWARE_MANIFEST could be used to turn it off, I was just hoping that there would be some other way to do it that wouldn't require turning off the feature for VC9 builds.

OTOH, I don't plan on supporting these builds for much longer so it may not matter enough to worry about it.

Robin

Maarten Bent wrote on 12/12/19 11:05 AM:
Reply all
Reply to author
Forward
0 new messages