You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi every one
there is a bug in CMakeLists.txt of OOT created of modtool latest version.
if you use "build" as the name of your "build folder" it will pass in "make rfnoc_block_custom_tb" but other than build, it will face error:
/bin/sh: ../../../../build/cmake/Modules/run_testbench.sh: No such file or directory
beacuse it search a non existing folder rather than "your-build-folder-name"
/gr-ettus/python/rfnoc_modtool/rfnoc-newmod/CMakeLists.txt
or /your-new-mod-oot(like rfnoc-custom)/CMakeLists.txt
line 194: add_custom_target(${_target_name}
COMMAND ${CMAKE_SOURCE_DIR}/build/cmake/Modules/run_testbench.sh ${UHD_FPGA_DIR} e310 ${CMAKE_CURRENT_SOURCE_DIR} xsim
it should be :
add_custom_target(${_target_name}
COMMAND ${CMAKE_SOURCE_DIR}/"your-build-folder-name"/cmake/Modules/run_testbench.sh ${UHD_FPGA_DIR} e310 ${CMAKE_CURRENT_SOURCE_DIR} xsim
or
add_custom_target(${_target_name}
COMMAND ${CMAKE_BINARY_DIR}/cmake/Modules/run_testbench.sh ${UHD_FPGA_DIR} e310 ${CMAKE_CURRENT_SOURCE_DIR} xsim
thanks.
The text was updated successfully, but these errors were encountered:
Hi every one
there is a bug in CMakeLists.txt of OOT created of modtool latest version.
if you use "build" as the name of your "build folder" it will pass in "make rfnoc_block_custom_tb" but other than build, it will face error:
The text was updated successfully, but these errors were encountered: