Newbie question here. Trying to build libindi 0.9.6 on Mac OS X.8.2. Following the instructions in INSTALL:
Using ports I have confirmed I have installed:
libusb 1.0
libnova 0.15.0
cfitsio 3.310
Output follows:
ecd-mbpr: mkdir libindi_build
ecd-mbpr: cd libindi_build
ecd-mbpr: cmake -DCMAKE_INSTALL_PREFIX=/usr . ../libindi-0.9.6
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.0.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.27.1")
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- Found CFITSIO 3.31: /opt/local/lib/libcfitsio.dylib
-- Performing Test NOVA_FUNCTION_COMPILE
-- Performing Test NOVA_FUNCTION_COMPILE - Failed
-- Looking for include file linux/videodev2.h
-- Looking for include file linux/videodev2.h - not found.
-- Looking for include file termios.h
-- Looking for include file termios.h - found
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBUSB_LIBRARIES (ADVANCED)
linked by target "indidriver" in directory /Users/ecdowney/indilib/libindi-0.9.6
Hi, I suspect, that libusb-compat package is missing... if you want to make sure that you have all necessary dependencies installed, install indi package directly from macports and then rebuild indi from source to replace it.
But frankly speaking, even easier is to avoid macports at all and to install native OSX INDI binary distribution from
here
. You will save 0.5 GB of disk space and lot of troubles