You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Eduard Rakhmankulov (Jira)" <ji...@apache.org> on 2025/12/01 19:38:00 UTC

[jira] [Updated] (IGNITE-27223) C++ Compilation of cluster_connection.cpp fails in some environments.

     [ https://issues.apache.org/jira/browse/IGNITE-27223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eduard Rakhmankulov updated IGNITE-27223:
-----------------------------------------
    Labels: ignite-3  (was: )

> 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
>            Reporter: Eduard Rakhmankulov
>            Priority: Major
>              Labels: ignite-3
>
> 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)