Re: [shogun] Undefined reference linking to libshogun 5.0

2017-03-27 Thread Fernando J . Iglesias García
Hello Jose, I cannot reproduce the linker error in Ubuntu 16.04 using libshogun16 (the package in the default Ubuntu repositories, without adding the ppa). If it is possible for your application and these packages are also available in Ubuntu 14.04, I suggest you try with those instead (i.e.

Re: [shogun] Undefined reference linking to libshogun 5.0

2017-03-27 Thread Jose Gomez
Hello Fernando, You can find below the code I use without database access. I compiled it using g++ -std=c++11 sample.cpp -o sample -lshogun I get the same error as I mentioned. Thanks for your interest. Greetings, Jose #include #include #include #include #include using namespace

Re: [shogun] Undefined reference linking to libshogun 5.0

2017-03-27 Thread Fernando J . Iglesias García
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 wrote: > Hi all, > > I made a test C++ program using a mysql database. > The compilation line I use: > > g++

[shogun] Undefined reference linking to libshogun 5.0

2017-03-26 Thread Jose Gomez
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&)':