Skip to content
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

How to obtain a shared lib (.so) for EPD C driver? #359

Open
Suniron opened this issue Sep 13, 2024 · 3 comments
Open

How to obtain a shared lib (.so) for EPD C driver? #359

Suniron opened this issue Sep 13, 2024 · 3 comments

Comments

@Suniron
Copy link

Suniron commented Sep 13, 2024

Hey there,

I have the 2.7 V2 E-paper screen and I want to bind the C driver with bun:ffi to interact with my screen from Typescript code.

To do that, I need to have the driver as a shared library (.so file). So, how can I compile the C code to obtain this?

Thanks in advance 🤞

@mbadinga1
Copy link

Hey,
you can use cmake to build the project instead of the Makefile to get the shared lib.

@Suniron
Copy link
Author

Suniron commented Oct 11, 2024

Thanks for your answer 🙏.

Would you happen to have an example of the command to build the project?

I never used cmake.. 🥵

@mbadinga1
Copy link

mbadinga1 commented Oct 16, 2024

Hello,
I have made an example with my 7in5 scrceen using raspi.
https://github.com/mbadinga1/Waveshare_7in5_CMAKE

You can try to update it on your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants