我正在使用ubuntu机器,并且已经下载了lp_solve源文件(lp_solve_5.5.2.5_source.tar.gz)并将其解压缩。然后我将我的命令提示符输入路径lp_solve_5.5/lpsolve55。 然后我运行命令从源代码编译并生成lp_solve,ubuntu
./ccc
然后我得到这个错误,并创建空的bin文件夹。
In file included from ../lp_SOS.c:3:0:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
#define FALSE 0
^
In file included from ../lp_utils.c:4:0:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
#define FALSE 0
^
cc: error: lp_MDO.o: No such file or directory
cc: error: lp_crash.o: No such file or directory
cc: error: lp_wlp.o: No such file or directory
cc: error: lp_matrix.o: No such file or directory
cc: error: lp_mipbb.o: No such file or directory
cc: error: lp_MPS.o: No such file or directory
cc: error: lp_params.o: No such file or directory
cc: error: lp_presolve.o: No such file or directory
cc: error: lp_price.o: No such file or directory
cc: error: lp_pricePSE.o: No such file or directory
cc: error: lp_scale.o: No such file or directory
cc: error: lp_simplex.o: No such file or directory
cc: error: lp_SOS.o: No such file or directory
我不熟悉Ubuntu。我会很感激你,如果有人能帮我解决这个问题。我想为我的项目使用CFM-ID算法。要使用它,我必须正确安装lp_solve。谢谢