assimp2json icon indicating copy to clipboard operation
assimp2json copied to clipboard

Install with Homebrew?

Open KingScooty opened this issue 9 years ago • 3 comments

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

KingScooty avatar Feb 17 '16 20:02 KingScooty

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.

paulfreeman avatar Apr 09 '16 09:04 paulfreeman

@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?

msj121 avatar Dec 15 '16 03:12 msj121

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.

paulfreeman avatar Dec 15 '16 08:12 paulfreeman