Skip to content

How To Build

iraj mohtasham edited this page Jul 24, 2022 · 7 revisions

Step 1 : Create a new Unreal Engine project (if you don't currently have one)

  • Create a new ue4 project , set the project type to c++.
  • If you already have a blueprint only project add a blank c++ class .

Step 2: Clone the plugin

  • Open the Project folder (where you can see the .uproject file).
  • Create and open (or Open if it exists) the Plugins Folder.
  • Right click and open git bash and run :
    git clone --recurse-submodules https://github.com/irajsb/UE4_Assimp/
  • if you can't see the git bash option you need to install git from Git
  • you can see if this step was done correctly if Plugins\UE4_Assimp\Source\ThirdParty\UE_AssimpLibrary\assimp folder is populated.

Step 3 : Build Assimp:

  • Open the Plugins\UE4_Assimp\Source\ThirdParty\UE_AssimpLibrary\assimp\ Directory and open a terminal and run :
    cmake CMakeLists.txt -DLIBRARY_SUFFIX:STRING=
  • Open the generated project files (.sln file in windows platform )
  • Select Release build configuration x64 and build the soltuion

Step 4 : Build Unreal Project

  • open solution file in root folder of the project and rebuild the project .

MacOS Example:

Instead of commands at step 3 use cmake CMakeLists.txt -DLIBRARY_SUFFIX:STRING= -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15