Bilal Durrani

Results 21 comments of Bilal Durrani

I installed clang v12 on ubuntu 20.04 I have libclang present. I installed in from the script at the following location https://apt.llvm.org/ ```bash root@ea89bf12b378:/tmp# clang-12 --version Ubuntu clang version 12.0.1-++20211029101322+fed41342a82f-1~exp1~20211029221816.4...

As a test, I decided to try a really simple header, so see if I have things set up properly ```bash root@ea89bf12b378:/tmp# cat test.h /* Defines the poppler version. */...

Sigh, no luck. I did copy `libClangSharp.so` but I think one of it's dependencies is missing ```bash root@ea89bf12b378:~/.dotnet/tools# ldd libClangSharp.so linux-vdso.so.1 (0x00007ffc1ac65000) libclang.so.12 => /lib/x86_64-linux-gnu/libclang.so.12 (0x00007f664bf45000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f664bf22000)...

doh 🤦🏽 I had copied `libClangSharp.so` to `~/.dotnet/tools`. After installing it to `/usr/lib/x86_64-linux-gnu/`, it works with the simple case. I guess I'll have to try and simplify why the popper...

Another brain fart... It looks like the wrapper generation works for the headers if I give it the fully qualified path 🤦🏽‍♂️ I guess `CXError_Failure` in this case meant "Could...

With your first code snippet, I get the following error ``` error TS2322: Type 'string' is not assignable to type 'T extends string ? string : null'. ``` [This is...

> Hey @bdurrani! 👋 > > You're right. That's an open issue: TS can't type-check the return value of functions with conditional return types defined in terms of type parameters....

Surprisingly, this works just fine with the CLI tools. Not sure what the difference is here. ```sh aws s3api --endpoint-url=http://localhost:4566 --no-sign-request put-object --checksum-algorithm SHA256 --bucket textract-datastore --key test --body ./Tests.dockerfile...