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

Include as external library #19

Open
sunnyyum opened this issue Mar 16, 2020 · 5 comments
Open

Include as external library #19

sunnyyum opened this issue Mar 16, 2020 · 5 comments

Comments

@sunnyyum
Copy link

I was able to compile the library itself. However, I'm lost in including the library to an external project. Please share the advice.

@lxindex
Copy link

lxindex commented Oct 29, 2021

Well I hold the same question.

@trigonak
Copy link
Member

From what I see in the code (few years since I looked at it), it does not build a top level library.

The best approach would be to integrate per data structure, by building a small library. Essentially, modify the Makefile to create a library: e.g., https://github.com/LPD-EPFL/ASCYLIB/blob/master/src/hashtable-java/Makefile

@lxindex
Copy link

lxindex commented Nov 1, 2021

From what I see in the code (few years since I looked at it), it does not build a top level library.

The best approach would be to integrate per data structure, by building a small library. Essentially, modify the Makefile to create a library: e.g., https://github.com/LPD-EPFL/ASCYLIB/blob/master/src/hashtable-java/Makefile

Thanks for your advice. I have successfully compiled one data structure with my own project by changing some path settings in the Makefile. Also, the mixed complication with C++ and C need some fix in the header file.

@trigonak
Copy link
Member

trigonak commented Nov 1, 2021

Glad to hear that. Indeed, there is the need for the extern part in the header file, right?

If you feel that your changes can be used by others, feel free to open a pull request.

@photoszzt
Copy link

I just find out they actually have a C++ version.

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

4 participants