Skip to content

[Build] Onnxrt build failing while building protobuf #17904

Discussion options

You must be logged in to vote

Thank you @snn,
The issue was with Anaconda and it was causing conflicts,

Deleting C:\Users\<user name>\anaconda3\Library\include\google\protobuf has fixed the issue

This issues to be an conflict with Anaconda environment an d 2 protobuf of different versions
Anaconda seems to be maintaining a local copy of protobuf at the below path and deleting this fixed the issue
C:\Users\<user name>\anaconda3\Library\include\google\protobuf
and while building onnxrt, there seems to be conflict and compilation error.

Apart from protobuf , gmock/gtest used for compiling the onnxrt unit tests also seems to have this conflict at times and in the similar path deleting them has fixed the build issues.

ToDo :

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@manickavela29
Comment options

Answer selected by manickavela29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants