dependency locations wrong / missing in instructions & error on final CNMAT-Externs make
Opened this issue · 3 comments
I just went through all the instructions... To get libomax to compile I needed to have max-sdk-base in my root folder, not inside the max-sdk folder that is downloaded from git... The max-sdk folder downloaded from git also has no files in the max-sdk folder inside the source folder. I also needed to download Pure Data here: https://github.com/pure-data/pure-data and put pure-data folder in the root folder as well to get libomax to compile. After those changes, libomax compiled.
When I went to the CNMAT-Externs folder for the final make, it first errored and I had to copy all the files in the max-sdk-base into the max-sdk/source folder without any other enclosing folder... So it looked like max-sdk/source/c74support and then it started working... But after a while I got this error:
The following build commands failed:
CompileC /Users/username/Desktop/CNMAT/CNMAT-Externs/build/CNMAT-Externs.build/Release/thread.fork.build/Objects-normal/x86_64/thread.fork.o /Users/username/Desktop/CNMAT/CNMAT-Externs/src/thread.fork/thread.fork.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'thread.fork' from project 'CNMAT-Externs')
(1 failure)
make: *** [MACOBJECTS] Error 65
If anyone knows how to fix this I'd be grateful! I really need to re-compile randdist for the Apple M1!!! Many thanks!
hi dave! they changed the max-sdk recently, so now there is a submodule, you need to do something like git submodule update --init
in the max-sdk folder. and then if you update you may need to update the submodule also, like git pull
then git submodule update --recursive
.
reference: https://stackoverflow.com/questions/8090761/pull-using-git-including-submodule
@davidcool I am in the process of addressing issues related to Apple Silicon and, by extension, the refactored max-sdk and related issues in a new build. Please see the updated forked repo here: https://github.com/CNMAT/CNMAT-Externs/tree/Apple-Silicon ...which should compile for you. And let me know if you run into any issues.
@davidcool Also, see the compiled prerelease here: https://github.com/CNMAT/CNMAT-Externs/releases/tag/v1.0.4c