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

information about xcode and SCTP #5

Open
william86370 opened this issue Dec 4, 2018 · 0 comments
Open

information about xcode and SCTP #5

william86370 opened this issue Dec 4, 2018 · 0 comments

Comments

@william86370
Copy link

after installing SCTP_NKE on MacOS 10.13 I was trying to import <netinet/sctp.h> and after hours of trying to understand why it wouldn't compile I finally figured out that Xcode pulls its libraries from a different location then the systems. if you go into Xcode by right-clicking and showing contents or by going to "/Applications/Xcode.app/Contents/Developer/usr" you can see the files it uses to compile. after adding socket.h to xcode's "/usr/include/sys/" and sctp.h to xcode's "/usr/include/netinet/" and sctp_uio.h to xcode's "/usr/include/netinet/" and libsctp.dylib to xcodes "/usr/lib/" then going into xcode and adding the library to the linked library it was able to compile my project using <netinet/sctp.h> hopes this helps anyone having the same issue as i have had

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

1 participant