-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compile fails #143
Comments
Hello, and thank you for testing out this repo! Your issue stems from an unsupported GCC compiler version. We require at least GCC 11 or Clang 14. You can check out our devcontainer as a way to check out things quickly. The long-term solution will be to have one of the newer compilers mentioned above (or try a different one if they're already available on your system), or we can look into Singularity if your system uses that. On our side I will look into adding an explicit error for unsupported compiler versions on the CMake side. |
Hi Brian,
Thank you. My system is Ubuntu 9.4.0-1ubuntu1~20.04.2, which doesn't
include gcc 17. I added the toolchain-r/test PPA and then installed gcc 11.
I also updated CMakeLists.txt about the following lines:
replace "add_compile_options(-fpermissive)" with
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive").
Add the following lines to work with Tensorstore.
FetchContent_Declare(
tensorstore
GIT_REPOSITORY https://github.com/google/tensorstore.git
GIT_TAG master # Use the latest stable version or a specific tag
)
Now it runs through to almost done. Below are the new errors.
[100%] Linking CXX static library libtensorstore_util_status_testutil.a
[100%] Built target tensorstore_util_status_testutil
[100%] Building CXX object
_deps/gtest-build/CMakeFiles/GTest_gtest_main.dir/googlemock/src/gmock_main.cc.o
[100%] Linking CXX static library libGTest_gtest_main.a
[100%] Built target GTest_gtest_main
[100%] Building CXX object mdio/CMakeFiles/mdio_gcs_test.dir/gcs_test.cc.o
In file included from
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:34,
from
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/gcs_test.cc:18:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h: In static
member function ‘static
std::enable_if_t<IsCompatibleOptionSequence<tensorstore::TransactionalOpenOptions,
Option ...>, tensorstore::Future<mdio::Variable<T, R, M> > >
mdio::Variable<T, R, M>::Open(const json&, Option&& ...)’:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h:772:75:
error: expected primary-expression before ‘,’ token
772 |
TENSORSTORE_INTERNAL_ASSIGN_OPTIONS_OR_RETURN(TransactionalOpenOptions,
|
^
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h:773:51:
error: ‘options’ was not declared in this scope; did you mean ‘option’?
773 | options, option)
| ^~~~~~~
| option
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h:774:5:
error: expected ‘;’ before ‘return’
774 | return mdio::internal::Open<T, R, M>(json_spec,
std::move(options));
| ^~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h:772:50:
error: parameter packs not expanded with ‘...’:
772 |
TENSORSTORE_INTERNAL_ASSIGN_OPTIONS_OR_RETURN(TransactionalOpenOptions,
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
773 | options, option)
| ~~~~~~~~~~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h:772:50:
note: ‘option’
In file included from
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/gcs_test.cc:18:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h: In static
member function ‘static std::enable_if_t<is_same_v<S,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, tensorstore::Future<mdio::Dataset> >
mdio::Dataset::Open(const S&, Option&& ...)’:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1026:75:
error: expected primary-expression before ‘,’ token
1026 |
TENSORSTORE_INTERNAL_ASSIGN_OPTIONS_OR_RETURN(TransactionalOpenOptions,
|
^
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1027:51:
error: ‘transact_options’ was not declared in this scope
1027 | transact_options,
options)
| ^~~~~~~~~~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1029:5:
error: expected ‘;’ before ‘if’
1029 | if (transact_options.open_mode != constants::kOpen) {
| ^~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1026:50:
error: parameter packs not expanded with ‘...’:
1026 |
TENSORSTORE_INTERNAL_ASSIGN_OPTIONS_OR_RETURN(TransactionalOpenOptions,
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
1027 | transact_options,
options)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1026:50:
note: ‘options’
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h: In static
member function ‘static mdio::Future<mdio::Dataset>
mdio::Dataset::Open(const json&, const
std::vector<nlohmann::json_abi_v3_11_3::basic_json<>,
std::allocator<nlohmann::json_abi_v3_11_3::basic_json<> > >&, Option&&
...)’:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1058:75:
error: expected primary-expression before ‘,’ token
1058 |
TENSORSTORE_INTERNAL_ASSIGN_OPTIONS_OR_RETURN(TransactionalOpenOptions,
|
^
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1059:51:
error: ‘transact_options’ was not declared in this scope
1059 | transact_options,
options)
| ^~~~~~~~~~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1060:5:
error: expected ‘;’ before ‘bool’
1060 | bool do_create = transact_options.open_mode ==
constants::kCreateClean ||
| ^~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1058:50:
error: parameter packs not expanded with ‘...’:
1058 |
TENSORSTORE_INTERNAL_ASSIGN_OPTIONS_OR_RETURN(TransactionalOpenOptions,
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
1059 | transact_options,
options)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1058:50:
note: ‘options’
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1087:9:
error: ‘do_create’ was not declared in this scope
1087 | if (do_create) {
| ^~~~~~~~~
In file included from
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:34,
from
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/gcs_test.cc:18:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h: In
instantiation of ‘static
std::enable_if_t<IsCompatibleOptionSequence<tensorstore::TransactionalOpenOptions,
Option ...>, tensorstore::Future<mdio::Variable<T, R, M> > >
mdio::Variable<T, R, M>::Open(const json&, Option&& ...) [with Option =
{const tensorstore::OpenMode&}; T = void; long int R = -1;
tensorstore::ReadWriteMode M = tensorstore::ReadWriteMode::dynamic;
std::enable_if_t<IsCompatibleOptionSequence<tensorstore::TransactionalOpenOptions,
Option ...>, tensorstore::Future<mdio::Variable<T, R, M> > > =
tensorstore::Future<mdio::Variable<> >; nlohmann::json_abi_v3_11_3::json =
nlohmann::json_abi_v3_11_3::basic_json<>]’:
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/dataset.h:1257:45:
required from here
/home/gaor/Documents/research/mdio/mdio-cpp-main/mdio/variable.h:775:3:
warning: no return statement in function returning non-void [-Wreturn-type]
775 | }
| ^
At global scope:
cc1plus: note: unrecognized command-line option
‘-Wno-unknown-warning-option’ may have been intended to silence earlier
diagnostics
make[2]: *** [mdio/CMakeFiles/mdio_gcs_test.dir/build.make:79:
mdio/CMakeFiles/mdio_gcs_test.dir/gcs_test.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:257723:
mdio/CMakeFiles/mdio_gcs_test.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Thanks,
Rebecca
…On Fri, Nov 15, 2024 at 3:53 PM Brian Michell ***@***.***> wrote:
Hello, and thank you for testing out this repo!
Your issue stems from an unsupported GCC compiler version. We require at
least GCC 11 or Clang 14. You can check out our devcontainer
<https://github.com/TGSAI/mdio-cpp/tree/main/.devcontainer> as a way to
check out things quickly.
The long-term solution will be to have one of the newer compilers
mentioned above (or try a different one if they're already available on
your system), or we can look into Singularity if your system uses that.
On our side I will look into adding an explicit error for unsupported
compiler versions on the CMake side.
—
Reply to this email directly, view it on GitHub
<#143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYT5FPOHY5AOAEO32JJTTD2AZUPBAVCNFSM6AAAAABR37QI7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZHE4TKNJQHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Rebecca*
|
Hi Rebecca, We actually maintain a custom fork of Tensorstore to enable some key features of MDIO. I believe if you update your fetch content to fetch our fork that will fix your issue. If this doesn't resolve the issue I'll take a deeper look at the errors. Best, |
Hi Brian,
Thank you!
Currently it shows I fetched the default *Tensorstore repository*
maintained by Google:
origin https://github.com/google/tensorstore.git (fetch)
origin https://github.com/google/tensorstore.git (push)
I have updated the tensorstore version with adding/replacing the following
lines in CMakeLists.txt.
FetchContent_Declare(
tensorstore
GIT_REPOSITORY https://github.com/brian-michell/tensorstore.git
GIT_TAG v0.1.63_latest
)
After "cmake ..", I got this:
Proto aspect: cpp
Proto aspect: upb
Proto aspect: upb_minitable
Proto aspect: upbdefs
Unknown library: @bazel_tools//tools/build_defs/repo:http.bzl
Unknown library: @bazel_tools//tools/build_defs/repo:http.bzl
Unknown library: @bazel_tools//tools/build_defs/repo:http.bzl
Unknown library: @bazel_tools//tools/build_defs/repo:http.bzl
Unknown library: @rules_proto//proto:repositories.bzl
Unknown library: @bazel_skylib//rules:build_test.bzl
Blind reference to @com_google_protobuf//:duration_proto__minitable_library
from ***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to
@com_google_protobuf//:timestamp_proto__minitable_library from
***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to @com_google_protobuf//:duration_proto__upb_library from
***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to @com_google_protobuf//:timestamp_proto__upb_library from
***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to @com_google_protobuf//:duration_proto__cpp_library from
***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to @com_google_protobuf//:timestamp_proto__cpp_library from
***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to
@com_google_googleapis//google/rpc:code_proto__cpp_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:timestamp_proto__cpp_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to
@com_google_protobuf//:timestamp_proto__minitable_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to
@com_google_googleapis//google/rpc:code_proto__minitable_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to
@com_google_protobuf//:timestamp_proto__minitable_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:timestamp_proto__upb_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to
@com_google_googleapis//google/rpc:code_proto__upb_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:timestamp_proto__upb_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:timestamp_proto__cpp_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:duration_proto__upbdefs_library
from ***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to @com_google_protobuf//:timestamp_proto__upbdefs_library
from ***@***.***//tensorstore/kvstore/ocdbt/distributed")
Blind reference to
@com_google_googleapis//google/rpc:code_proto__upbdefs_library from
***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:timestamp_proto__upbdefs_library
from ***@***.***//tensorstore/kvstore/tsgrpc")
Blind reference to @com_google_protobuf//:timestamp_proto__upbdefs_library
from ***@***.***//tensorstore/kvstore/tsgrpc")
Proto aspect: cpp
Proto aspect: upb
Proto aspect: upb_minitable
Proto aspect: upbdefs
Blind reference to @com_google_protobuf//:timestamp_proto__cpp_library from
***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:wrappers_proto__cpp_library from
***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to
@com_google_protobuf//:timestamp_proto__minitable_library from
***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:wrappers_proto__minitable_library
from ***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:timestamp_proto__upb_library from
***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:wrappers_proto__upb_library from
***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:timestamp_proto__upbdefs_library
from ***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:wrappers_proto__upbdefs_library
from ***@***.***_proto_mirror//opencensus/proto/trace/v1")
Blind reference to @com_google_protobuf//:descriptor_proto__cpp_library
from ***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:duration_proto__cpp_library from
***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:timestamp_proto__cpp_library from
***@***.***_proto_mirror//validate")
Blind reference to
@com_google_protobuf//:descriptor_proto__minitable_library from
***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:duration_proto__minitable_library
from ***@***.***_proto_mirror//validate")
Blind reference to
@com_google_protobuf//:timestamp_proto__minitable_library from
***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:descriptor_proto__upb_library
from ***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:duration_proto__upb_library from
***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:timestamp_proto__upb_library from
***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:descriptor_proto__upbdefs_library
from ***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:duration_proto__upbdefs_library
from ***@***.***_proto_mirror//validate")
Blind reference to @com_google_protobuf//:timestamp_proto__upbdefs_library
from ***@***.***_proto_mirror//validate")
Proto aspect: cpp
Proto aspect: upb
Proto aspect: upb_minitable
Proto aspect: upbdefs
Unknown library: @rules_java//java:defs.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @bazel_skylib//:bzl_library.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @bazel_skylib//lib:unittest.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_python//python:proto.bzl
Unknown library: @bazel_skylib//:bzl_library.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_pkg//:mappings.bzl
Unknown library: @rules_fuzzing//fuzzing:cc_defs.bzl
Proto aspect: cpp
Proto aspect: upb
Proto aspect: upb_minitable
Proto aspect: upbdefs
Traceback (most recent call last):
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/run_bazel_to_cmake.py",
line 41, in <module>
sys.exit(bazel_to_cmake.main.main())
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/main.py",
line 332, in main
return run_main(args)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/main.py",
line 220, in run_main
state.analyze(sorted(targets_to_analyze))
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 197, in analyze
self.get_target_info(target)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 362, in get_target_info
info = self._get_target_info(target_id, False)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 337, in _get_target_info
rule_info.impl()
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/native_rules_alias.py",
line 46, in <lambda>
lambda: _alias_impl(context, target, actual),
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/native_rules_alias.py",
line 59, in _alias_impl
target_info = _context.get_target_info(resolved)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 689, in wrapper
return f(*args, **kwargs)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 823, in get_target_info
return self._state.get_target_info(target_id)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 362, in get_target_info
info = self._get_target_info(target_id, False)
File
"/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tools/cmake/bazel_to_cmake/evaluation.py",
line 310, in _get_target_info
raise ValueError(
ValueError: ('Error analyzing @tensorstore//:arm64_gcc_or_clang: File not
found
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/arm64_gcc_or_clang',
'from caller ***@***.***_zlib//")')
CMake Error at build/_deps/zlib-src/CMakeLists.txt:26 (execute_process):
execute_process failed command indexes:
1: "Child return code: 1"
…-- Configuring incomplete, errors occurred!
Thanks,
Rebecca
On Sat, Nov 16, 2024 at 6:26 PM Brian Michell ***@***.***> wrote:
Hi Rebecca,
We actually maintain a custom fork of Tensorstore to enable some key
features of MDIO. I believe if you update your fetch content to fetch our
fork
<https://github.com/TGSAI/mdio-cpp/blob/main/cmake/FindEXT_TENSORSTORE.cmake#L6-L11>
that will fix your issue.
If this doesn't resolve the issue I'll take a deeper look at the errors.
Best,
Brian
—
Reply to this email directly, view it on GitHub
<#143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYT5FOR7QWPUWWHDMZ4WHT2A7PEJAVCNFSM6AAAAABR37QI7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQHA3DMMZWGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Rebecca*
|
Hi Rebecca, It looks like your CMake cache is outdated and pointing to the Google managed Tensorstore artifacts still. Removing the contents of the build directory and re-running Best, |
Dear TGS MDIO Cpp,
My gcc version:
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I have passed the CMake, but can't do make. Here is the result:
(ss-dev-mg) gaor@BEGW-SF-898244:~/Documents/research/mdio/mdio-cpp-main/build$ make
[ 0%] Built target nlohmann_json_schema_validator
[ 0%] Built target tensorstore_internal_poly_storage
[ 0%] Built target tensorstore_internal_utf8
[ 0%] Built target absl_spinlock_wait
[ 0%] Built target absl_log_severity
[ 0%] Built target absl_raw_logging_internal
[ 0%] Built target absl_base
[ 0%] Built target absl_strings_internal
[ 0%] Built target absl_throw_delegate
[ 0%] Built target absl_int128
[ 0%] Built target absl_string_view
[ 0%] Built target absl_strings
[ 0%] Built target tensorstore_util_quote_string
[ 0%] Built target riegeli_base_assert
[ 0%] Built target riegeli_bytes_write_int_internal
[ 0%] Built target absl_malloc_internal
[ 0%] Built target absl_strerror
[ 0%] Built target absl_time_zone
[ 0%] Built target absl_debugging_internal
[ 0%] Built target absl_stacktrace
[ 0%] Built target absl_utf8_for_code_point
[ 0%] Built target absl_decode_rust_punycode
[ 0%] Built target absl_demangle_rust
[ 0%] Built target absl_demangle_internal
[ 0%] Built target absl_symbolize
[ 0%] Built target absl_exponential_biased
[ 0%] Built target absl_graphcycles_internal
[ 0%] Built target absl_civil_time
[ 0%] Built target absl_time
[ 0%] Built target absl_kernel_timeout_internal
[ 5%] Built target absl_synchronization
[ 5%] Built target absl_hashtablez_sampler
[ 5%] Built target absl_bad_variant_access
[ 5%] Built target absl_city
[ 5%] Built target absl_low_level_hash
[ 5%] Built target absl_bad_optional_access
[ 5%] Built target absl_hash
[ 5%] Built target absl_raw_hash_set
[ 5%] Built target absl_crc_cpu_detect
[ 5%] Built target absl_crc_internal
[ 5%] Built target absl_str_format_internal
[ 5%] Built target absl_crc32c
[ 5%] Built target absl_crc_cord_state
[ 5%] Built target absl_cord_internal
[ 5%] Built target absl_cordz_functions
[ 5%] Built target absl_cordz_handle
[ 5%] Built target absl_cordz_info
[ 5%] Built target absl_cord
[ 5%] Built target absl_status
[ 5%] Built target absl_statusor
[ 5%] Built target riegeli_base_memory_estimator
[ 5%] Built target riegeli_base_string_utils
[ 5%] Built target riegeli_base_cord_utils
[ 5%] Built target riegeli_base_buffer
[ 5%] Built target riegeli_base_shared_buffer
[ 5%] Built target riegeli_base_sized_shared_buffer
[ 5%] Built target riegeli_base_zeros
[ 5%] Built target riegeli_base_chain
[ 5%] Built target riegeli_base_object
[ 5%] Built target riegeli_base_status
[ 11%] Built target riegeli_bytes_reader_and_writer
[ 11%] Built target riegeli_varint_varint_reading
[ 11%] Built target absl_examine_stack
[ 11%] Built target absl_log_internal_conditions
[ 11%] Built target absl_log_internal_globals
[ 11%] Built target absl_log_internal_format
[ 11%] Built target absl_log_internal_proto
[ 11%] Built target absl_log_internal_fnmatch
[ 11%] Built target absl_vlog_config_internal
[ 11%] Built target absl_log_globals
[ 11%] Built target absl_log_entry
[ 11%] Built target absl_log_sink
[ 11%] Built target absl_log_internal_log_sink_set
[ 11%] Built target absl_log_internal_nullguard
[ 11%] Built target absl_log_internal_message
[ 11%] Built target tensorstore_internal_riegeli_delimited
[ 11%] Built target absl_log_internal_check_op
[ 11%] Built target tensorstore_serialization
[ 11%] Built target tensorstore_util_status
[ 11%] Built target tensorstore_index_interval
[ 11%] Built target tensorstore_static_cast
[ 11%] Built target tensorstore_rank
[ 11%] Built target tensorstore_util_constant_vector
[ 11%] Building CXX object _deps/tensorstore-build/CMakeFiles/tensorstore_box.dir/tensorstore/box.cc.o
In file included from /home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.h:34,
from /home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.cc:15:
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/internal/multi_vector.h: In substitution of ‘template<long int Extent, class ... Ts> using MultiVectorStorage = tensorstore::internal::MultiVectorStorageImpl<tensorstore::RankConstraint::FromInlineRank(Extent).tensorstore::RankConstraint::operator tensorstore::DimensionIndex(), tensorstore::InlineRankLimit(Extent), Ts ...> [with long int Extent = Rank; Ts = {long int, long int}]’:
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.h:143:67: required from here
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/internal/multi_vector.h:106:58: warning: taking address of rvalue [-fpermissive]
106 | MultiVectorStorageImpl<RankConstraint::FromInlineRank(Extent),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/internal/multi_vector.h:107:58: error: no matching function for call to ‘tensorstore::RankConstraint::operator tensorstore::DimensionIndex(tensorstore::RankConstraint*)’
107 | InlineRankLimit(Extent), Ts...>;
| ^
In file included from /home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/internal/multi_vector.h:30,
from /home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.h:34,
from /home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.cc:15:
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/rank.h:126:13: note: candidate: ‘constexpr tensorstore::RankConstraint::operator tensorstore::DimensionIndex() const’
126 | constexpr operator DimensionIndex() const { return rank; }
| ^~~~~~~~
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/rank.h:126:13: note: candidate expects 0 arguments, 1 provided
In file included from /home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.cc:15:
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.h:220:44: error: expected template-name before ‘<’ token
220 | class Box : public internal_box::BoxStorage {
| ^
/home/gaor/Documents/research/mdio/mdio-cpp-main/build/_deps/tensorstore-src/tensorstore/box.h:220:44: error: expected ‘{’ before ‘<’ token
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
make[2]: *** [_deps/tensorstore-build/CMakeFiles/tensorstore_box.dir/build.make:79: _deps/tensorstore-build/CMakeFiles/tensorstore_box.dir/tensorstore/box.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9617: _deps/tensorstore-build/CMakeFiles/tensorstore_box.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Thank you!
The text was updated successfully, but these errors were encountered: