www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

reply "Koi" <koi nokoi.de> writes:
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
next sibling parent reply "Orfeo" <orfeo.davia gmail.com> writes:
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
parent "Koi" <koi nokoi.de> writes:
On Friday, 20 March 2015 at 21:35:54 UTC, Orfeo wrote:
 You can refer to
 http://forum.dlang.org/post/jhbgaacoguxaubxgpeuk forum.dlang.org
but 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
prev sibling next sibling parent reply "Trass3r" <un known.com> writes:
Just save yourself lots of headaches and abandon the optlink/omf 
crap with -m64 resp. -m32mscoff.
Mar 21 2015
parent "Koi" <koi nokoi.de> writes:
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
prev sibling parent reply Etienne <etcimon gmail.com> writes:
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
parent reply "Koi" <koi nokoi.de> writes:
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
parent reply "wobbles" <grogan.colin gmail.com> writes:
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:
 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.
Maybe this should be distributed in the DMD installer?
Mar 23 2015
parent "Koi" <koi nokoi.de> writes:
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