{"action":"closed","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/354","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/354/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/354/events","html_url":"https://github.com/dmlc/mxnet/issues/354","id":112705910,"number":354,"title":"compiling error with the latest git checkout code","user":{"login":"kaishijeng","id":12689630,"avatar_url":"https://avatars.githubusercontent.com/u/12689630?v=3","gravatar_id":"","url":"https://api.github.com/users/kaishijeng","html_url":"https://github.com/kaishijeng","followers_url":"https://api.github.com/users/kaishijeng/followers","following_url":"https://api.github.com/users/kaishijeng/following{/other_user}","gists_url":"https://api.github.com/users/kaishijeng/gists{/gist_id}","starred_url":"https://api.github.com/users/kaishijeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaishijeng/subscriptions","organizations_url":"https://api.github.com/users/kaishijeng/orgs","repos_url":"https://api.github.com/users/kaishijeng/repos","events_url":"https://api.github.com/users/kaishijeng/events{/privacy}","received_events_url":"https://api.github.com/users/kaishijeng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-22T00:31:37Z","updated_at":"2015-10-23T06:18:29Z","closed_at":"2015-10-23T06:18:29Z","body":"I just checkout the code and issue make -j4 to compile  on my ubuntu machine (14.04).\r\nIt gives me the following errors:\r\n\r\ng++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 `pkg-config --cflags opencv` -fopenmp  -c src/ndarray/unary_function.cc -o build/ndarray/unary_function.o\r\nIn file included from src/ndarray/./unary_function-inl.h:9:0,\r\n                 from src/ndarray/unary_function.cc:7:\r\nsrc/ndarray/./../common/tblob_op_registry.h:86:16: error: ‘function’ in namespace ‘std’ does not name a template type\r\n   typedef std::function<void (const std::vector<TBlob> &in,\r\n                ^\r\nsrc/ndarray/./../common/tblob_op_registry.h:90:3: error: ‘OpType’ does not name a type\r\n   OpType op;\r\n   ^\r\nsrc/ndarray/./../common/tblob_op_registry.h:96:3: warning: ‘mxnet::ndarray::__make_TBlobOpRegEntry_square__DEVICE__’ defined but not used [-Wunused-variable]\r\n   __make_ ## TBlobOpRegEntry ## _ ## Name ## __ ## DEV ##__ =           \\\r\n   ^\r\nsrc/ndarray/./unary_function-inl.h:33:3: note: in expansion of macro ‘MXNET_REGISTER_TBLOB_FUN’\r\n   MXNET_REGISTER_TBLOB_FUN(Name, DEVICE)            \\\r\n   ^\r\nsrc/ndarray/./unary_function-inl.h:38:1: note: in expansion of macro ‘REGISTER_MSHADOW_UNARY’\r\n REGISTER_MSHADOW_UNARY(square, op::mshadow_op::square)\r\n ^\r\nsrc/ndarray/./../common/tblob_op_registry.h:96:3: warning: ‘mxnet::ndarray::__make_TBlobOpRegEntry_sqrt__DEVICE__’ defined but not used [-Wunused-variable]\r\n   __make_ ## TBlobOpRegEntry ## _ ## Name ## __ ## DEV ##__ =           \\\r\n   ^\r\nsrc/ndarray/./unary_function-inl.h:33:3: note: in expansion of macro ‘MXNET_REGISTER_TBLOB_FUN’\r\n   MXNET_REGISTER_TBLOB_FUN(Name, DEVICE)            \\\r\n   ^\r\nsrc/ndarray/./unary_function-inl.h:41:1: note: in expansion of macro ‘REGISTER_MSHADOW_UNARY’\r\n REGISTER_MSHADOW_UNARY(sqrt, op::mshadow_op::square_root)\r\n ^\r\nMakefile:104: recipe for target 'build/ndarray/unary_function.o' failed\r\nmake: *** [build/ndarray/unary_function.o] Error 1\r\nmake: *** Waiting for unfinished jobs....\r\n\r\nAppreciate if someone can fix the above issue\r\n\r\nThanks,\r\n\r\nKaishi"}}