I was following instructions from this link https://gtkdcoding.com/2019/01/11/0000-introduction-to-gtkDcoding.html to setup GtkD, and tried to run the example with VSCode and found these errors:

"a virtual call inside a constructor may lead to unexpected results in the derived classes" in "greeting()" in:

'''D

this()
        {
                super(title);
                addOnDestroy(&quitApp);
                
                showAll();
                
                greeting();
                
        } // this()

'''

I found this also:
"Error: there is no registered task type 'rdmd'. Did you miss installing an extension that provides a corresponding task provider?"

And this:

"lld-link: error: undefined symbol: __D3gio5FileT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ) referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio11FileMonitor12__ModuleInfoZ)

lld-link: error: undefined symbol: __D3gio6MountT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ)

lld-link: error: undefined symbol: __D3gio6DriveT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ)

lld-link: error: undefined symbol: __D3gio7VolumeT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ)

lld-link: error: undefined symbol: __D3gio8AppInfoT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ) referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio16AppLaunchContext12__ModuleInfoZ)

lld-link: error: undefined symbol: __D3gio7ActionT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D3gio11Application12__ModuleInfoZ)

lld-link: error: undefined symbol: __D7gobject11TypePluginT12__ModuleInfoZ
referenced by C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-3DA0262365BDE4A77C34FE7371395AD2\objs\vdtest01.exe.obj:(__D7gobject4Type12__ModuleInfoZ)
Error: linker exited with status 1

* The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'rdmd' 'd:\Documents\My Projects\D\vdtest01.d'" terminated with exit code: 1. "

Reply via email to