Skip to content

Instantly share code, notes, and snippets.

@icyveins7
Last active November 2, 2021 06:55
Show Gist options
  • Save icyveins7/305f5ffdd5b417bba6ad6cb2872a5386 to your computer and use it in GitHub Desktop.
Save icyveins7/305f5ffdd5b417bba6ad6cb2872a5386 to your computer and use it in GitHub Desktop.
Building FALCON with your own Boost

https://github.com/falkenber9/falcon Tested on 1.3.0 release source tar.gz. Tested with 3.15.0 UHD/1.72.0 Boost.

In order to use your own self-built UHD + self-built Boost, simply attach the similar CMake variables in cmake-gui when prompted, for both UHD and Boost.

However, the boost includes are not properly set up when the generation of makefiles is done. So during the build, for any files that error on boost includes, open the corresponding flags.make file and append the boost directory yourself accordingly. The following files were the culprits for me:

  1. build/srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/flags.make (add to both C_INCLUDES and CXX_INCLUDES)
  2. build/src/gui/model/CMakeFiles/model.dir/flags.make
  3. build/src/gui/adapters_qt/CMakeFiles/adapters_qt.dir/flags.make
  4. build/src/gui/CMakeFiles/FalconGUI.dir/flags.make

In all cases, simply appending your boost include dir (e.g. "-I/home/user/boost_1_72_0") to the end fixed the problem. Just run make again and fix the next one as it shows up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment