Group Admins

  • Profile picture of Karim
  • Profile picture of Jean


Public Group active 1 day, 13 hours ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

6.8 Can't load Gecode

Author 3 Subscribed Users |
Profile photo of labyk

Using the most recent version of Gecode from the library download page,

I get

“Could not register handle for external module \”vps-constraints\”: Library not loaded: gecode-framework/Versions/27/gecode Referenced from :/Applications/OM 6.8/libraries/OMGecode 6.0/Frameworks/stroppa-constraints.framework/Versions/A/stroppa-constraints Reason: Image not found”

Any ideas what’s going wrong. I’ve switched off all other libraries just to test, and still get this.

Many thanks!


July 9, 2014 at 15:44 #9911
Profile photo of labyk


trying to load GeLisp gives:

“Unable to load foreign library ( Could not register handle for external module :library not loaded …. Referenced from /Applications/../sources/ Reason Image not found”

Any ideas?

(I’m not trying to load this with OMGecode, by the way).

July 9, 2014 at 17:02 #9913
Profile photo of lemouton

Hi !

The distributed version of the OmGecode library requires Gecode version 3.7.1.
The Gecode developpers are so active that it is difficult to follow all the new versions.
If you want, I can try to make a new version of the library compatible with 4.2.1, just let me know…


July 29, 2014 at 21:56 #10183
Profile photo of labyk

Hi Serge! Thank you very much for the personal reply, it is much appreciated. I’ve found your work with constraints really inspirational.

It would be great of course to have Gecode working with OM. However, please don’t go through this on my account alone – I’m currently investigating another solution.

I’m planning to make an OM interface, starting with a straightforwards link and developing it from there, to MiniZinc.

As I’m sure you’re aware, MiniZinc is very easy to use compared to coding directly for Gecode. It also runs very fast and effectively, with a wide variety of backend solvers and a nice IDE. I really like it.

I’d like to contribute something if I ever get this going properly. So no worries, and thank you for the offer.

All best,


August 1, 2014 at 10:34 #10211
Profile photo of ratox

Hello, any news on this subject? It would be valuable i think to keep the gecode library up-to-date

August 9, 2017 at 18:51 #23385

You must be logged in to reply to this topic.

Log in now