CMA-ES / libcmaes

libcmaes is a multithreaded C++11 library with Python bindings for high performance blackbox stochastic optimization using the CMA-ES algorithm for Covariance Matrix Adaptation Evolution Strategy
Other
321 stars 78 forks source link

Numpy extension header not found #120

Closed nikohansen closed 9 years ago

nikohansen commented 9 years ago

While it just worked a few minutes ago, now I get

checking for Numpy include directory... checking for /numpy/arrayobject.h... no
configure: error: Numpy extension header not found

when I call ./configure. I believe the only thing I did in between was git checkout dev and git checkout master and git pull.

beniz commented 9 years ago

Numpy detection is very recent (#113), not in master, so I'd do:

git checkout dev
git pull
./autogen.sh

and then configure.

nikohansen commented 9 years ago

thanks, I guess I missed to do ./autogen.sh again.

beniz commented 9 years ago

When the configuration script changes between commits, the ./autogen.sh is required (or autoreconf).