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

Compiling Dependencies #199

Open
lucasli2 opened this issue Jun 17, 2024 · 1 comment
Open

Compiling Dependencies #199

lucasli2 opened this issue Jun 17, 2024 · 1 comment

Comments

@lucasli2
Copy link

I am very new to compiling, so apologies if this may seem redundant, but what are said libraries in below error?

[ 39%] Linking CXX shared library libkipr.so
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lkj: No such file or directory
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lkj-async: No such file or directory
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lcapnp: No such file or directory
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lcapnp-rpc: No such file or directory
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lcreate3_common: No such file or directory
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lcreate3_client: No such file or directory
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: cannot find -lX11: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/kipr.dir/build.make:250: libkipr.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1605: CMakeFiles/kipr.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

These dependencies were not mentioned in the docs?
Any help appreciated. Thanks!

@ToberoCat
Copy link
Contributor

I think you're missing the required dependencies on your machine.

From the wiki entry, it seems like you'd have to install the following dependencies:

sudo apt-get install libzbar-dev libopencv-dev libjpeg-dev python-dev doxygen swig yasm -y 

Here's the wiki entry on how to compile the library: https://github.com/kipr/wombat-os/wiki/Wombat-OS-Build#libwallaby-install-docker-container.

But what I can see here, is that you're missing the create3 dependencies. To get that, you'll have to build the create3 library first. But this isn't needed anymore, as create3 is no longer part of libwallaby.

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