{"action":"created","issue":{"url":"https://api.github.com/repos/Tencent/ncnn/issues/388","repository_url":"https://api.github.com/repos/Tencent/ncnn","labels_url":"https://api.github.com/repos/Tencent/ncnn/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/Tencent/ncnn/issues/388/comments","events_url":"https://api.github.com/repos/Tencent/ncnn/issues/388/events","html_url":"https://github.com/Tencent/ncnn/issues/388","id":320498538,"number":388,"title":"下载ncnn后编译出错","user":{"login":"qiuxiaqing","id":32163582,"avatar_url":"https://avatars0.githubusercontent.com/u/32163582?v=4","gravatar_id":"","url":"https://api.github.com/users/qiuxiaqing","html_url":"https://github.com/qiuxiaqing","followers_url":"https://api.github.com/users/qiuxiaqing/followers","following_url":"https://api.github.com/users/qiuxiaqing/following{/other_user}","gists_url":"https://api.github.com/users/qiuxiaqing/gists{/gist_id}","starred_url":"https://api.github.com/users/qiuxiaqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiuxiaqing/subscriptions","organizations_url":"https://api.github.com/users/qiuxiaqing/orgs","repos_url":"https://api.github.com/users/qiuxiaqing/repos","events_url":"https://api.github.com/users/qiuxiaqing/events{/privacy}","received_events_url":"https://api.github.com/users/qiuxiaqing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-05T10:31:43Z","updated_at":"2018-05-05T10:58:06Z","closed_at":"2018-05-05T10:58:06Z","author_association":"NONE","body":"at the step of \r\n\"Build for Linux x86        install g++ cmake protobuf\"\r\ni have completed the steps:\r\n$ cd <ncnn-root-dir>\r\n$ mkdir -p build\r\n$ cd build\r\n$ cmake ..\r\nwhen input \"make -j\",it shows as following:\r\n\r\n[  1%] Scanning dependencies of target ncnn\r\nRunning C++ protocol buffer compiler on onnx.proto\r\n[  5%] [  7%] Built target caffe2ncnn\r\nBuilt target mxnet2ncnn\r\nonnx.proto:383:5: Expected \"required\", \"optional\", or \"repeated\".\r\nonnx.proto:383:17: Missing field number.\r\nonnx.proto:402:3: Expected \"required\", \"optional\", or \"repeated\".\r\nonnx.proto:402:15: Missing field number.\r\nmake[2]: *** [tools/onnx/onnx.pb.cc] 错误 1\r\nmake[1]: *** [tools/onnx/CMakeFiles/onnx2ncnn.dir/all] 错误 2\r\nmake[1]: *** 正在等待未完成的任务....\r\n[ 10%] [ 10%] [ 11%] [ 12%] Building CXX object src/CMakeFiles/ncnn.dir/layer.cpp.o\r\nBuilding CXX object src/CMakeFiles/ncnn.dir/net.cpp.o\r\nBuilding CXX object src/CMakeFiles/ncnn.dir/layer/convolution.cpp.o\r\nBuilding CXX object src/CMakeFiles/ncnn.dir/layer/x86/convolutiondepthwise_x86.cpp.o\r\n/home/aaa/qxq/project/fruit/ncnn-master/src/net.cpp: In member function ‘int ncnn::Net::load_param(FILE*)’:\r\n/home/aaa/qxq/project/fruit/ncnn-master/src/net.cpp:102:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]\r\n     fscanf(fp, \"%d\", &magic);\r\n                             ^\r\n/home/aaa/qxq/project/fruit/ncnn-master/src/net.cpp:112:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]\r\n     fscanf(fp, \"%d %d\", &layer_count, &blob_count);\r\n                                                   ^\r\n........\r\n\r\nLinking CXX static library libncnn.a\r\n[ 95%] Built target ncnn\r\nmake: *** [all] 错误 2\r\n\r\n\r\nI have solved this problem for 2 days ,please help me, i am a student. Thank you so much!\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Tencent/ncnn/issues/comments/386797253","html_url":"https://github.com/Tencent/ncnn/issues/388#issuecomment-386797253","issue_url":"https://api.github.com/repos/Tencent/ncnn/issues/388","id":386797253,"user":{"login":"nihui","id":171016,"avatar_url":"https://avatars3.githubusercontent.com/u/171016?v=4","gravatar_id":"","url":"https://api.github.com/users/nihui","html_url":"https://github.com/nihui","followers_url":"https://api.github.com/users/nihui/followers","following_url":"https://api.github.com/users/nihui/following{/other_user}","gists_url":"https://api.github.com/users/nihui/gists{/gist_id}","starred_url":"https://api.github.com/users/nihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihui/subscriptions","organizations_url":"https://api.github.com/users/nihui/orgs","repos_url":"https://api.github.com/users/nihui/repos","events_url":"https://api.github.com/users/nihui/events{/privacy}","received_events_url":"https://api.github.com/users/nihui/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T10:58:06Z","updated_at":"2018-05-05T10:58:06Z","author_association":"COLLABORATOR","body":"see https://github.com/Tencent/ncnn/issues/370\r\n"}}
{"actor":{"display_login":"nihui"}}