mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
244 stars 93 forks source link

Rhino 5 Compatible openNURBS DL? #185

Open pindaroso opened 6 years ago

pindaroso commented 6 years ago

Hello, I'm looking for a download of openNURBs compatible with the mcneel/rhinocommon branch rhino3dmio. The download link for openNURBs currently gives me opennurbs_6.1.18014.22401.zip; it builds fine on its own, but causes issues when integrating via the rhcommon_opennurbs.xcodeproj in rhinocommon/c.

Thanks!

Important Notes:

pindaroso commented 6 years ago

For example, I found this in the wild, wild, and it worked.

> ./build_native.py -p all

Android Pre-build check-----------------------------------------
 Checking for opennurbs                ...Found
 Checking for jni                      ...Found
 Checking for NDK                      ...ndk NOT FOUND
 Checking for existing builds          ...Not Found
STATUS: NOT ready for Android build.  Please address the following:
 ---ERROR: NDK not found------------------------------------------------
  Building an android native library requires Google's ndk tools.
  Xamarin.Android comes with a copy of the Android NDK.  Normally,
  this is in /Users/you/Library/Developer/Xamarin/android-ndk/
  If you are missing the NKD, you can download a new copy here:
  http://developer.android.com/tools/sdk/ndk/index.html
  Once installed, you will need to add the path to the NDK toolkit
  to your shell profile so that ndk-build can be called from anywhere.

iOS Pre-build check---------------------------------------------
 Checking for opennurbs                ...Found
 Checking for xcodeproj                ...Found
 Checking for XCode command line tools ...Found
 Checking for lipo                     ...Found
 Checking for existing builds          ...Not Found
STATUS: Ready to build libopennurbs.a for iOS

OS X Pre-build check-----------------------------------------
 Checking for opennurbs                ...Found
 Checking for xcodeproj                ...Found
 Checking for XCode command line tools ...Found
 Checking for existing builds          ...Found
STATUS: Ready to build libopennurbs.dylib for OS X
STATUS: Existing OS X build found.  NOT BUILDING.  (Use -o argument to overwrite existing.)

iOS Build-------------------------------------------------------
Making static libopennurbs.a for iOS...
 Compiling x86_64 (Simulator)          ...Done
 Compiling arm64 version               ...Done
 Creating Universal Binary             ...Done
STATUS: iOS Build Complete.  Libraries are in build/Release-ios

I spoke with @dbelcher on the Rhino forums and he mentioned the documentation may be out of sync. Let me know what the plans are for moving openNURBs to GH and I would be happy to update the docs accordingly.

LMK

sbaer commented 6 years ago

There are nuget packages for Rhino3dmIo now. Is there any reason you can’t just use those?

pindaroso commented 6 years ago

I was interested in building openNURBS from source to get a better understanding of how everything fits together, the repo of archived openNURBS releases I found and mentioned was sufficient for my purposes. Just leaving a trail here in case others come across the same issue...

Feel free to close, thanks!