Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gr-fcdproplus won't install on High Sierra, "Build files cannot be regenerated correctly", error. #27

Open
g0oan opened this issue Dec 16, 2021 · 7 comments

Comments

@g0oan
Copy link

g0oan commented Dec 16, 2021

Good Morning All,

I"ve been trying to build GQRX using MacPorts on my iMac which is running High Sierra and the build keeps failing while trying to install gr-fcdproplus. The error log shows the following error, see below.

Might anyone be able to help please?

Thank you in advance for any help.

Sean.

:info:configure -- CMake Modules Dir : lib/cmake
:info:configure -- fcdproplus INCLUDES : include/fcdproplus
:info:configure -- Using install prefix : /opt/local
:info:configure -- Installing grc files to : /opt/local/share/gnuradio/grc/blocks
:info:configure -- System Hidapi Lib /opt/local/lib/libhidapi.dylib is used
:info:configure -- ========================================================
:info:configure -- Configuring done
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure -- Generating done
:info:configure CMake Generate step failed. Build files cannot be regenerated correctly.
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages -DENABLE_DOXYGEN=OFF -DCMAKE_CXX_STANDARD=11 -DBOOST_ROOT=/opt/local/libexec/boost/1.71 -DBOOSTROOT=/opt/local/libexec/boost/1.71 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.71/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.71/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.71/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBoost_DIR=/opt/local/libexec/boost/1.71 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/gr-fcdproplus-f1154db33e7c22ff6456cf3385586832fff413f0
:info:configure Exit code: 1
:error:configure Failed to configure gr-fcdproplus: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/main.log for details.

@dl1ksv
Copy link
Owner

dl1ksv commented Dec 16, 2021

This is an very old version and as I have no access to a Mac, I can't test. The problem seems to be that the hidapi includes are not found.
But try to replace

FIND_LIBRARY(HIDAPI_LIBRARY hidapi-libusb)

by
find_package(HIDAPI )

I hope this gives some progress.

@dl1ksv
Copy link
Owner

dl1ksv commented Dec 22, 2021

Any new results? Are the hidapi header files installed?

@artem1000
Copy link

artem1000 commented Dec 22, 2021

i tried replacing
FIND_LIBRARY(HIDAPI_LIBRARY hidapi-libusb)
with
find_package(HIDAPI )
but unfortunately it still did not solve the linking issue with hidapi.

[ 23%] Building CXX object lib/CMakeFiles/gnuradio-fcdproplus.dir/fcd_impl.cc.o
[ 29%] Linking CXX shared library libgnuradio-fcdproplus.dylib
Undefined symbols for architecture x86_64:
  "_hid_close", referenced from:
      gr::fcdproplus::fcdpp_control_impl::~fcdpp_control_impl() in fcdpp_control_impl.cc.o
      gr::fcdproplus::fcdpp_control_impl::~fcdpp_control_impl() in fcdpp_control_impl.cc.o

Running on Big Sur 11.6

If there are other ideas to try please let me know! I would really like to get LimeSDR with GQRX working on this Mac and this issue with gr-fcdproplus is a road block as it is a dependency for gr-osmosdr, which is a dependency for gqrx. Any suggestions will be appreciated and promptly tested with feedback provided!

73!
VE3FC

@g0oan
Copy link
Author

g0oan commented Dec 23, 2021

Hi dl1ksv,

The build still fails. Here's what I get when trying to install using MacPorts, the install of gr-fcdproplus fails,

"---> Fetching archive for gr-fcdproplus
---> Attempting to fetch gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 from http://packages.macports.org/gr-fcdproplus
---> Attempting to fetch gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/gr-fcdproplus
---> Attempting to fetch gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 from http://ema.uk.packages.macports.org/gr-fcdproplus
---> Configuring gr-fcdproplus
Error: Failed to configure gr-fcdproplus: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/main.log for details."

When I check the mail.log I get this, see below, as you can see it is still having trouble locating the HIDAPI files.

Any input greatly appreciated.

Sean.

