Redub v1.29.0: Linker Error Diagnostics
Hipreme
msnmancini at hotmail.com
Sat Jul 4 00:11:27 UTC 2026
On Friday, 29 May 2026 at 22:38:55 UTC, Hipreme wrote:
> On Friday, 29 May 2026 at 18:19:36 UTC, Kapendev wrote:
>> On Friday, 29 May 2026 at 17:49:02 UTC, Hipreme wrote:
>>> These days, Adam implemented directly in OpenD support on
>>> Windows for executable icons. And it looked really awesome, I
>>> asked for the implementation so I got that also inside redub.
>>> You can easily add that by specifying inside your recipe file:
>>> ```json
>>> "icon": [
>>> "logo256x256.png",
>>> "logo16x16.png",
>>> "logo32x32.png"
>>> ]
>>> ```
>>> And that's it. All that you require to get sweet icons on
>>> your executable like that:
>>> 
>>
>> Cool stuff!
>
> Just a quick headsup that I ended up also adding AppImage
> support to redub. Simply execute `redub build --bundle=linux`
> (When using linux).
>
> Added also a new configuration on recipe for that:
>
> ```json
> "bundleConfiguration": {
> "categories" [
> "Game"
> ],
> "terminal": false
> }
> ```
After checking multiple linker errors regarding a not included
file, I've decided into further improving redub, this time, it
includes an experimental linker error diagnostics for Windows
MSVC.
The message:
```d
hipreme_engine.obj : error LNK2001: unresolved external symbol
_D3hip3api12__ModuleInfoZ
C:\Users\Hipreme\AppData\Local\.dub\.redub\1AB9D53797DC3516\1AB9D53797DC3516\hipreme_engine.exe : fatal error LNK1120: 1 externo
não resolvidos
Error: C:\Program Files (x86)\Microsoft Visual
Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\link.exe failed
with status: 1120
```
Gets the additional message:
```d
Redub Help Message: Module hip.api is imported by:
hip.view.load_scene
(C:\Users\Hipreme\Documents\D\HipremeEngine\source\hip\view\load_scene.d)
```
Hope this helps everyone as much as this is helping me finding
hidden imports! The good thing is that it works even if your
program is not including fully qualified names.
More information about the Digitalmars-d-announce
mailing list