Assimp's aiImportFile() identifier not found

Help
2014-04-06
2014-04-06
  • Raenir Salazar
    Raenir Salazar
    2014-04-06

    I'm running on windows with Visual Studio 2012, I am using the "full" download from the downloads section as all attempts to compile and generate the libraries have failed.

    I include the three header files and then,

    Here's the function:

    / load file with assimp and print some stats /

    const aiScene* scene = aiImportFile(file_name, aiProcess_Triangulate);
    if (!scene) {
    fprintf(stderr, "ERROR: reading mesh %s\n", file_name);
    return false;
    }

    And I get an error and can't seem to progress further.

     
    Last edit: Raenir Salazar 2014-04-06
  • Raenir Salazar
    Raenir Salazar
    2014-04-06

    Additionally FindMeshCenter doesn't work either.