[
https://issues.apache.org/jira/browse/IGNITE-27223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Sapego updated IGNITE-27223:
---------------------------------
Ignite Flags: (was: Docs Required,Release Notes Required)
> C++ Compilation of cluster_connection.cpp fails in some environments.
> ---------------------------------------------------------------------
>
> Key: IGNITE-27223
> URL: https://issues.apache.org/jira/browse/IGNITE-27223
> Project: Ignite
> Issue Type: Bug
> Components: thin clients ai3
> Affects Versions: 3.1
> Reporter: Eduard Rakhmankulov
> Assignee: Eduard Rakhmankulov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Message from dev-list:
> {code:java}
>
> Hello,
> I have this environment :
> Debian 13.2, gcc 14.2.0-19, cmake 3.31.6-2
> And I try to compile ignite 3.1.0 cpp client with the following :
> git clone https://github.com/apache/ignite-3.git
> cd ignite-3 && git checkout 3.1.0
> cd /modules/platforms/cpp/
> mkdir cmake-build-release && cd cmake-build-release
> cmake .. -DCMAKE_BUILD_TYPE=Release
> cmake --build . -j8
> The build crash with this error :
> ~/ignite-3/modules/platforms/cpp/ignite/client/detail/cluster_connection.cpp:
> In member function ‘virtual void
> ignite::detail::cluster_connection::on_message_received(uint64_t,
> ignite::bytes_view)’:
> ~/ignite-3/modules/platforms/cpp/ignite/client/detail/cluster_connection.cpp:171:24:
> error: no matching function for call to
> ‘find(std::vector<ignite::uuid>::const_iterator,
> std::vector<ignite::uuid>::const_iterator, ignite::uuid&)’
> 171 | auto it = std::find(cluster_ids.begin(), cluster_ids.end(),
> *current_cluster_id);
> |
> ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {code}
> It seems that *algorithm* header should be included.
> In some environments compilation working fine because missing function
> included through chain: <functional> -> <std_algo.h>.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)