Hi all,
I am having an issue with the evaluation version of Sparksee. I built a very basic program, just as a test, which is basically a small adaptation of the example used in the starting guide. I can't get the program to compile correctly. I have also tried to use the exact example of the starting guide, but I have the same problem there.
Even when linking to the correct shared library, I keep getting an "undefined reference" error whenever I call one of Sparksee's methods. The error looks like this:
make -k
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile esDatabase.pro
g++ -m64 -Wl,-O1 -o esDatabase main.o -L/usr/X11R6/lib64 -L/home/wouterspekkink/sparkseecpp-5.2.3/lib/linux64 -lsparksee -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
main.o: In function `main':
main.cpp:(.text.startup+0x124): undefined reference to `sparksee::gdb::Sparksee::Create(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
collect2: error: ld returned 1 exit status
Makefile:138: recipe for target 'esDatabase' failed
make: *** [esDatabase] Error 1
make: Target 'first' not remade because of errors.
Compilation exited abnormally with code 2 at Mon Oct 16 10:11:32
I've tried a bunch of things, like changing the order in which the libraries are linked, using the linux32 folder (this will just give me an error that I was trying to link to an incompatible library), and so on.
It almost seems like the methods were not actually implemented in the library, but perhaps I am doing something wrong (I am not exactly an expert coder).
Does anyone have an idea what might be it?
Thanks in advance.
Wouter Spekkink