You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: