DNNLibrary
DNNLibrary copied to clipboard
error: use of undeclared identifier 'ONNX_NAMESPACE'
Here https://github.com/JDAI-CV/DNNLibrary/blob/master/include/tools/onnx2daq/OnnxConverter.h#L57 you use ONNX_NAMESPACE
but the included header onnx/onnx_pb.h
doesn't define this namespace.
Are you using cmake? :) ONNX_NAMESPACE is defined in cmake via compile definitions
Yes, I am using cmake.
could you please provide your system info like OS version, cmake version and the commands you used for building onnx2dnn?