digitalmars.D.learn - dub / debug build / missing symbols
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (19/19) May 11 2019 I somehow managed to get debug symbols into my dub project in the past.
- Ron Tarrant (3/19) May 12 2019 Not really familiar with this, but at a guess...
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (9/11) May 12 2019 There are not 32bit references, but 64bit libs. MS was so smart to name
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 11 2019
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
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
May 12 2019