":debug:main Starting logging for gr-fcdproplus @20190817-f1154db3_2+python37
:debug:sysinfo macOS 10.13.6 (darwin/17.7.0) arch i386
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 10.1
:debug:sysinfo SDK 10.13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Executing org.macports.main (gr-fcdproplus)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Thu Dec 23 11:04:37 GMT 2021
:msg:archivefetch ---> Fetching archive for gr-fcdproplus
:debug:archivefetch Executing org.macports.archivefetch (gr-fcdproplus)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch ---> gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch ---> Attempting to fetch gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 from http://packages.macports.org/gr-fcdproplus
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch ---> Attempting to fetch gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/gr-fcdproplus
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch ---> Attempting to fetch gr-fcdproplus-20190817-f1154db3_2+python37.darwin_17.x86_64.tbz2 from http://ema.uk.packages.macports.org/gr-fcdproplus
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (gr-fcdproplus)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (gr-fcdproplus)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (gr-fcdproplus)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (gr-fcdproplus)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Thu Dec 23 11:04:41 GMT 2021
:notice:configure ---> Configuring gr-fcdproplus
:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 macports-clang-13 macports-clang-12 macports-clang-11 macports-clang-10
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure CPPFLAGS="-I/opt/local/libexec/boost/1.71/include -I/opt/local/include" inserted into CFLAGS="-Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -I/opt/local/include" CXXFLAGS="-I/opt/local/libexec/boost/1.71/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -I/opt/local/include -stdlib=libc++"
:debug:configure Executing proc-pre-org.macports.configure-configure-1
:debug:configure Executing org.macports.configure (gr-fcdproplus)
:debug:configure Environment:
:debug:configure BOOSTDIR='/opt/local/libexec/boost/1.71'
:debug:configure BOOSTROOT='/opt/local/libexec/boost/1.71'
:debug:configure BOOST_DIR='/opt/local/libexec/boost/1.71'
:debug:configure BOOST_INCLUDEDIR='/opt/local/libexec/boost/1.71/include'
:debug:configure BOOST_LIBRARYDIR='/opt/local/libexec/boost/1.71/lib'
:debug:configure BOOST_ROOT='/opt/local/libexec/boost/1.71'
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -I/opt/local/include'
:debug:configure CPATH='/opt/local/libexec/boost/1.71/include:/opt/local/include'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -I/opt/local/libexec/boost/1.71/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -I/opt/local/include -stdlib=libc++'
:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os -m64'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/libexec/boost/1.71/lib -L/opt/local/lib -Wl,-headerpad_max_install_names'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.13'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -I/opt/local/libexec/boost/1.71/include -I/opt/local/include'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -I/opt/local/libexec/boost/1.71/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -I/opt/local/libexec/boost/1.71/include -I/opt/local/include -stdlib=libc++'
:info:configure Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages -DENABLE_DOXYGEN=OFF -DCMAKE_CXX_STANDARD=11 -DBOOST_ROOT=/opt/local/libexec/boost/1.71 -DBOOSTROOT=/opt/local/libexec/boost/1.71 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.71/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.71/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.71/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBoost_DIR=/opt/local/libexec/boost/1.71 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/gr-fcdproplus-f1154db33e7c22ff6456cf3385586832fff413f0
:debug:configure system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages -DENABLE_DOXYGEN=OFF -DCMAKE_CXX_STANDARD=11 -DBOOST_ROOT=/opt/local/libexec/boost/1.71 -DBOOSTROOT=/opt/local/libexec/boost/1.71 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.71/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.71/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.71/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBoost_DIR=/opt/local/libexec/boost/1.71 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/gr-fcdproplus-f1154db33e7c22ff6456cf3385586832fff413f0
:info:configure -- Using GMP.
:info:configure -- User set python executable /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
:info:configure -- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python (found suitable exact version "3.7.12")
:info:configure -- System Hidapi will be used
:info:configure --
:info:configure -- Checking for module SWIG
:info:configure -- Found SWIG version 4.0.2.
:info:configure -- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python (found version "3.7.12")
:info:configure -- ================ Build Summary =========================
:info:configure -- Building gr-fcdproplus : 3.8.0 for Darwin
:info:configure -- Building for gnuradio : 3.8.4.0
:info:configure -- Using CMAKE Module path : /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/gr-fcdproplus-f1154db33e7c22ff6456cf3385586832fff413f0/cmake/Modules;/opt/local/share/cmake/gnuradio;/opt/local/share/cmake/Modules
:info:configure -- CMake Modules Dir : lib/cmake
:info:configure -- fcdproplus INCLUDES : include/fcdproplus
:info:configure -- Using install prefix : /opt/local
:info:configure -- Installing grc files to : /opt/local/share/gnuradio/grc/blocks
:info:configure -- System Hidapi Lib /opt/local/lib/libhidapi.dylib is used
:info:configure -- ========================================================
:info:configure -- Configuring done
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure -- Generating done
:info:configure CMake Generate step failed. Build files cannot be regenerated correctly.
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages -DENABLE_DOXYGEN=OFF -DCMAKE_CXX_STANDARD=11 -DBOOST_ROOT=/opt/local/libexec/boost/1.71 -DBOOSTROOT=/opt/local/libexec/boost/1.71 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.71/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.71/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.71/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBoost_DIR=/opt/local/libexec/boost/1.71 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/gr-fcdproplus-f1154db33e7c22ff6456cf3385586832fff413f0
:info:configure Exit code: 1
:error:configure Failed to configure gr-fcdproplus: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/main.log for details."

@dl1ksv
Copy link
Owner

dl1ksv commented Dec 28, 2021

Can you check if you find hidapi.h on your system. Perhaps the hidapi package is split into lib and dev ( header ) files.

@g0oan
Copy link
Author

g0oan commented Dec 28, 2021

Hi There.

I do indeed, it is in /opt/local/include/hidapi/hidapi.h Copy attached.

Hope that helps and thank you once again for all that you are doing.

Sean.

hidapi copy.txt

@dl1ksv
Copy link
Owner

dl1ksv commented Dec 29, 2021

Try to add -DHIDAPI_INCLUDES=/opt/local/include to your cmake command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants