# ofdm **Repository Path**: zhangxvxin/ofdm ## Basic Information - **Project Name**: ofdm - **Description**: ofdm练习 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-12-02 - **Last Updated**: 2023-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 这是一个基于OFDM的无线电收发系统 主要分为:发送模块(USRP)、接收模块(Lime) # 准备工作 ## 基础环境搭建 - 首先,本项目基于Linux平台(Ubuntu22.04LTS) - 使用的UHD版本为3.15.0,gnuradio是从Github上下载的APP,具体安装步骤([Building and Installing the USRP Open-Source Toolchain (UHD and GNU Radio) on Linux - Ettus Knowledge Base](https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux)) ## 外部依赖库 ### FFTW - 版本为fftw3.3.10,下载安装包网页([FFTW Home Page](https://www.fftw.org/)) - 解压压缩包后,使用以下命令进行安装 ``` ./configure make make install ``` - 出现报错,可能需要先安装OpenMPI,具体安装步骤([OpenMPI安装详解_笔记大全_设计学院 (python100.com)](https://www.python100.com/html/110654.html)) - 安装成功后,使用`locate libfftw`命令,查看路径;测试使用的是非/usr目录的路径,将该路径粘贴至程序目录下CMakeLists.txt文件中设置FFTW路径的`set`中。 - 至此,完成FFTW库的安装 ## 编译 1. 使用`locate libfftw3.so`或`locate libfftw3.a`命令得到`{your_fftw_dir}` 2. 使用`locate libuhd.so`或`locate libuhd.a`命令得到`{your_uhd_dir}` 3. 修改`CMakeLists.txt`文件: `target_link_libraries(OFDM {your_fftw_dir} {your_uhd_dir})` # 发送 # 接收