## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• 13:39

kimkulling on fix_vs2017_warnings

Merge branch 'master' of https:… (compare)

• 12:49
tellypresence edited #3678
• 12:45
tellypresence opened #3678
• 10:55
kimkulling milestoned #3663
• 10:55
kimkulling labeled #3663
• 10:55
kimkulling labeled #3663
• 10:54
kimkulling commented #3663
• 07:34
kimkulling synchronize #3660
• 03:19
universewill commented #3668
• 03:18
universewill commented #3668
• Feb 25 23:25
virtualritz edited #3677
• Feb 25 23:05
virtualritz commented #3677
• Feb 25 23:05
virtualritz commented #3677
• Feb 25 22:36
virtualritz opened #3677
• Feb 25 21:20
kimkulling closed #3675
• Feb 25 21:20
kimkulling commented #3675
• Feb 25 21:20
kimkulling labeled #3675
• Feb 25 21:18
kimkulling commented #3670
• Feb 25 21:18

kimkulling on master

Check that normal count and tan… Improved warnings Merge branch 'master' into user… and 1 more (compare)

• Feb 25 21:18
kimkulling closed #3670
dong
@dongfangliu
does anybody has some experience?
i mean, if my model is constructed with quads primitive and have skinning on that mesh, then i use assimp and triangulate it, will the codes also generate corresponding weights for those additional vertexs?
Kim Kulling
@kimkulling
good question, I think yes
Evilpudding
@EvilPudding
Hey, dunno if this is the right place to ask, but is there a way to prevent compiling and linking miniz without forking? I have a project that already uses miniz, and it has optional assimp integration, but when I try to statically link, I get lots of duplicated symbols. Is there some other way to encapsulate it either on my end or assimp's?
Kim Kulling
@kimkulling
hm
Evilpudding
@EvilPudding
It seems there was an old issue richgel999/miniz#18 on the miniz repo that would fix it, maybe I should bother them instead.
aaaand it seems it was already addressed, sorry for the spam :|
Kim Kulling
@kimkulling
@turol could you take a look onto google/oss-fuzz#4566 I do not get it. works in my Linux
turol
@turol
\$SRC is not set correctly for some reason
if you look at the command line, their -I is also wrong
-I/src/assimp/include
their build directory at least seems to be /home/runner/work/oss-fuzz/oss-fuzz/build/
Matthew Wallace

Hello all .... I have been exploring the idea of using assimp in an Oculus Quest application. To do this I would need to build from Unreal Engine to "basically Android" ... I have a working demo using windows and I'm able to load objects from an S3 bucket or the the file system just fine however, I'm not able to get this working on Android.

With in my Unreal Project all that it seems that I have to do is include the windows assimp dll in my binaries directory and I'm good to go.

All that being said is there somewhere that I can download the assimp binary that I would need in order to get this working or am I going to need to figure out how to build that myself for android?

José Ángel Martínez Torres
@joseangelmt

Hello to all,

I'm compiling the library to use it with Oculus Quest 2 headsets in a NativeActivity application.
My development machine is Windows and I'm using CMake UI to generate the build scripts.

I've to define ANDROID_ABI=arm64-v8a, change CMAKE_CXX_STANDARD_LIBRARIES to point to arm64-v8a versions of the libraries, and finally, uncheck ASSIMP_BUILD_TESTS.

Running ninja works fine with that configuration, but if I check ASSIMP_ANDROID_JNIIOSYSTEM, I get the next error:

C:\Users\josea\Desktop\assimp-master\build3>ninja
[3/4] Linking CXX shared library bin\libassimp.so
FAILED: bin/libassimp.so
cmd.exe /C "cd . && C:\Users\josea\AppData\Local\Android\Sdk\ndk\17.2.4988734\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android --gcc-toolchain=C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/sysroot -fPIC -fvisibility=hidden -fno-strict-aliasing -Wall -Wno-long-long -isystem C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11  -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ --sysroot C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/platforms/android-21/arch-arm64 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -LC:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/sources/cxx-stl/llvm-libc++/libs/arm64-v8a -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libassimp.so -o bin\libassimp.so @CMakeFiles\assimp.rsp  && cd ."
port/AndroidJNI/libandroid_jniiosystem.a: error adding symbols: Archive has no index; run ranlib to add one
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Am I doing something wrong to include JNI support?

