unable to load object bundle executable


    Jul 14 2009 | 9:25 am
    Hi,
    I'm running into a few errors when trying to build a collective of a patch I'm working on. A google search for the errors suggest something about objects using an old API, but I'm not sure how to fix that.
    The patch I'm working on is a granular panner using the externals vbap, st.vbap~ and define_loudspeakers.
    Do these following errors make sense to anybody?
    define_loudspeakers: unable to load object bundle executable
     2009-07-14 11:22:34.595 MaxMSP Runtime[944:20b] Error loading /private/var/folders/Dc/Dc5SUDagEJ8GE8ZWBii7H++++TI/TemporaryItems/MaxMSPRuntime-mxt/define_loudspeakers.mxo/Contents/MacOS/define_loudspeakers:  dlopen(/private/var/folders/Dc/Dc5SUDagEJ8GE8ZW
     Bii7H++++TI/TemporaryItems/MaxMSPRuntime-mxt/define_loudspeakers.mxo/Contents/MacOS/define_loudspeakers, 262): no suitable image found.  Did find:
     	/private/var/folders/Dc/Dc5SUDagEJ8GE8ZWBii7H++++TI/TemporaryItems/MaxMSPRuntime-mxt/define_loudspeakers.mxo/Contents/MacOS/define_loudspeakers: mach-o, but wrong architecture
    vbap: unable to load object bundle executable
     2009-07-14 11:22:34.836 MaxMSP Runtime[944:20b] Error loading /private/var/folders/Dc/Dc5SUDagEJ8GE8ZWBii7H++++TI/TemporaryItems/MaxMSPRuntime-mxt/vbap.mxo/Contents/MacOS/vbap:  dlopen(/private/var/folders/Dc/Dc5SUDagEJ8GE8ZWBii7H++++TI/TemporaryItems/Max
     MSPRuntime-mxt/vbap.mxo/Contents/MacOS/vbap, 262): no suitable image found.  Did find:
     	/private/var/folders/Dc/Dc5SUDagEJ8GE8ZWBii7H++++TI/TemporaryItems/MaxMSPRuntime-mxt/vbap.mxo/Contents/MacOS/vbap: mach-o, but wrong architecture
    Kind Regards
    - Bjorn

    • Jul 18 2009 | 9:18 pm
      Bjorn Vayner wrote on Tue, 14 July 2009 11:25
      Do these following errors make sense to anybody?
      define_loudspeakers: unable to load object bundle executable
      ....
      mach-o, but wrong architecture
      Obviously you try to load an (old) external compiled for PPC into an Intel machine (or vice versa). Get the correct version of the external, and take care that there are not multiple/different versions of it in the search path...
      Stefan
    • Jun 10 2014 | 11:18 pm
      Obviously, talking about things you've not experienced gives rise to bad information.
      The latest version of vbap (vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006) is a universal binary (PPC & Intel), but does not include, a 64bit version. I've seen a similar error trying to include this object while running in 64 Bit Mode.
      `vbap: no matching architecture in universal wrapper
      Try running you MaxMSP in 32bit Mode: Select MaxM application, hit Cmd-I, check "Open in 32bit Mode", try again....Good Luck.
    • Jan 02 2015 | 10:04 pm
      There are a few pieces of the Jamoma project that depend on these externals. Since the VBAP source was available, we are working on updating the code so that it will compile for 64-bit versions Max. You can find the results here:
      Cheers. -Nathan
    • Oct 02 2015 | 4:48 am
      Hi Nathan,
      It's great to hear that you had worked on vbap object for a 64 bit version. Have you completed the code? I unfortunately don't understand C language and can't compile from the code in the github. Please let me know if a complied Max external file for Mac is available somewhere.
      Thank you!
      Yota
    • Oct 03 2015 | 1:29 pm
      Hello, Yota. The compiled external for Mac is included in the repository that I linked to above. If you simply download it, you can access the object. Here are some simple steps:
      1) Go to https://github.com/jamoma/JamomaDependencies 2) On the right hand side in the middle, you will see a button that says "Download ZIP". Click it. 3) Expand the ZIP archive, then navigate to the following folder:
      [UNZIPPED location]/JamomaDependencies/Max/VBAP-1.03-w-source/externals/
      The two MXO files in there have been recently compiled for Mac w 64 bit compatibility. I am not on a Windows, so I cannot get the others compiled.
      Hope that helps! -Nathan
    • Oct 06 2015 | 11:58 pm
      Hi Nathan,
      Fantastic! I just tested your 64-bit vbap objects in my studio and they are working nicely. Thank you very much!
      Yota
    • May 11 2017 | 2:39 am
      Thanks for your work on this Nathan- huge help.
      I'm really keen to get a windows build of the 64bit happening- is all that is required is a compile? is this something I could do with no C experience? anyone else?
      Cheers!
      ~Fold
    • May 18 2017 | 2:01 am
      For those that may be reading this later, Mr Fold and I connected via email. Together we reached out to Ville Pullki, and secured his permission to update and open source the code.
      The result is that I am working on a GitHub repository that will have the fresh 64-bit build of the VBAP externals soon for both Mac and Win. You can see the progress for yourself at the following link:
      https://github.com/nwolek/vbap
      I have a build that is ready for beta testing, so feel free to download and provide feedback.
      -Nathan