CICM / HoaLibrary

:warning: [deprecated] High Order Ambisonics library with Max, Pure Data, FAUST, Csound and VST implementations.
http://www.mshparisnord.fr/hoalibrary/en/
64 stars 16 forks source link

Can't compile hoa.map~ on macos. #5

Closed rvega closed 10 years ago

rvega commented 10 years ago

Trying to compile hoa.map~ so I can use it on a project with libpd (kind of related to https://github.com/CICM/HoaLibrary/issues/4).

When I open the xcode workspace and then the hoa.map~ project. There are many files that xcode can't find (neither can I :)).

The most important one seems to be AmbisonicsMultiMaps.h and .cpp (or wherever the AmbisonicsMultiMaps class is defined).

Any instructions/tips for compiling?

Thanks!

RV.

pierreguillot commented 10 years ago

Hi,

Sorry, we are changing all the architecture of the distribution (due to the 3D), the projects for Pure Data are not up to date. They will be available in the next weeks. You wan look at hoa.2d.map in the Max/Max2d folder but it can be complicated to make the portage (you also need to have the CICM Wrapper library to compile the Pure Data object). I'm also going to look at the previous issue #4

Cheers.

rvega commented 10 years ago

Maybe if you can point me to the commit numbers of the version of the code that was used to generate the published PD externals, I can use that version and compile?

Also, may I suggest using a git submodule in your repo to point to the CICM Wrapper library (and automagically, the commit number used for that aswell).

Thanks for sharing this awesome libs :)

rvega commented 10 years ago

I figured out how to compile the hoa.map~ external, here are some instructions in case someone needs to do the same:

  1. I cloned the HoaLibrary repo and checked out an older commit, close to the date when the PD externals were released (Nov 2013):
git clone https://github.com/CICM/HoaLibrary.git
cd HoaLibrary
git checkout 1.3.1
  1. Did the same with the CicmWrapper repository
git clone https://github.com/CICM/CicmWrapper.git
cd CicmWrapper
git checkout c0b816f31518131ab44273cffeeafbf25288ab8d
  1. Also checked out the pd-extended repository
git clone git://git.code.sf.net/p/pure-data/pd-extended

My directory structure ended up looking like: screen shot 2014-03-10 at 10 37 00 am

  1. I then opened the hoa.map~ project in xcode, fixed the paths and the include dirs, added all the files from the CicmWrapper to the hoa.map~ target and the library compiled successfully.