{"action":"created","issue":{"url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/issues/3","repository_url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt","labels_url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/issues/3/comments","events_url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/issues/3/events","html_url":"https://github.com/SCIP-Interfaces/JSCIPOpt/issues/3","id":178302325,"number":3,"title":"A question of using JSCIPOpt","user":{"login":"waldstein1983","id":4558391,"avatar_url":"https://avatars.githubusercontent.com/u/4558391?v=3","gravatar_id":"","url":"https://api.github.com/users/waldstein1983","html_url":"https://github.com/waldstein1983","followers_url":"https://api.github.com/users/waldstein1983/followers","following_url":"https://api.github.com/users/waldstein1983/following{/other_user}","gists_url":"https://api.github.com/users/waldstein1983/gists{/gist_id}","starred_url":"https://api.github.com/users/waldstein1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldstein1983/subscriptions","organizations_url":"https://api.github.com/users/waldstein1983/orgs","repos_url":"https://api.github.com/users/waldstein1983/repos","events_url":"https://api.github.com/users/waldstein1983/events{/privacy}","received_events_url":"https://api.github.com/users/waldstein1983/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"mueldgog","id":9478407,"avatar_url":"https://avatars.githubusercontent.com/u/9478407?v=3","gravatar_id":"","url":"https://api.github.com/users/mueldgog","html_url":"https://github.com/mueldgog","followers_url":"https://api.github.com/users/mueldgog/followers","following_url":"https://api.github.com/users/mueldgog/following{/other_user}","gists_url":"https://api.github.com/users/mueldgog/gists{/gist_id}","starred_url":"https://api.github.com/users/mueldgog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mueldgog/subscriptions","organizations_url":"https://api.github.com/users/mueldgog/orgs","repos_url":"https://api.github.com/users/mueldgog/repos","events_url":"https://api.github.com/users/mueldgog/events{/privacy}","received_events_url":"https://api.github.com/users/mueldgog/received_events","type":"User","site_admin":false},"assignees":[{"login":"mueldgog","id":9478407,"avatar_url":"https://avatars.githubusercontent.com/u/9478407?v=3","gravatar_id":"","url":"https://api.github.com/users/mueldgog","html_url":"https://github.com/mueldgog","followers_url":"https://api.github.com/users/mueldgog/followers","following_url":"https://api.github.com/users/mueldgog/following{/other_user}","gists_url":"https://api.github.com/users/mueldgog/gists{/gist_id}","starred_url":"https://api.github.com/users/mueldgog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mueldgog/subscriptions","organizations_url":"https://api.github.com/users/mueldgog/orgs","repos_url":"https://api.github.com/users/mueldgog/repos","events_url":"https://api.github.com/users/mueldgog/events{/privacy}","received_events_url":"https://api.github.com/users/mueldgog/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-09-21T10:05:59Z","updated_at":"2016-09-24T13:23:34Z","closed_at":null,"body":"Dear,\r\nI am happy to find this java interface for SCIP and cannot wait to try.\r\nI have successfully built the source code and got scip.jar and libjscipopt.so\r\nI am using IntelliJ Idea on Mac. \r\nWhat I do is:\r\n(1) add the ship.jar to dependency\r\n(2) add the ../lib directory to dependency\r\n(3) Run the Linear.java under /examples\r\n Unfortunately, I got following error:\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: no jscip in java.library.path\r\nat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)\r\nat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n at java.lang.System.loadLibrary(System.java:1122)\r\n at com.amazon.etr.scip.Linear.main(Linear.java:11)\r\nIt seems that IDE does not find libjscipopt.so in dependency…..But actually it is there.\r\nDid I forget something?\r\nbaohua"},"comment":{"url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/issues/comments/249364657","html_url":"https://github.com/SCIP-Interfaces/JSCIPOpt/issues/3#issuecomment-249364657","issue_url":"https://api.github.com/repos/SCIP-Interfaces/JSCIPOpt/issues/3","id":249364657,"user":{"login":"waldstein1983","id":4558391,"avatar_url":"https://avatars.githubusercontent.com/u/4558391?v=3","gravatar_id":"","url":"https://api.github.com/users/waldstein1983","html_url":"https://github.com/waldstein1983","followers_url":"https://api.github.com/users/waldstein1983/followers","following_url":"https://api.github.com/users/waldstein1983/following{/other_user}","gists_url":"https://api.github.com/users/waldstein1983/gists{/gist_id}","starred_url":"https://api.github.com/users/waldstein1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldstein1983/subscriptions","organizations_url":"https://api.github.com/users/waldstein1983/orgs","repos_url":"https://api.github.com/users/waldstein1983/repos","events_url":"https://api.github.com/users/waldstein1983/events{/privacy}","received_events_url":"https://api.github.com/users/waldstein1983/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T13:23:34Z","updated_at":"2016-09-24T13:23:34Z","body":"Dear,\r\nthanks! Now I have rebuilt successfully.\r\n-> generating library lib/libjscip.dylib\r\n-> compiling all java files\r\n-> generate lib/scip.jar\r\n\r\nBut unfortunately, ./run.sh Linear does not work. It reports the same error as before:\r\n9801a7b319bb:JSCIPOpt-master baohuaw$ cd examples/\r\n9801a7b319bb:examples baohuaw$ ln -s ../lib lib\r\n9801a7b319bb:examples baohuaw$ javac -cp ../lib/scip.jar *.java\r\n9801a7b319bb:examples baohuaw$ ./run.sh Linear\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: no jscip in java.library.path\r\n\tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)\r\n\tat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n\tat java.lang.System.loadLibrary(System.java:1122)\r\n\tat Linear.main(Linear.java:9)\r\n\r\nBut when I run Linear.java in my IDE (Intellij Idea). It reports:\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: /Users/baohuaw/Documents/software/SCIP/JSCIPOpt/JSCIPOpt-master/lib/libjscip.dylib: dlopen(/Users/baohuaw/Documents/software/SCIP/JSCIPOpt/JSCIPOpt-master/lib/libjscip.dylib, 1): Library not loaded: lib/libscip-3.2.1.darwin.x86_64.gnu.opt.spx.dll\r\n  Referenced from: /Users/baohuaw/Documents/software/SCIP/JSCIPOpt/JSCIPOpt-master/lib/libjscip.dylib\r\n  Reason: image not found\r\n\tat java.lang.ClassLoader$NativeLibrary.load(Native Method)\r\n\tat java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)\r\n\tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)\r\n\tat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n\tat java.lang.System.loadLibrary(System.java:1122)\r\n\tat com.amazon.etr.scip.Linear.main(Linear.java:11)\r\n\r\nSorry that I am also not familiar with this error. Did that mean the jsciplib has been found already? What does the new error indicate?"}}
{"actor":{"display_login":"waldstein1983"}}