@MG!IFOS!
I just went through your steps and was able to successfully build both the library and driver.

Did you get all the prerequisites that Sarwar pointed out? Pretty sure you need:

sudo apt-get install libindi-dev

You also need to get these items (zlib and cfitsio ) from this README:

github.com/thx8411/indi-3rdparty/blob/master/indi-sv305/README

sudo apt-get install zlib1g

sudo apt install libcfitsio-dev


I had no build errors in either the cmake or make:

walt@rpi-indi:~/sv305-indi$ cmake ~/sv305/indi-3rdparty/indi-sv305
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- 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
-- 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
-- Found CFITSIO 3.47: /usr/lib/aarch64-linux-gnu/libcfitsio.so
-- Found INDI: /usr/lib/aarch64-linux-gnu/libindidriver.so;/usr/lib/aarch64-linux-gnu/libindiAlignmentDriver.so (found version "1.8.6")
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found SV305 libraries : /usr/local/lib/libSVBCameraSDK.so
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
Linux target
-- Configuring done
-- Generating done
-- Build files have been written to: /home/walt/sv305-indi
walt@rpi-indi:~/sv305-indi$ make
Scanning dependencies of target indi_sv305_ccd
[ 50%] Building CXX object CMakeFiles/indi_sv305_ccd.dir/sv305_ccd.cpp.o
[100%] Linking CXX executable indi_sv305_ccd
[100%] Built target indi_sv305_ccd

Read More...