4 ms·
The code seems to pass the compiler now, I get an error in the link phase: c:\dmc\dm\bin\link /de @scppn.lnk OPTLINK (R) for Win32 Release 8.00.13
by AlexeyBrin 8y ago
The code seems to pass the compiler now, I get an error in the link phase:
c:\dmc\dm\bin\link /de @scppn.lnk
OPTLINK (R) for Win32 Release 8.00.13
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
err.obj(err)
Error 42: Symbol Undefined _stdout
c:\dmc\dm\lib\NTSTUB.EXE
Warning 2: File Not Found c:\dmc\dm\lib\NTSTUB.EXE
Maybe you are using a more complete version of the C++ compiler (or some other utilities) than what is available for free on the Digital Mars website.
Another potential problem is that I don't have Visual Studio installed on this machine.
On a more positive note, I think I will give D a try after this experience.
- WalterBright 8y agoI think I had edited core.stdc.stdio Try defining stdout as this: enum stdout = &_iob[1]; in core\stdc\stdio.d
- AlexeyBrin 8y agoIt worked! Thanks. So, I've commented: shared stdout = &_iob[1]; and added: enum stdout = &_iob[1]; Now, I have 5 executables HTODn.exe, msgsx.exe, optabgen.exe, SCPPn.exe, SPPn.exe.
- WalterBright 8y agoAwesome! Meanwhile, I have filed a regression bug report for 2.079.