{"action":"closed","issue":{"url":"https://api.github.com/repos/hyperledger/iroha/issues/1132","repository_url":"https://api.github.com/repos/hyperledger/iroha","labels_url":"https://api.github.com/repos/hyperledger/iroha/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/iroha/issues/1132/comments","events_url":"https://api.github.com/repos/hyperledger/iroha/issues/1132/events","html_url":"https://github.com/hyperledger/iroha/issues/1132","id":308584651,"number":1132,"title":"Compile java example error","user":{"login":"walkero","id":5620886,"avatar_url":"https://avatars2.githubusercontent.com/u/5620886?v=4","gravatar_id":"","url":"https://api.github.com/users/walkero","html_url":"https://github.com/walkero","followers_url":"https://api.github.com/users/walkero/followers","following_url":"https://api.github.com/users/walkero/following{/other_user}","gists_url":"https://api.github.com/users/walkero/gists{/gist_id}","starred_url":"https://api.github.com/users/walkero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkero/subscriptions","organizations_url":"https://api.github.com/users/walkero/orgs","repos_url":"https://api.github.com/users/walkero/repos","events_url":"https://api.github.com/users/walkero/events{/privacy}","received_events_url":"https://api.github.com/users/walkero/received_events","type":"User","site_admin":false},"labels":[{"id":878228749,"url":"https://api.github.com/repos/hyperledger/iroha/labels/SDK","name":"SDK","color":"31ead8","default":false},{"id":771707267,"url":"https://api.github.com/repos/hyperledger/iroha/labels/bug:needs-reproduction","name":"bug:needs-reproduction","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-26T14:00:04Z","updated_at":"2018-03-31T12:02:10Z","closed_at":"2018-03-31T12:02:10Z","author_association":"NONE","body":"Hi, I got an error when I built /opt/iroha/example/java\r\n\r\n`cd /opt/iroha/example/java`\r\n`./prepare.sh`\r\n`\t-- ccache enabled (/usr/bin/ccache)`\r\n`\t-- -DCMAKE_BUILD_TYPE=Debug`\r\n`\t……`\r\n`\t[ 80%] Built target shared_model_stateless_validation`\r\n`\t[ 90%] Built target bindings`\r\n`\t[ 90%] Building CXX object shared_model/bindings/CMakeFiles/irohajava.dir/bindingsJAVA_wrap.o`\r\n`\t/opt/iroha/example/java/build/shared_model/bindings/bindingsJAVA_wrap.cxx: In function 'jlong Java_irohaJNI_new_1Blob_1_1SWIG_12(JNIEnv*, jclass, jlong)':`\r\n`\t/opt/iroha/example/java/build/shared_model/bindings/bindingsJAVA_wrap.cxx:965:3: error: 'Bytes' was not declared in this scope`\r\n`\t   Bytes *arg1 = 0 ;`\r\n`\t   ^`\r\n\t\r\nI built iroha at ubuntu docker environment：\r\n\t`git clone -b develop --depth=1 https://github.com/hyperledger/iroha`\r\n\t`sh run-iroha-dev.sh`\r\n\t`cmake -H. -Bbuild; cmake --build build -- -j$(nproc)`\r\n\t`make`\r\nand installed  swig 4.0.0\r\n\r\nHow can I solve this problem?\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"walkero"}}