assimp / assimp/assimp-net

loading native library fails on linux

Open
#21 2 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C#
Stars
218
Forks
83
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. implement example from getting started wiki
2. use mono on linux, with xamarin studio and nuget package of assimp-net
3. run example application -> crash

What is the expected output? What do you see instead?

the application crashes because the assimp library is not named assimp64 on
linux.

What version of the product are you using? On what operating system?

nuget package of assimp-net. also copied dozens of assimp libraries from latest
c++ assimp version

Please provide any additional information below.

changing the name has no effect, it seems like the loadlibrary call is
searching in a wrong directory

i attached my error log
```

Original issue reported on code.google.com by `martin.s...@googlemail.com` on 20 Aug 2014 at 8:49

Attachments:
- [assimp-error-log.txt](https://storage.googleapis.com/google-code-attachments/assimp-net/issue-21/comment-0/assimp-error-log.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the getting started wiki example and the attached assimp-error-log.txt, then trace the LoadLibrary call used by the NuGet package when run through Mono on Linux. Reproduce the crash with the Xamarin Studio example and verify the library search location and name; done means the example runs without crashing on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp, linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.