Hi,
I’m trying to get Ignite 2.7.0 to work with Qt5 in Qt Creator. I downloaded the
2.7 binary and unzipped it. I then compiled Ignite for C++ in
platforms\cpp\project\vs\ignite.sln . I managed to compile binary, common,
core, ignite, jni with Visual Studio 2017 64bit. I think odbc was skipped and
thin-client failed, because it couldn’t find openssl. I’m still working on that
issue, as I can not get openssl to compile.
In Qt5 I added:
IGNITE_HOME = "C:/C++/libs/apache-ignite/2.7.0"
JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_152"
INCLUDEPATH += "$$PROJECT_DIR/boost/boost_1_68_0" \ #Boost
#"$$PROJECT_DIR/boost/boost_1_61_0" \ #
"$$IGNITE_HOME/platforms/cpp/common/include" \
"$$IGNITE_HOME/platforms/cpp/common/os/win/include" \
"$$IGNITE_HOME/platforms/cpp/jni/include" \
"$$IGNITE_HOME/platforms/cpp/jni/os/win/include" \
"$$IGNITE_HOME/platforms/cpp/binary/include" \
"$$IGNITE_HOME/platforms/cpp/core/include" \
"$$JAVA_HOME/include" \
"$$JAVA_HOME/include/win32"
LIBS += -L"$$PROJECT_DIR/boost/boost_1_68_0/lib64-msvc-14.1" \
#-L"$$PROJECT_DIR/boost/boost_1_61_0/lib64-msvc-12.0" \ #Boost #
-L"$$IGNITE_HOME/platforms/cpp/project/vs/x64/Release" \
"$$IGNITE_HOME/platforms/cpp/project/vs/x64/Release/ignite.binary.lib" \
"$$IGNITE_HOME/platforms/cpp/project/vs/x64/Release/ignite.common.lib" \
"$$IGNITE_HOME/platforms/cpp/project/vs/x64/Release/ignite.core.lib" \
"$$IGNITE_HOME/platforms/cpp/project/vs/x64/Release/ignite.jni.lib" \
"$$IGNITE_HOME/platforms/cpp/project/vs/x64/Release/ignite.lib"
I also added ignite.core.dll and ignite.jni.dll to my build folder. However
when I build the sample C++ code for First Ignite Data Grid Application from
https://apacheignite-cpp.readme.io/docs/getting-started-1, I get the following
error: ignite.common.lib(platform_utils.obj):-1: error: LNK2001: unresolved
external symbol __imp_SHFileOperationW . Any idea how I can fix this? Thank you.
Kind regards,
Nick