I am trying to build libassimp with Emscripten. I don’t believe there is a 
port. If there is, I’d be delighted.

I started with

    emconfigure cmake ../assimp

and got

  System LLVM compiler cannot be used to build with Emscripten! Check
  Emscripten's LLVM toolchain location in .emscripten configuration file, and
  make sure to point CMAKE_C_COMPILER to where emcc is located.

I thought emconfigure was supposed to set up the cross-compilation tool chain.  
What did I do wrong?

I then tried

cmake -D 
CMAKE_C_COMPILER=/Users/mark/Projects/github/emsdk/upstream/emscripten/emcc -D 
ASSIMP_BUILD_ALL_EXPORTERS_BY_DEFAULT=No -D 
ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT=No -D ASSIMP_BUILD_OBJ_IMPORTER ../assimp

which seemed to work, giving only warnings about not being able to build a 
shared library so building a static library and not finding “rt”. However there 
are no make files. The directory has only CMakeCache.txt and the directory 
CMakeFiles.

Regards

    -Mark

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/8AE7F58E-858F-4A99-9EDA-9FCA36B8BED2%40callow.im.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to