www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Beta 2.102.0

reply Iain Buclaw <ibuclaw gdcproject.org> writes:
Glad to announce the first beta for the 2.102.0 release, ♥ to the 
37 contributors.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.102.0.html

As usual please report any bugs at
https://issues.dlang.org

-Iain
on behalf of the Dlang Core Team
Jan 01 2023
next sibling parent reply Hipreme <msnmancini hotmail.com> writes:
On Sunday, 1 January 2023 at 10:10:07 UTC, Iain Buclaw wrote:
 Glad to announce the first beta for the 2.102.0 release, ♥ to 
 the 37 contributors.

 http://dlang.org/download.html#dmd_beta
 http://dlang.org/changelog/2.102.0.html

 As usual please report any bugs at
 https://issues.dlang.org

 -Iain
 on behalf of the Dlang Core Team
Hello! I would like to say that this new version is unable to build my engine, I get a linker error: ``` Creating library .dub\build\desktop-debug-windows-x86_64-dmd_v2.102.0-beta.1-dirty-0687F81748D53DC547DB3AD97C8884A \hipreme_engine.lib and object .dub\build\desktop-debug-windows-x86_64-dmd_v2.102.0-beta.1-dirty-0687F81748D53DC547DB3AD97C8884A \hipreme_engine.exp audio.lib(player_76_5d8.obj) : error LNK2019: unresolved external symbol XAudio2Create referenced in function _D3hip8hipaudio7backend6xaudio6player15HipXAudioPlayer6__ctorMFSQCk3api4data5audio11AudioConfig CQDrQDqQDkQDfQDbQCx .dub\build\desktop-debug-windows-x86_64-dmd_v2.102.0-beta.1-dirty-0687F81748D53DC547DB3AD97C8884A \hipreme_engine.exe : fatal error LNK1120: 1 unresolved externals Error: linker exited with status 1120 dmd failed with exit code 1. ``` It seems to fail on XAudio2Create, which is defined as ```d HRESULT XAudio2Create(out IXAudio2 ppXAudio2, UINT32 Flags = 0, XAUDIO2_PROCESSOR XAudio2Processor = XAUDIO2_DEFAULT_PROCESSOR); ``` The build does not fail in 2.101.2
Jan 01 2023
parent reply "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
I'm not surprised.

I don't see any ``"libs": ["Xaudio2"]`` in audio or root dub files.
Jan 02 2023
next sibling parent Hipreme <msnmancini hotmail.com> writes:
On Monday, 2 January 2023 at 08:37:42 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
 I'm not surprised.

 I don't see any ``"libs": ["Xaudio2"]`` in audio or root dub 
 files.
In that same file, I have the code: `pragma(lib, "xaudio2_8");`
Jan 02 2023
prev sibling parent reply Hipreme <msnmancini hotmail.com> writes:
On Monday, 2 January 2023 at 08:37:42 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
 I'm not surprised.

 I don't see any ``"libs": ["Xaudio2"]`` in audio or root dub 
 files.
I just tested! I put that on dub, then it worked. `pragma(lib)` seems to be broken
Jan 02 2023
parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Monday, 2 January 2023 at 12:21:43 UTC, Hipreme wrote:
 `pragma(lib)` seems to be broken
Can you file an issue for this please, if you've not done so yet? https://dlang.org/bugstats.html -- Bastiaan.
Jan 04 2023
prev sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Sunday, 1 January 2023 at 10:10:07 UTC, Iain Buclaw wrote:
 Glad to announce the first beta for the 2.102.0 release, ♥ to 
 the 37 contributors.

 http://dlang.org/download.html#dmd_beta
 http://dlang.org/changelog/2.102.0.html
The release candidate for the 2.102.0 release is now out.
Jan 15 2023