[BRLTTY] using BrlAPI and speech API in one program

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Jul 27 10:44:04 EDT 2010


marquats at studi.informatik.uni-stuttgart.de, le Tue 27 Jul 2010 16:36:41 +0200, a écrit :
> I have added the library file "libbrlapi.a" to AdditionalDependencies.

See README.first.txt:

- C bindings are provided in include/ and lib/ (a .def file is provided for
  linking, run
  lib /def:brlapi.def /name:brlapi-0.5.dll /out:brlapi.lib
  to produce a brlapi.lib file suitable to your compiler)

> 1>libbrlapi.a(brlapi_client.o) : error LNK2019: unresolved external symbol
> __alloca referenced in function _tryHost

This is actually expected: libbrlapi.a is only for static linking, for
which you'd need to also link the MinGW helper library. Just link
against the .lib file and it should be fine.

Samuel


More information about the BRLTTY mailing list