Thread overview
January 01

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

January 02

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-0687F81748D53DC547DB3AD97C8884A9\hipreme_engine.lib and object .dub\build\desktop-debug-windows-x86_64-dmd_v2.102.0-beta.1-dirty-0687F81748D53DC547DB3AD97C8884A9\hipreme_engine.exp                                                                                                                                                                          audio.lib(player_76_5d8.obj) : error LNK2019: unresolved external symbol XAudio2Create referenced in function _D3hip8hipaudio7backend6xaudio6player15HipXAudioPlayer6__ctorMFSQCk3api4data5audio11AudioConfigZCQDrQDqQDkQDfQDbQCx                                                                                                                                                                                                                   .dub\build\desktop-debug-windows-x86_64-dmd_v2.102.0-beta.1-dirty-0687F81748D53DC547DB3AD97C8884A9\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

			HRESULT XAudio2Create(out IXAudio2 ppXAudio2, UINT32 Flags = 0,
					XAUDIO2_PROCESSOR XAudio2Processor = XAUDIO2_DEFAULT_PROCESSOR);

The build does not fail in 2.101.2

January 02
I'm not surprised.

I don't see any ``"libs": ["Xaudio2"]`` in audio or root dub files.
January 02
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");`
January 02
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
January 04

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.

January 15

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.