interface java and scip - not generating the right classes

孤街浪徒 提交于 2019-12-12 01:59:24

问题


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:

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

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).

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)


回答1:


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



来源:https://stackoverflow.com/questions/41955663/interface-java-and-scip-not-generating-the-right-classes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!