MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.81k stars 525 forks source link

Compile with Eigen without using pkg-config #1359

Closed jamiebullock closed 11 months ago

jamiebullock commented 1 year ago

Eigen is a header-only library, it is therefore sufficient to simply specify the include path to the headers. It doesn't even need to be installed on the user's system. In fact it is convenient not to do so.

However, AFAICT, Essentia requires pkg-config to find the Eigen build flags.

Is there any way to avoid this pkg-config dependency and tell waf the header location?

dbogdanov commented 11 months ago

You can disable the pkg-config check here and edit LIBPATH and INCLUDES waf variables to include necessary paths somewhere here.