"bladeRF FX3 Firmware Source"build trouble

Having issues with the site, hardware, source code, or any other issues?
Post Reply
asd1234550
Posts: 1
Joined: Fri Oct 13, 2017 8:08 am

"bladeRF FX3 Firmware Source"build trouble

Post by asd1234550 »

I follow "https://github.com/Nuand/bladeRF/tree/m ... 3_firmware" step by step

this problem has not been solved

the instruction """cmake -DFX3_INSTALL_PATH=/opt/cypress/fx3_sdk -DCMAKE_TOOLCHAIN_FILE=../cmake/fx3-toolchain ../"""

////////////////////////////////////////////////////////////////////////////////////////
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:99 (message):
Could not find toolchain file: ../cmake/fx3-toolchain
Call Stack (most recent call first):

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: /home/qoo/bladeRF/fx3_firmware/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: /home/qoo/bladeRF/fx3_firmware/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!


////////////////////////////////////////////////////////////////////////////////////////

Please help me


Have installation FX3_SDK and download bladeRF.git

system information: ubuntu 14.04
CMAKE version 2.8.12.2
User avatar
rtucker
Posts: 77
Joined: Sun Jan 25, 2015 10:38 am

Re: "bladeRF FX3 Firmware Source"build trouble

Post by rtucker »

D'oh, looks like CMAKE_TOOLCHAIN_FILE has a typo. The correct invocation is:

Code: Select all

cmake -DFX3_INSTALL_PATH=/opt/cypress/fx3_sdk -DCMAKE_TOOLCHAIN_FILE=../cmake/fx3-toolchain.cmake ../
This has been updated in https://github.com/Nuand/bladeRF/pull/532, let me know if there's anything else in there.

Thanks! -rt
Rey Tucker (she/her)
Systems Engineer, Nuand LLC
Rochester, NY, USA

#WontBeErased
Post Reply