digitalmars.D.learn - std.experimental.allocator optlink error
- ref2401 (17/17) Nov 09 2015 Hello
- ref2401 (4/21) Nov 09 2015 I tested it with my home laptop(Win 8.1 Pro). Same error.
- uiop (4/28) Nov 09 2015 Can you find the sources in your setup ? Any chance that that
- Xiaoxi (3/6) Nov 10 2015 i have the same issue. i used the installer. i only have one d
- ref2401 (4/7) Nov 10 2015 Installer always
- ref2401 (4/11) Nov 10 2015 I downloaded the `dmd.2.069.0.windows.7z` file and replaced
- uiop (4/19) Nov 10 2015 Wow, that would be an incredible error in the distribution !
- Rikki Cattermole (3/22) Nov 10 2015 One already exists.
- Tofu Ninja (3/5) Nov 20 2015 Any fix for this right now?
- Rikki Cattermole (6/10) Nov 20 2015 Dunno if its been fixed in ~master (doubt it), but all you need to do in...
- Tofu Ninja (5/11) Nov 20 2015 Cool, that worked.
- Ilya Yaroshenko (2/8) Nov 20 2015 No, https://issues.dlang.org/show_bug.cgi?id=15281
- Dustin Walker (21/39) Nov 10 2015 I am having this issue as well. Just used the Windows DMD
- Rikki Cattermole (2/42) Nov 10 2015 Different issue. You are missing the main function.
Hello I wrote a small hello world app and imported the `std.experimental.allocator` module. I'm getting the following optlink error: --------------------------------------------------- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html console-app.obj(console-app) Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ --- errorlevel 1 --------------------------------------------------- os: Windows 8.1 Enterprise dmd: 2.069.0 build sript: dmd main.d -ofconsole-app.exe -debug -unittest -wi Thank you.
Nov 09 2015
On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:Hello I wrote a small hello world app and imported the `std.experimental.allocator` module. I'm getting the following optlink error: --------------------------------------------------- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html console-app.obj(console-app) Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ --- errorlevel 1 --------------------------------------------------- os: Windows 8.1 Enterprise dmd: 2.069.0 build sript: dmd main.d -ofconsole-app.exe -debug -unittest -wi Thank you.I tested it with my home laptop(Win 8.1 Pro). Same error. If I change `std.experimental.allocator` to `std.experimental.logger` then it builds fine.
Nov 09 2015
On Monday, 9 November 2015 at 18:07:39 UTC, ref2401 wrote:On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ? When you setup dmd 2.069, did you use the 7z or installer ?Hello I wrote a small hello world app and imported the `std.experimental.allocator` module. I'm getting the following optlink error: --------------------------------------------------- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html console-app.obj(console-app) Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ --- errorlevel 1 --------------------------------------------------- os: Windows 8.1 Enterprise dmd: 2.069.0 build sript: dmd main.d -ofconsole-app.exe -debug -unittest -wi Thank you.I tested it with my home laptop(Win 8.1 Pro). Same error. If I change `std.experimental.allocator` to `std.experimental.logger` then it builds fine.
Nov 09 2015
On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ? When you setup dmd 2.069, did you use the 7z or installer ?i have the same issue. i used the installer. i only have one d installation...
Nov 10 2015
On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?How can I do that?When you setup dmd 2.069, did you use the 7z or installer ?Installer always btw. Thanks for response. I started thinking nobody cares.
Nov 10 2015
On Tuesday, 10 November 2015 at 08:48:37 UTC, ref2401 wrote:On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:I downloaded the `dmd.2.069.0.windows.7z` file and replaced `phobos.lib` with one from the 7z package. Still getting the error.Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?How can I do that?When you setup dmd 2.069, did you use the 7z or installer ?Installer always btw. Thanks for response. I started thinking nobody cares.
Nov 10 2015
On Tuesday, 10 November 2015 at 10:34:56 UTC, ref2401 wrote:On Tuesday, 10 November 2015 at 08:48:37 UTC, ref2401 wrote:Wow, that would be an incredible error in the distribution ! Waiting for more confirmation to open a bugzilla issue. Otherwise if you are really sure open a ticket yourself.On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:I downloaded the `dmd.2.069.0.windows.7z` file and replaced `phobos.lib` with one from the 7z package. Still getting the error.Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?How can I do that?When you setup dmd 2.069, did you use the 7z or installer ?Installer always btw. Thanks for response. I started thinking nobody cares.
Nov 10 2015
On 11/11/15 12:05 AM, uiop wrote:On Tuesday, 10 November 2015 at 10:34:56 UTC, ref2401 wrote:One already exists. I've confirmed it in the build scripts. It only effects Windows.On Tuesday, 10 November 2015 at 08:48:37 UTC, ref2401 wrote:Wow, that would be an incredible error in the distribution ! Waiting for more confirmation to open a bugzilla issue. Otherwise if you are really sure open a ticket yourself.On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:I downloaded the `dmd.2.069.0.windows.7z` file and replaced `phobos.lib` with one from the 7z package. Still getting the error.Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?How can I do that?When you setup dmd 2.069, did you use the 7z or installer ?Installer always btw. Thanks for response. I started thinking nobody cares.
Nov 10 2015
On Tuesday, 10 November 2015 at 11:39:56 UTC, Rikki Cattermole wrote:One already exists. I've confirmed it in the build scripts. It only effects Windows.Any fix for this right now?
Nov 20 2015
On 21/11/15 1:31 AM, Tofu Ninja wrote:On Tuesday, 10 November 2015 at 11:39:56 UTC, Rikki Cattermole wrote:Dunno if its been fixed in ~master (doubt it), but all you need to do in your code, is copy it in. I've personally marked (well voted anyway) for this bug to be critical. It seems I'm the only one who thinks this is worth its own point release *shrugs*.One already exists. I've confirmed it in the build scripts. It only effects Windows.Any fix for this right now?
Nov 20 2015
On Friday, 20 November 2015 at 12:49:02 UTC, Rikki Cattermole wrote:Dunno if its been fixed in ~master (doubt it), but all you need to do in your code, is copy it in.Cool, that worked.I've personally marked (well voted anyway) for this bug to be critical. It seems I'm the only one who thinks this is worth its own point release *shrugs*.Yeah this is a pretty big oversight and seems like it should be fixed asap.
Nov 20 2015
On Friday, 20 November 2015 at 12:31:37 UTC, Tofu Ninja wrote:On Tuesday, 10 November 2015 at 11:39:56 UTC, Rikki Cattermole wrote:No, https://issues.dlang.org/show_bug.cgi?id=15281One already exists. I've confirmed it in the build scripts. It only effects Windows.Any fix for this right now?
Nov 20 2015
On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:Hello I wrote a small hello world app and imported the `std.experimental.allocator` module. I'm getting the following optlink error: --------------------------------------------------- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html console-app.obj(console-app) Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ --- errorlevel 1 --------------------------------------------------- os: Windows 8.1 Enterprise dmd: 2.069.0 build sript: dmd main.d -ofconsole-app.exe -debug -unittest -wi Thank you.I am having this issue as well. Just used the Windows DMD installer 1 hour ago. Tried this:dmd jmtg\src\Permanent.d jmtg\src\Color.dOPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 23: No Stack Permanent.obj(Permanent) Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ Permanent.obj(Permanent) Error 42: Symbol Undefined _D6Object7__ClassZ Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZb Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object8toStringMFZAya Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object6toHashMFNbNeZk OPTLINK : Warning 134: No Start Address --- errorlevel 6
Nov 10 2015
On 11/11/15 5:17 PM, Dustin Walker wrote:On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:Different issue. You are missing the main function.Hello I wrote a small hello world app and imported the `std.experimental.allocator` module. I'm getting the following optlink error: --------------------------------------------------- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html console-app.obj(console-app) Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ --- errorlevel 1 --------------------------------------------------- os: Windows 8.1 Enterprise dmd: 2.069.0 build sript: dmd main.d -ofconsole-app.exe -debug -unittest -wi Thank you.I am having this issue as well. Just used the Windows DMD installer 1 hour ago. Tried this:dmd jmtg\src\Permanent.d jmtg\src\Color.dOPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 23: No Stack Permanent.obj(Permanent) Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ Permanent.obj(Permanent) Error 42: Symbol Undefined _D6Object7__ClassZ Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZb Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object8toStringMFZAya Permanent.obj(Permanent) Error 42: Symbol Undefined _D6object6Object6toHashMFNbNeZk OPTLINK : Warning 134: No Start Address --- errorlevel 6
Nov 10 2015