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 build using make #7

Open
Argonghost opened this issue Apr 21, 2024 · 3 comments
Open

How to build using make #7

Argonghost opened this issue Apr 21, 2024 · 3 comments

Comments

@Argonghost
Copy link

Hi,

How do i build for linux?

@alexey-klimov
Copy link

Hi,
Just run make command inside project dir, shared library will be build inside _release folder.
What is the problem?

@Argonghost
Copy link
Author

@alexey-klimov

Hi!
Built successfully, how do i link?
gcc xxxx.c -o xxxx -ldspl doesnt work

@alexey-klimov
Copy link

alexey-klimov commented Apr 23, 2024

Try
gcc xxxx.c dspl.c -o xxxx -ldspl -Lpath-to-library -Ipath-to-library-header -DLINUX_OS -lm -ldl

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