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

Error on building example projects #18

Open
andr-ew opened this issue May 30, 2019 · 2 comments
Open

Error on building example projects #18

andr-ew opened this issue May 30, 2019 · 2 comments

Comments

@andr-ew
Copy link

andr-ew commented May 30, 2019

Getting this error when I'm trying to build any of the example projects unchanged:

The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'max-external')

macOS 10.15.5, Max 8.0.1, Xcode 10.2.1

About to test, but I might guess it's the XCode version

Thank you!

@andr-ew
Copy link
Author

andr-ew commented May 30, 2019

well I fixed the issue for me, but might be helpful to know:

removed i386 from the ARCHS setting in maxmspsdk.xcconfig

that fixed the above issue, then I got this error:

/Users/instrument/Documents/Max 8/Packages/max-sdk-8.0.3/source/maxcpp-master/maxcpp/maxcpp6.h:51:10: 'new' file not found

I followed the instructions here, changing "Apple Clang - Language - C++ / C++ Standard Library" in Build Settings from "libstdc++ (GNU C++ standard library)" to "libc++ (LLVM C++ standard library with C++11 support)"

Yea, probably just Xcode 10 stuff, but might be good to know

@grrrwaaa
Copy link
Owner

Yes this will be the fact that apple deprecated i386 architecture in recent versions of Xcode. It's an awkward situation as Max still runs in 32-bit mode on many systems, thus i386 compilation is still required for a time at least. Using an older version of Xcode can work, or if you don't want to care about 32-bit support, you can just upgrade the Xcode project as recommended to remove i386 arch support.

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

2 participants