Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by _-_ · Oct 16, 2013 at 08:13 PM · dlldllnotfoundexception

How to use Yeppp! in Unity?

I'm currently trying to use Yeppp! (which promises SIMD-instructions to be usable in C#, thus offering potentially huge improvements in terms of speed). According to the site (http://docs.yeppp.info/cs/index.html), all that needs to be done is include the yeppp-clr.dll, after which you are ready to use Yeppp! within C#.

I've put the dll in "assets", which is normally enough to use dll's within Unity. However, whenever I run the code (in which I call a function from the dll), I get the error "DllNotFoundException; yeppp". This is strange, because inside MonoDevelop, I do get function-suggestion, so MonoDevelop knows that the dll exists and is aware of its contents.

I've been trying to solve this problem for hours. So my question is; Can anyone get Yeppp! to work within Unity and tell me what I did wrong (the files needed can be downloaded for free at the site I just mentioned)?

Thanks in advance and please mention if you need more information, I will be happy to provide it.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rutter · Oct 16, 2013 at 09:45 PM 0
Share

I'm seeing the same error. Unity is running a slightly older, slightly modified build of the $$anonymous$$ono runtime. Could be that the DLL isn't compatible with it.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Marat Dukhan · Oct 17, 2013 at 05:35 PM

Using Yeppp! with CLR languages involves two library binaries: platform-specific Yeppp! library with C interface (`yeppp.dll`, libyeppp.so, or libyeppp.dylib) and platform-independent CLR wrapper (`yeppp-clr.dll`). Your problem is likely related to the former: Unity fails to find platform-specific binary.

Probably the easiest way to solve the problem is to copy the proper platform-specific binary to the same directory as your executable file. Another option is to add the directory with platform-specific binary to PATH variable (on Windows), LD_LIBRARY_PATH variable (on GNU/Linux and Android), or DYLD_LIBRARY_PATH variable (on Mac OS X).

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image _-_ · Oct 19, 2013 at 11:54 AM 0
Share

Hmm, I still can't get it to work. Tried multiple paths (putting the libyeppp directly with the yeppp-clr, keeping the path the same; "macosx/x86/libyeppp.dylib" and at least a couple dozen others), but still the same error.

Can anyone else get it to work and give exact instructions?

(PS: I'm using $$anonymous$$ac OS, maybe someone with Windows can try)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cannot load native dll in WebGL build 0 Answers

DLL NOT FOUND EXCEPTION even after following procedure 0 Answers

The Assembly is referenced, But the dll is not allowed to be included or could not be found 0 Answers

UnityEngine.dll outside Unity 0 Answers

Failed to load dll error 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges