Building a Vala binding of TdLib... may need help
Hello! Some months ago i tried to make a Telegram client for Granite library (elementary OS) but the problem is that there is no Vapi out there, but I tried to make some for TdJSON. Here's the sauce in .tar.gz; and feel free to tell me whether has errors or needs improvement :smile: tdjson vapi.tar.gz
I have no experience with Vala, but vapi files looks correct for me. I've noticed only that TDLib dependencies OpenSSL and zlib aren't sprecified anywhere. Should -lcrypto -lssl -lz be added to libs, or they are automatically found in /usr/local/lib?
Have you tested it? Does it work for you?
I have no experience with Vala, but vapi files looks correct for me. I've noticed only that TDLib dependencies OpenSSL and zlib aren't sprecified anywhere. Should
-lcrypto -lssl -lzbe added to libs, or they are automatically found in/usr/local/lib?Have you tested it? Does it work for you?
I just compile TdLib then I install it on local. It works without these flags (in my case).
See https://github.com/AYMENJD/td-vala for a working Vala binding.