Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.8
-
None
-
None
-
Docs Required
Description
IGNITE-1472 introduced ignite/binary/binary_enum_entry.h and ignite/binary/binary_enum.h. These header files are used inside ignite/impl/binary/binary_utils.h:30:10.
However, after compilation using
./configure --disable-node --disable-odbc
the header files are not installed under /usr/local/include/ignite/binary/ thus causing compilation error in user program.
The fix is to copy the two files to /usr/local/include/ignite/binary.
Reproduction steps
Step 1 - sparse clone the thin-client from master
cd /tmp
mkdir ignite
cd ignite
git init
git config core.sparseCheckout true
git remote add origin https://github.com/apache/ignite.git
echo "modules/platforms/cpp/" > .git/info/sparse-checkout
git fetch --depth 1 origin
git checkout master
Step 2 - make and install static and shared libraries
cd modules/platforms/cpp/
libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
./configure --disable-node --disable-odbc
make -j$num_cpus
make install
Step 3 - attempt to build thin-client library inside cpp application