Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: use of undeclared identifier 'ONNX_NAMESPACE' #66

Open
yurivict opened this issue Oct 25, 2019 · 3 comments
Open

error: use of undeclared identifier 'ONNX_NAMESPACE' #66

yurivict opened this issue Oct 25, 2019 · 3 comments

Comments

@yurivict
Copy link

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.

@daquexian
Copy link
Collaborator

Are you using cmake? :) ONNX_NAMESPACE is defined in cmake via compile definitions

@yurivict
Copy link
Author

Yes, I am using cmake.

@daquexian
Copy link
Collaborator

daquexian commented Oct 25, 2019

could you please provide your system info like OS version, cmake version and the commands you used for building onnx2dnn?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants