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

Unable to Make (Void Linux) #23

Open
Xlaits opened this issue Jan 29, 2021 · 2 comments
Open

Unable to Make (Void Linux) #23

Xlaits opened this issue Jan 29, 2021 · 2 comments

Comments

@Xlaits
Copy link

Xlaits commented Jan 29, 2021

[xlaits@cinnamon g13]$ cmake -B build -S .
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xlaits/git/g13/build
[xlaits@cinnamon g13]$ make
make: *** No targets specified and no makefile found.  Stop.
[xlaits@cinnamon g13]$ cd build
[xlaits@cinnamon build]$ make
Scanning dependencies of target runtests
[  3%] Building CXX object CMakeFiles/runtests.dir/g13_action.cpp.o
In file included from /home/xlaits/git/g13/g13_manager.hpp:12,
                 from /home/xlaits/git/g13/g13_device.hpp:8,
                 from /home/xlaits/git/g13/g13.hpp:5,
                 from /home/xlaits/git/g13/g13_action.hpp:8,
                 from /home/xlaits/git/g13/g13_action.cpp:5:
/home/xlaits/git/g13/g13_log.hpp:8:10: fatal error: log4cpp/Category.hh: No such file or directory
    8 | #include <log4cpp/Category.hh>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/runtests.dir/build.make:82: CMakeFiles/runtests.dir/g13_action.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/runtests.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
@RichieFrame
Copy link

I also ran into similar compilation issues, I am using Ubuntu. You will need to install a few extra dependencies:

libedev-dev
libgmock-dev
liblog4cpp5-dev

Those are what they are called in Ubuntu repositories, Void may be different

@Gor1ock
Copy link

Gor1ock commented Apr 21, 2024

??? does

libedev-dev

exist?

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

3 participants