A libQtCassandra built on Linux is not useful in Windows. You need to build it on Windows and get a Windows DLL etc.
Declaring Other Libraries. This has also been covered many times in these forums for other thiid-prty libraries like OpenCV.
A libQtCassandra built on Linux is not useful in Windows. You need to build it on Windows and get a Windows DLL etc.
Declaring Other Libraries. This has also been covered many times in these forums for other thiid-prty libraries like OpenCV.
I'm closed libQtCassandy topic, because I'm wrote the mail to the developers of this project and they rewrote that the library should work on Windows, but running it on Windows requires a lot of work.
I found another way to connect c++ program to Cassanda. Looks in this page: http://thrift.apache.org/ Cassandra/interface/cassandra.thrift after generate contains set of classes and objects to Cassandra. Then I'm used the Cygwin to compile Thrift, hence I have the header files for Windows. Then I'm downloaded the Boost library and copied these files to the Thrift sources and compiled libthrift.lib using MSVC. And then I'm compiled the two files *. lib with same boost files. Then I'm included *.lib files for Qt project. A header files I've connected like in this page: http://wiki.apache.org/cassandra/Thr...ples#C.2B-.2B-.
Everything looks good. The program connects to the database - when the server is down program throws exceptions. But, in this line:
I get 43 errors: "unresolved external symbol ..." and all involve methods from CassandraClient object. The declarations of these methods are in Cassandra.h file and in Cassandra.cpp their definitions. I don't know why it didn't see these definitions.
Last edited by kalwi; 15th February 2013 at 08:49.
Bookmarks