-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imprecise Custom Build Instructions #49
Comments
Looks like this might be related to: liblouis/liblouis#544 |
Per the suggestion to downgrade
Then you need to rerun the build commands from the beginning:
However, at this point, I found some other bugs / issues with the current docs. In the following command there are references to files within
To fix this issue, you should add a the following right after the cd into
The final line of the script ( The final corrected build steps would be:
After all that, I tried to run the compiled file (which I built with the addition of the
So, I did what it suggested and modified the
but still, I'm getting another error:
Any ideas? Did I do something wrong in there somewhere? Here is what my // ./liblouis.js
const capi = require('./build-all-tables');
var easyapi = require('liblouis/easy-api');
var liblouis = new easyapi.EasyApi(capi);
liblouis.disableOnDemandTableLoading();
liblouis.translateString(
'tables/unicode.dis,tables/en-us-comp8-ext.utb',
'abc'
) |
Summary of this thread:
# obtain the latest version
git clone https://github.com/liblouis/liblouis.git
cd liblouis
git clone https://github.com/liblouis/liblouis-js.git
# build
./autogen.sh
emconfigure ./configure --disable-shared
emmake make
emcc ./liblouis/.libs/liblouis.a -s RESERVED_FUNCTION_POINTERS=1 -s MODULARIZE=1\
-s EXPORT_NAME="'liblouisBuild'" -s EXTRA_EXPORTED_RUNTIME_METHODS="['FS',\
'Runtime', 'stringToUTF16', 'Pointer_Stringify']" --pre-js ./liblouis-js/inc/pre.js\
--post-js ./liblouis-js/inc/post.js -o build-no-tables.js
cat ./liblouis-js/inc/append.js >> build-no-tables.js
Actions to be taken:
|
../tools/libbrlcheck.la', needed by
lou_allround'. Stop.
Thanks for the update on this. We actually ended up finding another JS based solution without needing to compile our own version... and actually, over the past week or so, we've just decided to switch to using a docker container of the base C library with some custom python scripts integrated into it. Seems like that project gets updated much more frequently, so we thought it would be better to just work with that instead. You can close this issue if you like. |
Hello @reiner-dolp ,
Like @evanhackett in his issue here #48, i also tried following the instructions to compile the tables — https://github.com/liblouis/liblouis-js#compiling-the-latest-version-of-liblouis — and the —
...both worked fine for me. However, when I tried to do —
... after that, it went through a whole bunch of make file stuff, several pages in my terminal, then failed with the following —
... so, @reiner-dolp , any suggestion here for getting beyond this error, please? We would rally like to get this working.
Please advise. Thank you in advance for a prompt response.
best,
— faddah
portland, oregon, u.s.a.
The text was updated successfully, but these errors were encountered: