Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Mac OSX Instruction Update + lipo error "rakneti386.a and raknetppc.a have the same architectures (i386) and can't be in the same fat output file" #144

Open
netpoetica opened this issue Oct 2, 2020 · 0 comments

Comments

@netpoetica
Copy link

Using the instructions for building on Mac OSX, this command:

lipo -create *.a -o libraknet.a

produces the following error:

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: rakneti386.a and raknetppc.a have the same architectures (i386) and can't be in the same fat output file

I assume this is likely due to out-of-date instructions, because for example Mac OSX SDK now lives here:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

whereas in the README.md file it is listed as /Developer/SDKs/MacOSX10.5u.sdk/. In modern version of Mac OSX, all of the /Developer/SDK stuff lives inside of the Xcode application.

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

No branches or pull requests

1 participant