digitalmars.D.learn - Undefined __moduleUnitTests
- Brian Eyster <beyster firstquality.com> Dec 18 2009
- torhu <no spam.invalid> Dec 19 2009
- Brian Eyster <beyster firstquality.com> Dec 21 2009
- torhu <no spam.invalid> Dec 21 2009
- Brian Eyster <beyster firstquality.com> Dec 21 2009
- Don <nospam nospam.com> Dec 21 2009
I get the following message when trying to compile the winsamp.d code: OPTLINK (R) for Win32 Release 8.00.2 Copyright (C) Digital Mars 1989-2009 All rights reserved. http://www.digitalmars.com/ctg/optlink.html winsamp.obj(winsamp) Error 42: Symbol Undefined __moduleUnitTests --- errorlevel 1 Am I missing something?
Dec 18 2009
On 18.12.2009 8:23, Brian Eyster wrote:I get the following message when trying to compile the winsamp.d code: OPTLINK (R) for Win32 Release 8.00.2 Copyright (C) Digital Mars 1989-2009 All rights reserved. http://www.digitalmars.com/ctg/optlink.html winsamp.obj(winsamp) Error 42: Symbol Undefined __moduleUnitTests --- errorlevel 1 Am I missing something?
Dec 19 2009
I am running the compiler located in C:\dmd2\windows\bin\. In the readme.txt file it gives the following info for the compiler: "dmd.exe D compiler http://www.digitalmars.com/d/2.0/dmd-windows.html" In the sc.ini file in the same directory is gives: "[Version] version=7.51 Build 020" If neither of these is not the version that you are looking for, you will have to direct me to where it can be found.
Dec 21 2009
On 21.12.2009 3:45, Brian Eyster wrote:I am running the compiler located in C:\dmd2\windows\bin\. In the readme.txt file it gives the following info for the compiler: "dmd.exe D compiler http://www.digitalmars.com/d/2.0/dmd-windows.html" In the sc.ini file in the same directory is gives: "[Version] version=7.51 Build 020" If neither of these is not the version that you are looking for, you will have to direct me to where it can be found.
DMD prints the version at the top of the usage instructions. But here's what you need to do: Replace _moduleUnitTests with runModuleUnitTests. And add this declaration somewhere above WinMain: extern (C) bool runModuleUnitTests(); It seems the sample wasn't updated to work with druntime.
Dec 21 2009
Thank you. Your suggestions worked. By the way, the compiler's version is v2.037.
Dec 21 2009
Brian Eyster wrote:I am running the compiler located in C:\dmd2\windows\bin\. In the readme.txt file it gives the following info for the compiler: "dmd.exe D compiler http://www.digitalmars.com/d/2.0/dmd-windows.html" In the sc.ini file in the same directory is gives: "[Version] version=7.51 Build 020" If neither of these is not the version that you are looking for, you will have to direct me to where it can be found.
execute:dmd
Dec 21 2009









Brian Eyster <beyster firstquality.com> 