digitalmars.D.learn - Undefined __moduleUnitTests
- Brian Eyster (9/9) Dec 18 2009 I get the following message when trying to compile the winsamp.d
- torhu (2/11) Dec 19 2009 The function was probably renamed. Which compiler version are you using...
- Brian Eyster (8/8) Dec 21 2009 I am running the compiler located in C:\dmd2\windows\bin\.
- torhu (7/15) Dec 21 2009 DMD prints the version at the top of the usage instructions.
- Brian Eyster (2/2) Dec 21 2009 Thank you. Your suggestions worked. By the way, the compiler's
- Don (4/13) Dec 21 2009 The readme is ancient, and sc.ini is about 3000 years old. You need to
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?The function was probably renamed. Which compiler version are you using?
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.The readme is ancient, and sc.ini is about 3000 years old. You need to execute:dmdand read the version info from there.
Dec 21 2009