Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

can't complie ./Wrappers/linux/../../Logger.h:27:10: fatal error: boost/log/sources/severity_logger.hpp: No such file or directory #29

Open
kocoman2 opened this issue Oct 30, 2022 · 4 comments

Comments

@kocoman2
Copy link

kocoman2 commented Oct 30, 2022

see next msg..

the ubuntu says
E: Unable to locate package libboost-log-dev

can't complie give this

st -I./Hauppauge/Common/EncoderDev/HAPIHost/MChip pkg-config --cflags libusb-1.0 ./Hauppauge/Common/Rx/ADV7842/Wrapper.cpp -o Wrapper.o
In file included from ./Wrappers/linux/log.h:5,
from ./Hauppauge/Common/Rx/ADV7842/Wrapper.cpp:11:
./Wrappers/linux/../../Logger.h:27:10: fatal error: boost/log/sources/severity_logger.hpp: No such file or directory
27 | #include <boost/log/sources/severity_logger.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:61: Wrapper.o] Error 1

ubuntu 22.04 thx

@kocoman2
Copy link
Author

I install libboost-dev
and get this error

make: *** No rule to make target '-lboost_program_options', needed by 'hauppauge2'. Stop.

 
make install
Makefile:71: warning: overriding recipe for target 'clean'
Hauppauge/TestApp/build-ADV7842/Makefile:101: warning: ignoring old recipe for target 'clean'
Makefile:74: warning: overriding recipe for target 'install'
Makefile:67: warning: ignoring old recipe for target 'install'
make: *** No rule to make target '-lboost_program_options', needed by 'hauppauge2'. Stop.

@kocoman2
Copy link
Author

something wrong in makefile ?

@kocoman2
Copy link
Author

need to downgrade gcc version ?

gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
GNU Make 4.3

@kocoman1
Copy link

relate to ?? REC_LIBS = libADV7842.a
REC_LIBS += -lboost_program_options -lboost_log -lboost_log_setup -lboost_system -lboost_thread -lboost_filesystem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants