searchbar

2025-03-27 Thread Salih Dincer via Digitalmars-d-learn
Hi everyone, I'm trying to make a search bar with buffwr. If we go through something simple like this: ```d module searchbar; import raylib; import std.string; import std.stdio; import std.array; import std.algorithm; struct Person { string name; string email; } class SearchBar { priv

Re: Testing issues related to changes made in phobos locally

2025-03-27 Thread Nick Treleaven via Digitalmars-d-learn
On Monday, 24 March 2025 at 13:43:26 UTC, Akshat Sharma wrote: $ make -j16 -f posix.mak unittest posix.mak:1: = DEPRECATION NOTICE = posix.mak:2: = DEPRECATION: posix.mak is deprecated. Please use generic Makefile instead. posix.mak:3: == C:/Dev-Cpp/bin/m

Re: bindbc, SDL

2025-03-27 Thread ryuukk_ via Digitalmars-d-learn
On Thursday, 27 March 2025 at 06:17:28 UTC, Claus D. Volko wrote: Well, well. Now my code builds but it seems that the call of SDL_Init fails. I wonder if SDL3.lib is okay since I built it myself using Visual Studio. Maybe there is some prebuilt version available somewhere? If you are using

Re: bindbc, SDL

2025-03-27 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 27 March 2025 at 06:17:28 UTC, Claus D. Volko wrote: Well, well. Now my code builds but it seems that the call of SDL_Init fails. I wonder if SDL3.lib is okay since I built it myself using Visual Studio. Maybe there is some prebuilt version available somewhere? What do you mean

Re: bindbc, SDL

2025-03-27 Thread Claus D. Volko via Digitalmars-d-learn
I got my program to work. The DLL files had been missing and I had to include a call to loadSDL. That was all that had to be done. Hooray! Thanks again for your help.

Re: bindbc, SDL

2025-03-27 Thread Claus D. Volko via Digitalmars-d-learn
On Thursday, 27 March 2025 at 07:40:38 UTC, ryuukk_ wrote: If you are using the shared library instead of the static library, you need to load it, call the `loadSDL` function Judging from what's written on https://en.wikipedia.org/wiki/Shared_library it should actually be a static library as

Re: bindbc, SDL

2025-03-27 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 28/03/2025 3:06 AM, Claus D. Volko wrote: On Thursday, 27 March 2025 at 07:40:38 UTC, ryuukk_ wrote: If you are using the shared library instead of the static library, you need to load it, call the `loadSDL` function Judging from what's written on https://en.wikipedia.org/wiki/ Shared_libr