On Monday, 15 August 2022 at 17:33:25 UTC, frame wrote:
On Saturday, 13 August 2022 at 01:14:09 UTC, pascal111 wrote:
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:
How do you start compiling in VsCode? Are you using an
extension?
\* 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. "
Try to execute commands in legacy cmd.exe, not powershell.
I used it in a small project a year ago, it works fine.
Now, I used cmd.exe and found this new errors:
"lld-link: error: undefined symbol: __D3gio5FileT12__ModuleInfoZ
referenced by
C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-2F84C696987A5BD731F07ACFE32B2867\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ)
referenced by
C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-2F84C696987A5BD731F07ACFE32B2867\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-2F84C696987A5BD731F07ACFE32B2867\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-2F84C696987A5BD731F07ACFE32B2867\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-2F84C696987A5BD731F07ACFE32B2867\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-2F84C696987A5BD731F07ACFE32B2867\objs\vdtest01.exe.obj:(__D3gio22ApplicationCommandLine12__ModuleInfoZ)
referenced by
C:\Users\PASCAL~1\AppData\Local\Temp\.rdmd\rdmd-vdtest01.d-2F84C696987A5BD731F07ACFE32B2867\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-2F84C696987A5BD731F07ACFE32B2867\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-2F84C696987A5BD731F07ACFE32B2867\objs\vdtest01.exe.obj:(__D7gobject4Type12__ModuleInfoZ)
Error: linker exited with status 1"