我有一个EC2实例正在运行,所以我可以编译一些c++程序在lambda上运行。我试图在我的EC2实例上构建opencascade,并遇到以下错误:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FTGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/ec2-user/oce/adm/cmake/TKOpenGl
FTGL_LIBRARY (ADVANCED)
linked by target "TKOpenGl" in directory /home/ec2-user/oce/adm/cmake/TKOpenGl通过安装所需的库,我修复了类似的错误,但是我似乎找不到FTGL的yum包。我试过以下几种方法:
sudo yum install ftgl
sudo yum install ftgl-dev
sudo yum install ftgl-devel
sudo yum install libftgl-dev我也没有成功地搜索过:
yum search *ftgl*在哪里可以找到这个库来在我的EC2实例上安装它?
https://stackoverflow.com/questions/61313729
复制相似问题