Matthew Wallace
@joseangelmt Have you documented your process and how you set this up? I would really like to read some sort of blog post or watch a video of how you where able to get this far. If I run into the same issue maybe we can work through this together. I to have the same goal to get this working for Oculus Quest 2 headset.
Once that's working I would like to also get this working for iOS.
José Ángel Martínez Torres
@joseangelmt
Finally I compiled it with the script in scripts/android_crosscompile
@matthewswallace_twitter My plan is to create a blog showing how to deal with the native SDK
Matthew Wallace
@joseangelmt Awesome ... not to put any pressure on you, I'm wondering if that will be soon and if so will you keep me up to date when you post that? I'd like to collaborate with this community on getting this working for Android and iOS so that I can use this in my Unreal Engine project that I plan on packaging and shipping to both Android and iOS.
Kim Kulling
@kimkulling
would be great
I was able to compile it for android as well, but it was 2 years ago
Julian Vallée
@JulianVallee_gitlab
Hello everyone, I'm using Assimp with the C# bindings and I'm trying to manipulate meshes before applying post processing
For some reason my scenePointerAfterPP always returns as zero, but from what I understand it should return a valid pointer, no?
Julian Vallée
@JulianVallee_gitlab
I have documented my issue under assimp/assimp-net#65 now, better than dumping all that info into gitter I suppose
Matthew Wallace
I have assimp setup in Visual Studio 2019 on windows 10. Has anyone successfully added the ability to compile and build .so file for Android using Visual Studio? I'm looking for a good resource on how to compile the latest assimp 5 for android. like @joseangelmt I'd like to get this working for Android so I can use Assimp in Oculus Quest 2.
My other request would be ... If someone has successfully compiled and can share the .so file that will work for Oculus Quest 2, could you please share?
turol
@turol
i don't think visual studio can compile stuff for android
you need the android ndk and then build it with that
Matthew Wallace
VS does have an Android plugin for it. I'm not an Android Developer so I was hoping to find some help in this group compiling for mobile platforms.
Matthew Wallace
Well well ... I'm noticing that android studio allows you to add C++ projects to your android project. I'm guessing there may be a way to add assimp to the project and compile it via android studio?
Kim Kulling
@kimkulling
there are options via cmake
so I was able to build assimp for android by using gradle and cmake
Matthew Wallace
@kimkulling do you have a step by step on this? If not would you mind writing it up. It would be extremely helpful. Once I get it working on my end I'm happy to write up a more detailed tutorial, maybe even a video and post it in the wiki for everyone.
I'd then like to get a build system down for ios.
Finally, I think it would be really cool if we could create build systems online so that everytime a major release is put out we can supply everyone downloadable binaries for mobile and desktop operating systems.
I'd love to make it extremely easy to get up and running using assimp for developers who are not well versed in C++ and CMAKE
turol
@turol
that would be an insane amount of work
latest cmake apparently now supports visual studio builds for android
at least according to their cmake
changelog
chriscamacho
@chriscamacho
hi all, does there exist a list of "engines" or frameworks that use assimp ?
matrixbot
@matrixbot

matias-lavik chriscamacho (Gitter):
Well, here are some:

• Urho3D
• MonoGame
• Godot game engine (I heard they have been making their own FBX importer now, so not sure if they still use it)

There are plenty of closed source software/games using Assimp as well. And a bunch of smaller game (engine) projects you can find on GitHub (such as my own Ming3D). When we were hiring developers at my job, half of the candidates were already familiar with it 😁

Matthew Wallace
@matthewswallace
Would anyone in here be interested in making me a build system that will compile assimp for Android and iOS? I have a budget in mind that we can DM about.
RichardTea
@RichardTea
@kimkulling I've noticed that there are a huge number of dead branches on the main repo, can you delete all the ones that have already been merged?
It creates a lot of noise in git clients like GitKraken and GitHub Desktop, as the "master" branch ends up far below the fold.
Matthew Wallace
@matthewswallace
Reaching out again ... anyone interested in creating a build system for assimp for Android and iOS? I have budget for it. email me or DM. Email is m@615.io