jpoet / HauppaugeUSB

MythTV wrapper around the Hauppauge HD-PVR2/Colossus2 driver
GNU General Public License v3.0
16 stars 5 forks source link

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 1 year ago

kocoman2 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

something wrong in makefile ?

kocoman2 commented 1 year ago

need to downgrade gcc version ?

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

kocoman1 commented 1 year ago

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