airspy / airspyhf

Code repository for AirspyHF+
BSD 3-Clause "New" or "Revised" License
147 stars 40 forks source link

missing getopt.c from source tree (MSVC) #20

Closed guruofquality closed 4 years ago

guruofquality commented 6 years ago

Fixed by copying getopt directory from airspy-tools directory to airspyhf tools directory

Skipping update step for 'airspyhf'
  No patch step for 'airspyhf'
  Performing configure step for 'airspyhf'
  -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON
  -- Configuring done
  CMake Error at tools/src/CMakeLists.txt:28 (add_library):
    Cannot find source file:

      ../getopt/getopt.c

    Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
    .hpp .hxx .in .txx

  CMake Error at tools/src/CMakeLists.txt:28 (add_library):
    No SOURCES given to target: libgetopt_static
touil commented 4 years ago

getopt.c is not part of the Windows libraries (like it is for Linux). This can pose some licensing problems to non GPL host applications.