As suggested, I used ccmake to check the correctness of the library paths.
It seems that cmake detects correctly the location of
libblas/libatlas/liblapack,
but it still gives linker errors (I also tried to manually add the paths
to LD_LIBRARY_PATH).
It feels strange to me, because I installed all the packages through
apt-get.
I would have been less surprised to get these errors if I had compiled
and installed
all these packages by myself.
I will try to build everything again on a clean separate machine to see
if it gets better.
Giovanni
On 25/01/2017 12:17, Heiko Strathmann wrote:
This is a faulty setup. These things should be in your LD_LIBRARY_PATH.
Maybe cmake detected them wrong? We also have manual options to set
that (try ccmake), and also a special option for ATLAS.
H
2017-01-24 21:35 GMT+00:00 Giovanni De Toni <[email protected]>:
Hi,
the latest commits solved my issue. I am now able to compile
all the meta examples (except those which require the LAPACK library).
However, for curiosity's sake, I tried to compile everything after
installing
the ATLAS library (that includes also LAPACK and BLAS). The cmake
configuration goes well,
but when I try to compile the cpp meta examples or the shogun unit tests the
linker complains
that it cannot find some symbols (for example, dsyev_, dorgqr_ etc.).
Here the gist with the complete errors:
https://gist.github.com/geektoni/9ec823a1b05085f33f0c561053a705a9
Is there a way to fix it? Thanks for the help!
Giovanni
On 23/01/2017 17:18, Heiko Strathmann wrote:
Hi!
That will be unmet dependencies that are not clearly handled in our build.
The latest merge should solve the CMahalanobisDistance problem.
Let us know how things go
2017-01-21 10:26 GMT+00:00 Giovanni De Toni <[email protected]>:
Hello everybody,
I am a computer science undergraduate student from Italy. Recently, I got
interested in the Shogun Project and I have begun to "play" with the code,
to understand its structure and its internal logics.
Unfortunately, I encountered some problem when compiling the cpp meta
examples.
Specifically, I get compilation errors on the file
examples/meta/cpp/distance/mahalanobis.cpp.
You can find the complete message at this link:
https://gist.github.com/geektoni/29c8cad970478b834e353348a0431130
I have also tried to compile it manually but it gave me the same result.
I am on Ubuntu 16.04 and I have set up cmake with these flags:
-DBUILD_META_EXAMPLES=ON -DENABLE_TESTING=ON
(my gcc version is 4.9.3).
Am I missing something? Perhaps some configuration parameters?
Thank you in advance for the help!
Best regards,
Giovanni