Thread overview |
---|
March 20, 2015 OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
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. |
March 20, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koi | 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. |
March 21, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Orfeo | 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 |
March 21, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koi | Just save yourself lots of headaches and abandon the optlink/omf crap with -m64 resp. -m32mscoff. |
March 22, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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?
|
March 22, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koi | 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. |
March 22, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne | 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. |
March 23, 2015 Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koi | 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?
|
Copyright © 1999-2021 by the D Language Foundation