arsd-minigui - couple of questions

sai sai at dummy.com
Tue Mar 29 13:39:25 UTC 2022


On Monday, 28 March 2022 at 23:03:01 UTC, Adam Ruppe wrote:
> In fact, using a pragma now, I think I got it so you don't even 
> need the manifest now (the pragma includes a default one now).
>
> Only works when doing dmd -m32mscoff or dmd -m64 builds (which 
> are also what dub uses fyi), will NOT work with a default dmd 
> no-switch build.

I just cloned the latest arsd lib from github today and compiled 
the example. Got an error. Switched on verbose flag for dub and 
here is the output:

(Lines below until the error is just one giant line, I split them 
here for clarity)

```
C:\dlang\dmd2\windows\bin64\dmd.exe 
-of.dub\build\application-debug-windows-x86_64-dmd_v2.099.0-dirty-9C73C615E47957E2F0196C61BFACFF7A\app.exe

.dub\build\application-debug-windows-x86_64-dmd_v2.099.0-dirty-9C73C615E47957E2F0196C61BFACFF7A\app.obj

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-5128CD87C77EA53A12BDD90A8B37E0E4\arsd-official_image_files.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-66D647CCA1055F2F9BD2C4AAD0551124\arsd-official_bmp.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-8F6807A564A94A3E26A5FDE91B0A798F\arsd-official_imageresize.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-24F06AB33E1AC529F9B3C0A9DEA4B137\arsd-official_jpeg.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-ABDB0882B5E2D9CDE956E9E845377256\arsd-official_png.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-1DE97EFE0E43837E141C233C0AA5C31F\arsd-official_svg.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-0128B44A475FA39689E2D238F5500D0D\arsd-official_minigui.lib

C:\dlang\arsd\.dub\build\normal-debug-windows-x86_64-dmd_v2.099.0-dirty-CD2FC136BEDCF32714DEA23BE867AC78\arsd-official_simpledisplay.lib

C:\dlang\arsd\.dub\build\library-debug-windows-x86_64-dmd_v2.099.0-dirty-1A0BC8A3D79617FC811AC1F1422195CC\arsd-official_color_base.lib gdi32.lib ole32.lib -m64 -g

lld-link: error: /manifestdependency: is not allowed in .drectve
Error: linker exited with status 1
FAIL 
.dub\build\application-debug-windows-x86_64-dmd_v2.099.0-dirty-9C73C615E47957E2F0196C61BFACFF7A\ app executable
C:\dlang\dmd2\windows\bin64\dmd.exe failed with exit code 1.
```

I searched for "manifestdependency" and "drectve" (w/o quotes) in 
arsd lib and couldn't find them so not sure how to debug this 
further. I also removed the explicit manifest file from the 
directory of the exe file (its presence didn't make any 
difference anyway, as exe file is not created as link failed).







More information about the Digitalmars-d-learn mailing list