MaybeShewill-CV / sky-detector

Sky area detection without deep neural networks https://maybeshewill-cv.github.io/sky-detector/
146 stars 42 forks source link

Build Failing #11

Closed sujoyrc closed 2 years ago

sujoyrc commented 3 years ago

Build is failing

(base) antpc@ant-pc:/media/antpc/Data/SujoyRc/Work/sky-detector$ mkdir build
(base) antpc@ant-pc:/media/antpc/Data/SujoyRc/Work/sky-detector$ cd build
(base) antpc@ant-pc:/media/antpc/Data/SujoyRc/Work/sky-detector/build$ cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
OPENMP FOUND
-- Boost version: 1.65.1
-- Found OpenCV: /usr (found version "3.2.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /media/antpc/Data/SujoyRc/Work/sky-detector/build
(base) antpc@ant-pc:/media/antpc/Data/SujoyRc/Work/sky-detector/build$ make -j
Scanning dependencies of target detector
make[2]: *** No rule to make target '/usr/local/lib/libboost_filesystem.so', needed by 'detector'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 50%] Building CXX object CMakeFiles/detector.dir/sky_detector/imageSkyDetector.cpp.o
[ 50%] Building CXX object CMakeFiles/detector.dir/main_test.cpp.o
[ 75%] Building CXX object CMakeFiles/detector.dir/file_processor/file_system_processor.cpp.o
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/detector.dir/all' failed
make[1]: *** [CMakeFiles/detector.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Machine details

(base) antpc@ant-pc:/media/antpc/Data/SujoyRc/Work/sky-detector/build$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic
(base) antpc@ant-pc:/media/antpc/Data/SujoyRc/Work/sky-detector/build$ lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  8
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               158
Model name:          Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Stepping:            13
CPU MHz:             817.731
CPU max MHz:         4900.0000
CPU min MHz:         800.0000
BogoMIPS:            7200.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            12288K
NUMA node0 CPU(s):   0-7
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities

Please advice

MaybeShewill-CV commented 3 years ago

@sujoyrc please install boost first

sujoyrc commented 3 years ago

error did not change even after installing boost

MaybeShewill-CV commented 3 years ago

@sujoyrc Make sure the file /usr/local/lib/libboost_filesystem.so exist:)