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

dependency locations wrong / missing in instructions & error on final CNMAT-Externs make #131

Open
davidcool opened this issue Dec 3, 2021 · 3 comments

Comments

@davidcool
Copy link

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!

@ramagottfried
Copy link
Member

ramagottfried commented Dec 3, 2021

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

@wagne342
Copy link
Contributor

wagne342 commented Dec 3, 2021

@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.

@wagne342
Copy link
Contributor

wagne342 commented Dec 3, 2021

@davidcool Also, see the compiled prerelease here: https://github.com/CNMAT/CNMAT-Externs/releases/tag/v1.0.4c

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

3 participants