esa / pygmo2

A Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pygmo2/
Mozilla Public License 2.0
422 stars 57 forks source link

Compile error: no member named 'hock_schittkowsky_71' in namespace 'pagmo' #106

Closed xand-stapleton closed 1 year ago

xand-stapleton commented 1 year ago

When compiling from source on any architecture (tested on Intel MacOS 12.6, M1 MacOS 12.6 and x86/64Arch Linux kernel 5.19.12), compile fails with error: error: no member named 'hock_schittkowsky_71' in namespace 'pagmo'

The name of the pagmo library changed as of https://github.com/esa/pagmo2/commit/8f95308ce9a70b12d1b0b3a63fc3aa7dce6d143b

All references in the file 'expose_problems_0.cpp' must be changed from 'hock_schittkowsky' to 'hock_schittkowski' to compile, and be compatible to the latest current git version on the master branch.

bluescarni commented 1 year ago

@xand-stapleton yep you are perfectly right. I'll open a PR.

xand-stapleton commented 1 year ago

Thanks :)

bluescarni commented 1 year ago

This should now be fixed by #107 . Please re-open if needed.