Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated version for recent pure data #13

Open
brandflake11 opened this issue May 8, 2019 · 4 comments
Open

updated version for recent pure data #13

brandflake11 opened this issue May 8, 2019 · 4 comments

Comments

@brandflake11
Copy link

Hello,

Is there anyway we can get an updated version of this library for recent pd versions? This library is one of the only ambisonic libraries I know about for pure data, and running older pd versions on linux is a lot harder to obtain the newer the dependencies for it become.

@muziker
Copy link

muziker commented Nov 27, 2019

I managed to compile this for pd 0.50.2. Here's a few notes from somewhere ( i wonder whether anyone runs similarity searches on github comments):

Cream library

  1. remove the libtool in the cream library, use the distro version
  2. fix the ltmain func__fatal_error to remove a single underscore
  3. in ecommon.h add:
    t_namelist* get_sys_searchpath();
    t_namelist* get_sys_staticpath();
  4. in ecommon.c: add
    t_namelist* get_sys_searchpath(){
    return (pd_this->pd_stuff)->st_searchpath;
    }
    t_namelist* get_sys_staticpath(){
    return (pd_this->pd_stuff)->st_staticpath;
    }
  5. in edefine.h, comment out the struct _namelist typedefinition
  6. in edefine.h add #include <s_stuff.h>

Hoa library

  1. in Sources/hoa.tools.cpp
    1.1 replace all sys_soundout with get_sys_soundout()
    1.2 comment out the extern to the sys_soundout
    1.3 include <s_stuff.h>

  2. remove the generated libtool and soft link to the system libtool

  3. in ltmain.sh remove the extra underscore in func_fatal_error

  4. Be sure the third party sources cream library is patched according to the above

  5. load the library by declare -stdlib & declare -stdlib

@mxa
Copy link

mxa commented Nov 27, 2019

This sounds good. I think you should fork it and make a pull request.

@J-Mus
Copy link

J-Mus commented Jun 9, 2020

hello,

Will the above work for MacOS?

Also, what are 'libtool' and 'distro' versions.

Thank you in advance!

@porres
Copy link

porres commented Feb 7, 2021

@muziker, can you make a fork with your modifications so we could test it? It'd be good if we could provide new binaries for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants