Hello Jose, Could you isolate the error in a minimal example and share the code? Thank you!
Cheers, Fernando. On 27 March 2017 at 07:20, Jose Gomez <jose.gomez.lo...@gmail.com> wrote: > Hi all, > > I made a test C++ program using a mysql database. > The compilation line I use: > > g++ -std=c++11 database.cpp whole_dataset.cpp -o whole_dataset -lshogun > -lmysqlclient > > I get > > /tmp/ccCFhRAD.o: In function `shogun::CSGObject::operator=(shogun::CSGObject > const&)': > whole_dataset.cpp:(.text._ZN6shogun9CSGObjectaSERKS0_[_ZN6shogun9CSGObjectaSERKS0_]+0x27): > undefined reference to `shogun::Unique<shogun::CSGObj > ect::Self>::operator=(shogun::Unique<shogun::CSGObject::Self> const&)' > collect2: error: ld returned 1 exit status > > I'm using libshogun17 and libshogun-dev stable packages from the stable > ppa repository in ubuntu 14.04 > > Am I missing some extra dependencies? > > Thanks in advance for your help. > > Greetings > > Jose Gomez > >