接口java和scip-无法生成正确的类 [英] interface java and scip - not generating the right classes

查看:197
本文介绍了接口java和scip-无法生成正确的类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照scip/interfaces/jni中自述文件中描述的步骤进行操作,当我进入第6步:make时,它会编译直到出现此错误为止:

I followed the steps described in the README in scip/interfaces/jni and when I get to step 6: make, it compiles all right untill I get this error:

在src/JniScipLibraryLoader.c:25:0中包含的文件中: src/JniScipLibraryLoader.h:2:17:致命错误:jni.h:Aucun fichier ou 档案类型的编译已终止. Makefile:516:la recette 倒下«obj/O.linux.x86_64.gnu.opt/JniScipLibraryLoader.o»a 制作:*** [obj/O.linux.x86_64.gnu.opt/JniScipLibraryLoader.o] Erreur 1

In file included from src/JniScipLibraryLoader.c:25:0: src/JniScipLibraryLoader.h:2:17: fatal error: jni.h: Aucun fichier ou dossier de ce type compilation terminated. Makefile:516 : la recette pour la cible « obj/O.linux.x86_64.gnu.opt/JniScipLibraryLoader.o » a échouée make: *** [obj/O.linux.x86_64.gnu.opt/JniScipLibraryLoader.o] Erreur 1

我可能无法正确执行的操作(但是我需要一些建议)是创建Java的可选路径(我尝试创建到我的JDK文件夹的软链接,但似乎没有成功).

What I perhaps failed to do correctly (but I should like some advice) is creating the optional path to java (I tried creating a soft link to my JDK-folder, but it doesn't seems to do the trick).

很明显,由于这个错误,我无法执行步骤7中的测试.

Evidently, because of this error I fail to perform the tests in step 7.

任何帮助将不胜感激! (在回答我不是一个成熟的开发人员时请牢记)

Any help is greatly appreciated! (please bear in mind when responding that I'm not a full grown developer)

推荐答案

请使用我们新的Java接口JSCIPOpt,可以在

Please use our new Java interface JSCIPOpt, which can be found here.

这篇关于接口java和scip-无法生成正确的类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