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

Install with Homebrew? #16

Open
KingScooty opened this issue Feb 17, 2016 · 3 comments
Open

Install with Homebrew? #16

KingScooty opened this issue Feb 17, 2016 · 3 comments

Comments

@KingScooty
Copy link

It'd be nice if we could install this using homebrew rather than having to build it manually.

@paulfreeman
Copy link

A big learning curve for a non-C programmer who would like to use this. Luckily there is StackOverflow with a few pointers enough to experiment. Something similar and terse would help on this site/wiki.

http://stackoverflow.com/questions/14594315/trouble-building-the-open-asset-import-library-assimp

http://stackoverflow.com/questions/31561309/cmake-warnings-under-os-x-macosx-rpath-is-not-specified-for-the-following-targe

A few pointers as I managed to get this to work by

Install CMake
Point source directory at root of git download
Create a build directory anywhere
Choose XCode build in C Make
Choose configure and turn off tests as these failed
Ignore error about Rpath in Mac OS X
Generate

Open the Xcode project in build directory
Build this
Run the 'install' target
assimp2json is now available on the command line

Library created in Xcode build could then be integrated into apps but I haven't tried that.

@msj121
Copy link

msj121 commented Dec 15, 2016

@paulfreeman Thanks, I followed this and got the command line working on my mac, does this unix executable that I compiled from XCode on my mac at all likely to work on a linux distribution like ubuntu?

@paulfreeman
Copy link

Ah yes, I should have mentioned that my target was building a version on iOS. For Linux just follow the recommendations from the Readme for this GitHub.

You'll need to set up the appropriate toolchain for building C/C++ programs on Linux, I can't help there. CMake is a good starting point and there may be more docs on the main Assimp website.

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

3 participants