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

Leonard de Ruijter alderuijter at gmail.com
Mon Oct 16 04:40:24 EDT 2023


Hi Dave,


I have created a Windows 10 virtual machine but I'm getting the same 
issues there.

I wonder, may be the culprit is the version of the Visual Studio Build 
tools. I have 2022 installed here.


Cheers,

Leonard

On 13-10-2023 13:52, Dave Mielke wrote:
> [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.
>


More information about the BRLTTY mailing list