报错undefined reference to powvitis软件如何添加数学库
在Vitis软件中,可以通过以下步骤添加数学库:
- 打开工程,在左侧Project Explorer中右键单击工程名称,选择Properties。
- 在弹出的Properties窗口中选择C/C++ Build > Settings。
- 在Settings窗口中选择GCC Linker > Libraries。
- 在右侧的Libraries(-l)中添加数学库,例如:m。
- 点击Apply和OK保存设置。
完成上述步骤后,再次编译程序即可成功链接数学库。
原文地址: https://www.cveoy.top/t/topic/eB3o 著作权归作者所有。请勿转载和采集!