OpenGL program stops running when I use the Assimp importer.ReadFile

  • Ciarfix
    Likes 0

    Problem Description

    Hi, I was following the tutorials about open gl of sonar systems and I continue getting an error from Assimp::Importer.ReadFile that I can’t figure out. I don’t get any error in compilation or linking but when the programs starts running it crashes almost immidiatly. If you want to see the code you can go to http://gamedev.stackexchange.com/questions/139131/my-opengl-program-stops-running-when-i-use-the-assimp-importer-readfile

    If you need other parts of my code to check feel free to ask.

  • Sonar Systems admin
    Likes 0

    What OS are you developing on?

  • Ciarfix
    Likes 0

    I program on Windows using Visual Studio 2015

  • Sonar Systems admin
    Likes 0

    How did you set it up?

  • Ciarfix
    Likes 0

    Do you mean which libraries I use? I use Assimp 3.3.1 compiled with Cmake.

  • Sonar Systems admin
    Likes 0

    What steps did you take to setup Assimp on your computer?

  • Ciarfix
    Likes 0

    downloaded the source code version 3.3.1 from the site → comiled it using Cmake → added the include file to “Additional include directories” in my Project properties->added lib to “Addistional Library Directories” the same way → added “assimp-vc140-mt.lib”, which is the name of the file contained in lib to Additional Dipendences

  • Sonar Systems admin
    Likes 0

    Hello,

     

    I will create a video soon covering the process of setting up ASSIMP on Windows.

Login to reply