assimp/5.4.1

A library to import and export various 3d-model-formats including scene-post-processing to generate missing render data.
Recipe info
2024-05-17

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
assimp/5.4.1

Using assimp

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
assimp/5.4.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("assimp/5.4.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): assimp
  • CMake target name(s): assimp::assimp
  • pkg-config file name(s): assimp.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(assimp REQUIRED)
# ...
target_link_libraries(YOUR_TARGET assimp::assimp)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the assimp homepage listed above:

#include "assimp/AssertHandler.h"
#include "assimp/Base64.hpp"
#include "assimp/BaseImporter.h"
#include "assimp/Bitmap.h"
#include "assimp/BlobIOSystem.h"
#include "assimp/ByteSwapper.h"
#include "assimp/ColladaMetaData.h"
#include "assimp/Compiler/poppack1.h"
#include "assimp/Compiler/pstdint.h"
#include "assimp/Compiler/pushpack1.h"
#include "assimp/CreateAnimMesh.h"
#include "assimp/DefaultIOStream.h"
#include "assimp/DefaultIOSystem.h"
#include "assimp/DefaultLogger.hpp"
#include "assimp/Exceptional.h"
#include "assimp/Exporter.hpp"
#include "assimp/GenericProperty.h"
#include "assimp/GltfMaterial.h"
#include "assimp/Hash.h"
#include "assimp/IOStream.hpp"
#include "assimp/IOStreamBuffer.h"
#include "assimp/IOSystem.hpp"
#include "assimp/Importer.hpp"
#include "assimp/LineSplitter.h"
#include "assimp/LogAux.h"
#include "assimp/LogStream.hpp"
#include "assimp/Logger.hpp"
#include "assimp/MathFunctions.h"
#include "assimp/MemoryIOWrapper.h"
#include "assimp/NullLogger.hpp"
#include "assimp/ObjMaterial.h"
#include "assimp/ParsingUtils.h"
#include "assimp/Profiler.h"
#include "assimp/ProgressHandler.hpp"
#include "assimp/RemoveComments.h"
#include "assimp/SGSpatialSort.h"
#include "assimp/SceneCombiner.h"
#include "assimp/SkeletonMeshBuilder.h"
#include "assimp/SmallVector.h"
#include "assimp/SmoothingGroups.h"
#include "assimp/SmoothingGroups.inl"
#include "assimp/SpatialSort.h"
#include "assimp/StandardShapes.h"
#include "assimp/StreamReader.h"
#include "assimp/StreamWriter.h"
#include "assimp/StringComparison.h"
#include "assimp/StringUtils.h"
#include "assimp/Subdivision.h"
#include "assimp/TinyFormatter.h"
#include "assimp/Vertex.h"
#include "assimp/XMLTools.h"
#include "assimp/XmlParser.h"
#include "assimp/ZipArchiveIOSystem.h"
#include "assimp/aabb.h"
#include "assimp/ai_assert.h"
#include "assimp/anim.h"
#include "assimp/camera.h"
#include "assimp/cexport.h"
#include "assimp/cfileio.h"
#include "assimp/cimport.h"
#include "assimp/color4.h"
#include "assimp/color4.inl"
#include "assimp/commonMetaData.h"
#include "assimp/config.h"
#include "assimp/defs.h"
#include "assimp/fast_atof.h"
#include "assimp/importerdesc.h"
#include "assimp/light.h"
#include "assimp/material.h"
#include "assimp/material.inl"
#include "assimp/matrix3x3.h"
#include "assimp/matrix3x3.inl"
#include "assimp/matrix4x4.h"
#include "assimp/matrix4x4.inl"
#include "assimp/mesh.h"
#include "assimp/metadata.h"
#include "assimp/pbrmaterial.h"
#include "assimp/postprocess.h"
#include "assimp/qnan.h"
#include "assimp/quaternion.h"
#include "assimp/quaternion.inl"
#include "assimp/scene.h"
#include "assimp/texture.h"
#include "assimp/types.h"
#include "assimp/vector2.h"
#include "assimp/vector2.inl"
#include "assimp/vector3.h"
#include "assimp/vector3.inl"
#include "assimp/version.h"