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

Notebook using C related libraries in Haxe #10

Closed
Lelelo1 opened this issue Aug 30, 2021 · 3 comments
Closed

Notebook using C related libraries in Haxe #10

Lelelo1 opened this issue Aug 30, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Lelelo1
Copy link
Owner

Lelelo1 commented Aug 30, 2021

Notebook using C related libraries in Haxe
I put notes down here related to using groonga C library in the haxe project, it fills more of a chronological information role, than instruction and can maybe be archived at a later point.

@Lelelo1 Lelelo1 added the documentation Improvements or additions to documentation label Aug 30, 2021
@Lelelo1
Copy link
Owner Author

Lelelo1 commented Aug 30, 2021

I learned from this video that, you take the lib and include folder of a c++ project and put into a folder in your own project.
I think it should be the same when using it in haxe, the only difference with haxiomanics sample is that he puts the source code file blew.c directly in the folder. (I think the headers is all related to that file..)

It remains to be understood how to consume the c++, as I assume positioning the C library like in C project should be correct

@Lelelo1
Copy link
Owner Author

Lelelo1 commented Aug 30, 2021

In C related languages the include statement can contain slashes: OpenGL/gl3.h :https://stackoverflow.com/questions/8182617/what-does-a-slash-mean-in-an-include-statement, which is simply a directory, specifying where file (gl3.h in this case) is.

@Lelelo1
Copy link
Owner Author

Lelelo1 commented Sep 4, 2021

Related to #13. Not needing a C related library in the near future

@Lelelo1 Lelelo1 closed this as completed Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant