Skip to content

Add-on does not recognize any Ogre Mesh Tool Binaries #262

Open
@PancakeMechanic

Description

@PancakeMechanic

System Information

  • Ogre Version: N/A
  • Operating System / Platform: Linux Mint 21.3 MATE
  • Blender Version: 4.1.1

Detailed description

Whenever I try to import a .mesh file the import fails and states that it cannot find the binaries. I have already pointed the addon to the folder where the binaries, including their .so shared library file, are installed. I can run each of the binaries fine in the terminal, but for some reason the addon fails to run any of the binary executables.

blender2ogre.log

I cannot find the blender2ogre.log but I do have the error message from the Blender console

# Blender Import Script:

import bpy
bpy.ops.ogre.import_mesh(
  filepath='/home/<myusername>/Documents/0_CAD_Models/RoR-Character/character.mesh', 
)

________________________________________________________________________________ 

[ INFO] * Creating Text Block 'ogre_import-202504261304' with import script
[ INFO] * Saving config to: /home/<myusername>/.config/blender/4.1/config/scripts/io_ogre.json
[ INFO] Target_path: /home/<myusername>/Documents/0_CAD_Models/RoR-Character
[ INFO] Target_file_name: character.mesh
[ INFO] * Loading mesh from: /home/<myusername>/Documents/0_CAD_Models/RoR-Character/character.mesh
/home/<myusername>/OgreMeshTools/OgreXMLConverter: error while loading shared libraries: libOgreMain.so.1.11.6: cannot open shared object file: No such file or directory
[WARNING] Cannot find suitable OgreXMLConverter or OgreMeshTool executable
[ERROR] Failed to convert .mesh file /home/<myusername>/Documents/0_CAD_Models/RoR-Character/character.mesh to .xml
________________________________________________________________________________
Report:
  ERRORS:
    - Cannot find suitable OgreXMLConverter or OgreMeshTool executable.Import XML mesh - does NOT automatically convert .mesh to .xml file. You MUST run converter on the mesh manually.
    - Failed to convert .mesh file to .xml
  WARNINGS:
    - Cannot find suitable OgreXMLConverter or OgreMeshTool executable, binary mesh files won't be generated

Extended Report:

This is strange since the shared library is in the same folder.

OgreXMLConverter.log or OgreMeshTool.log

N/A Because it the addon does not recognize the binaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions