Trivial simple OpenGl working example

Ferhat Kurtulmuş aferust at gmail.com
Fri Jul 9 06:16:08 UTC 2021


On Friday, 9 July 2021 at 05:17:28 UTC, Виталий Фадеев wrote:
> On Thursday, 8 July 2021 at 17:20:14 UTC, Ferhat Kurtulmuş 
> wrote:
>> On Thursday, 8 July 2021 at 13:51:51 UTC, Виталий Фадеев wrote:
>>> Hi!
>>>

> Each ends with error.

Dear Vitaly (Google translates it like that :)), I didn't touch 
that game for a while. I have just tried to compile and those are 
the steps to build and run it:

Using a Windows 10 x64. (Webassembly build needs crazy efforts, 
don't try it for now. If you are on a posix system please delete 
*.a folders from the root folder because they are for webassembly)

1) Open the dub.json or dub.selections.json, and change "bcaa": 
"~>0.0.5" to "bcaa": "0.0.5" (Recently a contributor and I have 
made some breaking changes in bcaa).

2) Have those lib and dll files in the root folder of the project:

chipmunk.lib // I manually compiled this one
libfreetype-6.dl
libjpeg-9.dll
libpng16-16.dll
libtiff-5.dll
libwebp-7.dll
SDL2_image.dll
SDL2_image.lib
SDL2_ttf.dll
SDL2_ttf.lib
SDL2.dll
SDL2.lib
zlib1.dll

basically, those are win 64-bit builds of SDL2, its friends, and 
their dependencies. If you provide an email, I can send them to 
you via wetransfer.

For posix builds, you will have to figure those out.


More information about the Digitalmars-d-learn mailing list