View previous topic :: View next topic |
Author |
Message |
JustCauseWhyNot Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Dec 2021 Posts: 178
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31478 Location: here
|
Posted: Fri Feb 07, 2025 6:15 am Post subject: |
|
|
Code: | /var/tmp/portage/sci-libs/onnxruntime-1.19.2/work/onnxruntime-1.19.2/onnxruntime/core/graph/graph.cc:1255:58: error: ‘class google::protobuf::RepeatedPtrField<onnx::SparseTensorProto>’ has no member named ‘ReleaseCleared’
1255 | delete graph_proto_->mutable_sparse_initializer()->ReleaseCleared();
| ^~~~~~~~~~~~~~
/var/tmp/portage/sci-libs/onnxruntime-1.19.2/work/onnxruntime-1.19.2/onnxruntime/core/graph/graph.cc: In member function ‘void onnxruntime::Graph::CleanAllInitializedTensors()’:
/var/tmp/portage/sci-libs/onnxruntime-1.19.2/work/onnxruntime-1.19.2/onnxruntime/core/graph/graph.cc:3607:49: error: ‘class google::protobuf::RepeatedPtrField<onnx::TensorProto>’ has no member named ‘ReleaseCleared’
3607 | delete graph_proto_->mutable_initializer()->ReleaseCleared();
| ^~~~~~~~~~~~~~ |
See [Build] breakage with protobuf-27.2, due to API change. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JustCauseWhyNot Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Dec 2021 Posts: 178
|
Posted: Sat Feb 08, 2025 2:57 am Post subject: |
|
|
Thank you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JustCauseWhyNot Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Dec 2021 Posts: 178
|
Posted: Sat Feb 08, 2025 5:36 am Post subject: |
|
|
It's still failing with the same error even after downgrading to 26.1-r2. build.log |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JustCauseWhyNot Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Dec 2021 Posts: 178
|
Posted: Sat Feb 08, 2025 6:08 am Post subject: |
|
|
It's now not failing with the release api error, but another a new one now that I downgraded to protobuf-25.6 build.log. It's something to do with eigen, but I've got the latest installed with all the useflags enabled, and it's still failing. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31478 Location: here
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JustCauseWhyNot Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Dec 2021 Posts: 178
|
Posted: Sun Feb 09, 2025 2:17 am Post subject: |
|
|
So it seems that the issue is the use_preinstalled_eigen camke argument is deprecated. I'm reading in this issue that it seems like cmakes find_package function can replace use_preinstalled_eigen, but I'm not really sure what that requires me to do. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|