How to link Assimp statically

Mar 14, 2019 at 4:27am
Hi I am working on a game engine and using Visual Studio as my IDE. I want to build Assimp statically (so I would not have to use that the my .exe file will be independent from Assimp's .dll file. I want to be able to use the latest Assimp version. I know how to set up Assimp with its .dll but I don't want the .dll, I just want the .lib file and be able to run the exe file without it giving any errors like "Assimp.dll was not found, reinstalling the program might fix it" or stuff like that. Any help would be appreciated :)
Mar 14, 2019 at 8:54am
It comes with CMake definitions. So you can use CMake to generate projects for you which you can compile yourself. See:

https://cmake.org/

Alternatively you may provide both: your .exe and the .dll. When they are in the same directory there should be no problem.
Mar 18, 2019 at 6:31am
Thank you so much for your reply, actually I figured it out through CMake GUI, just needed some extra lib files :)
Topic archived. No new replies allowed.