digitalmars.D.learn - OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"
- Koi (10/10) Mar 20 2015 Hello,
- Orfeo (6/18) Mar 20 2015 You can refer to
- Koi (17/22) Mar 21 2015 but i don't want to throw in the towel. ;)
- Trass3r (2/2) Mar 21 2015 Just save yourself lots of headaches and abandon the optlink/omf
- Koi (4/6) Mar 22 2015 thank you.
- Etienne (7/17) Mar 22 2015 This is due to a high amount of symbols in your code.
Hello, after some coding i needed to update some external libraries like DerelictSDL2. As we all know, one update isn't enough, so i updated my whole d-environment at the end of the day (current dmd version, VisualD). After getting rid of some linking errors (symbols undefined) i have only one error left: Optlink: Error 45: Too Much DEBUG Data for Old CodeView format i googled, but really can't figure out what this error is about.
Mar 20 2015
You can refer to http://forum.dlang.org/post/jhbgaacoguxaubxgpeuk forum.dlang.org Do you use dub? I resolved my problems (on Win) abandoning dub and using makefile. On Friday, 20 March 2015 at 17:35:19 UTC, Koi wrote:Hello, after some coding i needed to update some external libraries like DerelictSDL2. As we all know, one update isn't enough, so i updated my whole d-environment at the end of the day (current dmd version, VisualD). After getting rid of some linking errors (symbols undefined) i have only one error left: Optlink: Error 45: Too Much DEBUG Data for Old CodeView format i googled, but really can't figure out what this error is about.
Mar 20 2015
On Friday, 20 March 2015 at 21:35:54 UTC, Orfeo wrote:You can refer to http://forum.dlang.org/post/jhbgaacoguxaubxgpeuk forum.dlang.orgbut i don't want to throw in the towel. ;) Compiling in release mode works fine, yes.Do you use dub? I resolved my problems (on Win) abandoning dub and using makefile.i used dub to create the Derelicts .lib files. My VisualD project use this dmd command: "$(VisualDInstallDir)pipedmd.exe" dmd -g -debug -X -Xf"$(IntDir)\$(TargetName).json" -IC:\_projekte\D\Workspace\Derelict3-Updated\import -deps="$(OutDir)\$(ProjectName).dep" -of"$(OutDir)\$(ProjectName).exe" -map "$(INTDIR)\$(SAFEPROJECTNAME).map" -L/NOMAP C:\_projekte\D\Workspace\Derelict3-Updated\DerelictUtil\lib\DerelictUtil.lib C:\_projekte\D\Workspace\Derelict3-Updated\DerelictSDL2\lib\DerelictSDL2.lib C:\_projekte\D\Workspace\Derelict3-Updated\DerelictGL3\lib\DerelictGL3.lib C:\_projekte\D\Workspace\Derelict3-Updated\DerelictAl\lib\DerelictAL.lib C:\_projekte\D\Workspace\Derelict3-Updated\DerelictFt\lib\DerelictFT.lib -L/SUBSYSTEM:WINDOWS
Mar 21 2015
Just save yourself lots of headaches and abandon the optlink/omf crap with -m64 resp. -m32mscoff.
Mar 21 2015
On Saturday, 21 March 2015 at 21:25:26 UTC, Trass3r wrote:Just save yourself lots of headaches and abandon the optlink/omf crap with -m64 resp. -m32mscoff.thank you. After some reading about m32mscoff, i have to recompile druntime and phobos with MODEL=32mscoff to use the new switch?
Mar 22 2015
On 3/20/2015 1:35 PM, Koi wrote:Hello, after some coding i needed to update some external libraries like DerelictSDL2. As we all know, one update isn't enough, so i updated my whole d-environment at the end of the day (current dmd version, VisualD). After getting rid of some linking errors (symbols undefined) i have only one error left: Optlink: Error 45: Too Much DEBUG Data for Old CodeView format i googled, but really can't figure out what this error is about.This is due to a high amount of symbols in your code. I fixed this almost a year ago in the optlink repository: https://github.com/DigitalMars/optlink/pull/15 You should be able to download it on the digitalmars.com website under: Digital Mars C/C++ Compiler Version 8.57 (3662658 bytes) The link.exe file in the bin folder is up-to-date.
Mar 22 2015
thank you Etienne, after i replaced dmd's link.exe my project compiles successfully in debug-mode again. i'll add this info in my "todo-after-installing-DMD.txt" just in case. On Sunday, 22 March 2015 at 14:29:14 UTC, Etienne wrote:This is due to a high amount of symbols in your code. I fixed this almost a year ago in the optlink repository: https://github.com/DigitalMars/optlink/pull/15 You should be able to download it on the digitalmars.com website under: Digital Mars C/C++ Compiler Version 8.57 (3662658 bytes) The link.exe file in the bin folder is up-to-date.
Mar 22 2015
On Sunday, 22 March 2015 at 15:29:00 UTC, Koi wrote:thank you Etienne, after i replaced dmd's link.exe my project compiles successfully in debug-mode again. i'll add this info in my "todo-after-installing-DMD.txt" just in case. On Sunday, 22 March 2015 at 14:29:14 UTC, Etienne wrote:Maybe this should be distributed in the DMD installer?This is due to a high amount of symbols in your code. I fixed this almost a year ago in the optlink repository: https://github.com/DigitalMars/optlink/pull/15 You should be able to download it on the digitalmars.com website under: Digital Mars C/C++ Compiler Version 8.57 (3662658 bytes) The link.exe file in the bin folder is up-to-date.
Mar 23 2015
On Monday, 23 March 2015 at 13:29:15 UTC, wobbles wrote:Maybe this should be distributed in the DMD installer?i don't know :)
Mar 25 2015