Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12988

c++ thin client installer misses some headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8
    • None
    • build, examples, thin client
    • None

    Description

      Hello,

       

      After building and installing (with make install) the c++ module for ignite, some header files are missing, so the most simple example cannot compile :

       

      make: Entering directory '/home/bastien/project/webix/cpp'
      g++ -I/usr/local/include   -c -o data.o data.cpp
      In file included from /usr/local/include/ignite/impl/binary/binary_writer_impl.h:32,
                       from /usr/local/include/ignite/binary/binary_raw_writer.h:30,
                       from /usr/local/include/ignite/impl/thin/writable.h:21,
                       from /usr/local/include/ignite/thin/cache/cache_client.h:28,
                       from /usr/local/include/ignite/thin/ignite_client.h:31,
                       from data.cpp:3:
      /usr/local/include/ignite/impl/binary/binary_utils.h:30:10: fatal error: ignite/binary/binary_enum_entry.h: No such file or directory
         30 | #include <ignite/binary/binary_enum_entry.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make: *** [<builtin>: data.o] Error 1
      

      To make the first thin client example compile, I had to manually copy `binary_enum_entry.h` and `binary_enum.h` to /usr/local/include/ignite/binary/

       

      Using the deb file from http://apache.org/dist/ignite/deb/ leads to the same results.

      While trying to compile a non-thin client, I ran into a similar issue with <ignite/jni/utils.h> which is not installed, but I did not push this way.

       

      By the way, the examples on https://apacheignite-cpp.readme.io/docs/thin-client reffers to a non-existant include file : <ignite/thin/cache/ignite_client.h>

      Attachments

        Activity

          People

            Unassigned Unassigned
            bastien_durel Bastien Durel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: