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

Linux building process is cumbersome and poorly documented #135

Open
throwable-one opened this issue Sep 7, 2023 · 0 comments
Open

Linux building process is cumbersome and poorly documented #135

throwable-one opened this issue Sep 7, 2023 · 0 comments

Comments

@throwable-one
Copy link

It says

running make in the root directory of the capnproto-java repository should build capnpc-java.

but Makefile has: CAPNP_CXX_FLAGS=-I $(CAPNP_PREFIX)/include -L $(CAPNP_PREFIX)/lib -lkj -lcapnp

There is no include dir in capnproto: there is capnp: https://github.com/capnproto/capnproto/tree/v2/c%2B%2B/src
One could build it with

make CAPNP_CXX_FLAGS="-I path_to_src -L path_to_libs -lkj -lcapnp  -o capnpc-java"

but this is not very obvious.

And even this command builds dynamic executable (unlike capnpc itself which is static) which is not very convenient.

I wish we had something like

PATH_TO_CAPNP_SRC=../some/path make
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

1 participant