[BRLTTY] Can't get brltty to build, was Re: Support multiple Python versions on Windows

Dave Mielke Dave at mielke.cc
Fri Oct 13 07:52:26 EDT 2023


[quoted lines by Leonard de Ruijter on 2023/09/28 at 21:50 +0200]

>Unfortunately, I can't get brltty to build on my Windows system. Here is wat
>I do:
>
>
>1. With mingw-get, install msys1 and mingw
>
>2. Start msys1
>
>3. Run the winsetup script
>
>4. Run autogen
>
>5. Run mkwin ..

Looks right.

>Whatever I do, I get the following warnings:
>
>mkwin: configuring build
>../source/brltty-prologue.bash: line 287: declare: -A: invalid option
>declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
>../source/brltty-prologue.bash: line 387: declare: -n: invalid option
>declare: usage: declare [-afFirtx] [-p] [name[=value] ...]

These are harmless. Just an out-of-date bash. I get them too.

>And then with make, it instantly crashes with:
>
>mkwin: building programs
>../../source/Programs/brltty.c: In function 'setServiceState':
>../../source/Programs/brltty.c:51:59: error: 'ERROR_SERVICE_SPECIFIC_ERROR'

I've heard that happens when building on Windows 11. I build on Windows 10 so maybe give that a try.

If you can figure out which #includes to add then I can try adding them, here, and see if it still builds for me.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list