Following the general install instructions I get an error while makeing. I had already install mxnet in a conda env for python and everything worked fine.
Here is the line of the first error. It complains of ‘sem_t’ not naming a type. Sorry if the formatting is wrong.
g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/afrl/mxnet/mshadow/ -I/home/afrl/mxnet/dmlc-core/include -fPIC -I/home/afrl/mxnet/nnvm/include -I/home/afrl/mxnet/dlpack/include -I/home/afrl/mxnet/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_LAPACK -DMSHADOW_USE_CUDNN=1 -I/home/afrl/mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/profiler/aggregate_stats.cc -o build/src/profiler/aggregate_stats.o
In file included from /home/afrl/mxnet/dmlc-core/include/dmlc/thread_group.h:10:0,
from src/profiler/./profiler.h:29,
from src/profiler/profiler.cc:31:
/home/afrl/mxnet/dmlc-core/include/dmlc/blockingconcurrentqueue.h:180:4: error: ‘sem_t’ does not name a >type
sem_t m_sema;
Following this there are many more errors along similar lines.