Thread overview | |||||
---|---|---|---|---|---|
|
May 11, 2019 dub / debug build / missing symbols | ||||
---|---|---|---|---|
| ||||
I somehow managed to get debug symbols into my dub project in the past.
Now I'm trying to extend my dub configuration to use different libs for debug and release versions.
"buildTypes" : {
"debug" : {
"libs-windows-x86_64" : ["user32", "gdi32", "mylib1_d_x64", "mylib2_d_x64"],
},
"release" : {
"libs-windows-x86_64" : ["user32", "gdi32", "mylib1_x64", "mylib2_x64"],
}
},
And now, the debug build doesn't contain any symbols anymore... what am I missing?
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
|
May 12, 2019 Re: dub / debug build / missing symbols | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Saturday, 11 May 2019 at 16:12:34 UTC, Robert M. Münch wrote:
> I somehow managed to get debug symbols into my dub project in the past.
>
> Now I'm trying to extend my dub configuration to use different libs for debug and release versions.
>
> "buildTypes" : {
> "debug" : {
> "libs-windows-x86_64" : ["user32", "gdi32", "mylib1_d_x64", "mylib2_d_x64"],
> },
>
> "release" : {
> "libs-windows-x86_64" : ["user32", "gdi32", "mylib1_x64", "mylib2_x64"],
> }
> },
>
> And now, the debug build doesn't contain any symbols anymore... what am I missing?
Not really familiar with this, but at a guess...
Have you tried it without the 32-bit references?
|
May 12, 2019 Re: dub / debug build / missing symbols | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ron Tarrant | On 2019-05-12 16:46:10 +0000, Ron Tarrant said: > Not really familiar with this, but at a guess... Have you tried it without the 32-bit references? There are not 32bit references, but 64bit libs. MS was so smart to name the API Win32, doesn't has to do anything with 32 or 64 bit... If I'm removing the buildType and only use my debug lib, it works and I get the symbols. -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
Copyright © 1999-2021 by the D Language Foundation