ModuleInfo missing

stefv s1234567 at gmail.Com
Thu Jul 17 11:35:55 UTC 2025


Hello,

I'm creating an application using Windows. This application is 
using an EXE and a DLL. I'm using VisualD with Visual Studio 
Community 2022 and LDC2.

But I have this error:

```
Build started at 13:24...
------ Build started: Project: BugModuleInfoDll, Configuration: 
Debug LDC x64 ------
Building C:\Projets\dlang\dlang_moduleinfo\x64\Debug 
LDC\BugModuleInfoDll.dll...
    Creating library C:\Projets\dlang\dlang_moduleinfo\x64\Debug 
LDC\BugModuleInfoDll.lib and object 
C:\Projets\dlang\dlang_moduleinfo\x64\Debug 
LDC\BugModuleInfoDll.exp
------ Build started: Project: BugModuleInfoExe, Configuration: 
Debug LDC x64 ------
Building C:\Projets\dlang\dlang_moduleinfo\x64\Debug 
LDC\BugModuleInfoExe.exe...
BugModuleInfoExe.obj : error LNK2001: unresolved external symbol 
"BugModuleInfoDll.__ModuleInfo" 
(_D16BugModuleInfoDll12__ModuleInfoZ)
C:\Projets\dlang\dlang_moduleinfo\x64\Debug 
LDC\BugModuleInfoExe.exe : fatal error LNK1120: 1 unresolved 
externals
Error: C:\Program Files\Microsoft Visual 
Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\link.exe failed with status: 1120
Building C:\Projets\dlang\dlang_moduleinfo\x64\Debug 
LDC\BugModuleInfoExe.exe failed (error code 1)!
Details saved as 
"file://C:\Projets\dlang\dlang_moduleinfo\BugModuleInfoExe\x64\Debug%20LDC\BugModuleInfoExe.buildlog.html"

```

The use case project is on this GIT repo: 
https://github.com/stefv/dlang_moduleinfo

I found some threads about similar problems but I can't find a 
solution.

Thank you for your help.

Stef


More information about the Digitalmars-d-ide mailing list