Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Rhino 5 Compatible openNURBS DL? #185

Open
pindaroso opened this issue Aug 14, 2018 · 3 comments
Open

Rhino 5 Compatible openNURBS DL? #185

pindaroso opened this issue Aug 14, 2018 · 3 comments

Comments

@pindaroso
Copy link

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:

  • I'm assuming the file name "opennurbs_6" means this is for Rhino 6?
  • I'm on MacOS 10.4 (Beta) so the issue could me on my end!
@pindaroso
Copy link
Author

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
Copy link
Member

sbaer commented Aug 15, 2018

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

@pindaroso
Copy link
Author

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!

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

2 participants