Comments (10)
It's not detect required dll (zlib) if it not in same folder as script
dirty hack:
const binPath = path.normalize(`${__dirname}/tdlib64/`);
process.env.Path += `;${binPath}`;
const client = new Client({
...options,
binaryPath: `${binPath}/tdjson.dll`
});
from tglib.
64bit studio, I have both build for 64bit and 32bit, but same.
tdlib32.zip
tdlib64.zip
from tglib.
Hi, I didn't test it on Windows, but have you tried to define binaryPath
option in client constructor?
e.g.:
const client = new Client({
...options,
binaryPath: './libtdjson',
})
from tglib.
Yes. But I get Error: Dynamic Linking Error: Win32 error 193
.
from tglib.
What architecture is your Windows and Node.js? 32bit or 64bit?
from tglib.
64bit (windows and node).
from tglib.
Are you using 32bit installation of Visual Studio?
from tglib.
I tried to build tdlib on Windows but no luck. To make your life easier I suggest you build and run tdlib on Linux / macOS.
from tglib.
So is your problem solved now?
from tglib.
Yes. Thanks!
from tglib.
Related Issues (20)
- botcommands example doesnt work :( HOT 2
- "Error: Client is not created" after client._destroy() HOT 2
- can be use it in react native? HOT 1
- about compiling td lib HOT 8
- Search libtdjson in LD_LIBRARY_PATH HOT 3
- Local Database HOT 1
- How to use Local Database HOT 1
- authorithing HOT 1
- This library causes phone numbers to get banned HOT 1
- Problem with getSupergroupMembers HOT 4
- asks for Authorization credential though given in code HOT 3
- Build a new lib for TON
- Authorization
- Bot : upload file by url and resend file by id
- [Question] Start conversation with bot
- How to exit? HOT 3
- Image compression?
- Importing TGLib troubleshooting HOT 1
- Node Error when importing HOT 2
- spring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tglib.