Skip to content

relative import error #86

Closed
@kkonevets

Description

@kkonevets

I did

$ git clone https://github.com/abseil/abseil-cpp.git (latest commit 1415b5936a2ac2f084850b09057e05fb5798b2f1)
$ cmake ..
$ make
$ sudo make install

Then I tried to build this example

                 from /usr/local/include/clickhouse/block.h:3,
                 from /usr/local/include/clickhouse/query.h:3,
                 from /usr/local/include/clickhouse/client.h:3,
                 from /home/guyos/Documents/analytics/main.cpp:1:
/usr/local/include/clickhouse/types/types.h:3:10: fatal error: absl/numeric/int128.h: No such file or directory
    3 | #include "absl/numeric/int128.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~

Seems like absl should not be explicitly included to types.h but be linked with some function instead. Relative import error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions