Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current version of assimp does not work on Ubuntu 22.04 LTS #209

Open
robin-moss opened this issue Sep 23, 2022 · 0 comments
Open

Current version of assimp does not work on Ubuntu 22.04 LTS #209

robin-moss opened this issue Sep 23, 2022 · 0 comments

Comments

@robin-moss
Copy link

Describe the bug
When attempting to use AssimpNet on ubuntu 22.04 LTS it fails to find libdl.so as the name has changed to libdl.so.2

AssimpNet has been updated to resolve this issue, so it would be appreciated if you could update the embedded assimpNet version.

https://bitbucket.org/Starnick/assimpnet/pull-requests/5/improve-platform-compatibility-recent

To Reproduce
Steps to reproduce the behavior:

  1. Run Unity Editor on Ubuntu 22.04 LTS
  2. Try and use URDF importer that uses the mesh importer
  3. Get DllNotFound error for libdl

Console logs / stack traces

2022-09-23 10:06:32,276 FATAL Ocado.RoboSim.Setup.RoboSim - Exception caught during initialisation of RoboSim
System.DllNotFoundException: libdl.so assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Assimp.Unmanaged.UnmanagedLibrary+UnmanagedLinuxLibraryImplementation.dlopen(string,int)
  at Assimp.Unmanaged.UnmanagedLibrary+UnmanagedLinuxLibraryImplementation.NativeLoadLibrary (System.String path) [0x00000] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.Unmanaged.UnmanagedLibrary+UnmanagedLibraryImplementation.LoadLibrary (System.String path) [0x00008] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary (System.String libPath) [0x0002d] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary () [0x00012] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.Unmanaged.UnmanagedLibrary.LoadIfNotLoaded () [0x00023] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.Unmanaged.AssimpLibrary.CreatePropertyStore () [0x00000] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.AssimpContext.CreateConfigs () [0x00006] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.AssimpContext.PrepareImport () [0x00000] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.AssimpContext.ImportFile (System.String file, Assimp.PostProcessSteps postProcessFlags) [0x00044] in <d40f2b0ad6814d4c8094142d8473733f>:0 
  at Assimp.AssimpContext.ImportFile (System.String file) [0x00000] in <d40f2b0ad6814d4c8094142d8473733f>:0 

Expected behaviour

It finds the libdl :)

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2021.3.10f1
  • Unity machine OS + version: Ubuntu 22.04 LTS
  • ROS machine OS + version: N/A
  • ROS–Unity communication: N/A
  • Branch or version: 0.5.2-preview

Additional context

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant