EntryPointNotFoundException

57 views
Skip to first unread message

jinun.pe...@gmail.com

unread,
May 24, 2016, 9:24:13 AM5/24/16
to Siaqodb - NoSQL embedded database for .NET
Hi,

I'm using Unity3D on OSX and tried to install Siaqodb.dll in the demo project.

I followed this (http://siaqodb.com/docs/Platform-specifics/) and  copied OSX bundle only.

And got this message:

EntryPointNotFoundException: mdb_version
LightningDB.Native.FallbackLibraryFacade.LightningDB.Native.INativeLibraryFacade.mdb_version (System.IntPtr& major, System.IntPtr& minor, System.IntPtr& patch)
LightningDB.LightningVersionInfo.Create (INativeLibraryFacade library)
LightningDB.Native.NativeMethods.GetVersionInfo (INativeLibraryFacade lib, System.Exception& exception)
LightningDB.Native.NativeMethods..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for LightningDB.Native.NativeMethods
LightningDB.LightningEnvironment..ctor (System.String directory, EnvironmentOpenFlags openFlags, UnixAccessMode accessMode)
Sqo.Transactions.TransactionManager..ctor (System.String path, Int64 maxSize, Int32 maxDbs)
Sqo.Siaqodb.Open (System.String path, Int64 maxDatabaseSize, Int32 maxSubDatabases)
Sqo.Siaqodb.Open (System.String path)
Sqo.Siaqodb..ctor (System.String path)
SiaqodbDemo.DatabaseFactory.GetInstance () (at Assets/Siaqodb/datalayer/DatabaseFactory.cs:34)
SiaqodbDemo.PlayerManager.TotalPlayers () (at Assets/Siaqodb/datalayer/PlayerManager.cs:46)
SiaqodbDemo.GameSimulator.GeneratePlayers () (at Assets/Siaqodb/GameSimulator.cs:31)
SiaqodbDemo.GameSimulator.Play () (at Assets/Siaqodb/GameSimulator.cs:21)
DemoRunner.Start () (at Assets/Siaqodb/DemoRunner.cs:14)

I wonder what I did wrong, and what is the right method for install.

Thanks.

Siaqodb Support

unread,
May 24, 2016, 9:30:58 AM5/24/16
to Siaqodb - NoSQL embedded database for .NET, jinun.pe...@gmail.com
hello Jinun,
Did you try to run  /SiaqodbUnityDemo  as specified here: http://siaqodb.com/docs/Platform-specifics/  ? If so, what version of Unity do you use and also what version of Mac OSX?

Cristi

Jinun Park (박진언)

unread,
May 24, 2016, 11:37:49 AM5/24/16
to Siaqodb Support, Siaqodb - NoSQL embedded database for .NET
Hi, Cristi.

I tried to run the demo with docs and get Exception.

Unity version is 5.2.2 f1, OSX version is 10.11.2.

Thanks.
2016년 5월 24일 (화) 오후 10:30, Siaqodb Support <off...@siaqodb.com>님이 작성:

jinu...@maverickgames.co

unread,
May 24, 2016, 11:50:07 PM5/24/16
to Siaqodb - NoSQL embedded database for .NET, off...@siaqodb.com, jinun.pe...@gmail.com
Hi, Cristi.

And I also tried to build, and get this message:

ystemException: Duplicate native method found : mdb_env_open. Please check your source carefully.
  at UnityEditor.MonoAOTRegistration.ExtractNativeMethodsFromTypes (ICollection`1 types, System.Collections.ArrayList res) [0x00072] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoInternalCallGenerator.cs:27
  at UnityEditor.MonoAOTRegistration.BuildNativeMethodList (Mono.Cecil.AssemblyDefinition[] assemblies) [0x0002d] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoInternalCallGenerator.cs:49
  at UnityEditor.MonoAOTRegistration.WriteCPlusPlusFileForStaticAOTModuleRegistration (BuildTarget buildTarget, System.String file, CrossCompileOptions crossCompileOptions, Boolean advancedLic, System.String targetDevice, Boolean strippin
g, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.AssemblyReferenceChecker checker) [0x00021] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoInternalCallGenerator.cs:87
  at UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.iOSBuildPostprocessor pp, BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPa
ckage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x00000] in <filename unknown>:0
  at UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args) [0x00000] in <filename unknown>:0
  at UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualD
ownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x000c5] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean, UInt32&)
UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, BuildTarget, BuildOptions, UInt32&) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/BuildPipelineBindings.gen.cs:201)
UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/BuildPipelineBindings.gen.cs:148)
iOSBuilder:PerformiOSDebugBuild() (at Assets/Editor/iOSBuilder.cs:65)

It appears when import Siaqodb.dll in project.

Thanks.

2016년 5월 25일 수요일 오전 12시 37분 49초 UTC+9, Jinun Park (박진언) 님의 말:

Siaqodb Support

unread,
May 25, 2016, 4:51:50 AM5/25/16
to Siaqodb - NoSQL embedded database for .NET, jinu...@maverickgames.co
Jinun,
I uploaded a video here: https://youtu.be/7cRwJsnlFDw . We tested on same Unity version + OSX 10.11.5, can you check the video and see if you followed the same steps?
If so, and still problems, can we have a Skype/Hangouts session? please send your skype id to support at siaqodb com.

Cristi

Jinun Park (박진언)

unread,
May 25, 2016, 5:05:23 AM5/25/16
to Siaqodb Support, Siaqodb - NoSQL embedded database for .NET
Thanks for upload video, Cristi.

I misunderstood about DLL, thought all managed DLL is equal and native libraries are different only.

When I replaced DLL for OSX, It works fine.

So, if I want to use Siaqodb in many platforms(OSX, iOS, Android, Windows), then do I should use different managed DLL and set import options for platforms?

2016년 5월 25일 (수) 오후 5:51, Siaqodb Support <off...@siaqodb.com>님이 작성:
--
You received this message because you are subscribed to a topic in the Google Groups "Siaqodb - NoSQL embedded database for .NET" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/siaqodb/ohcdFBxBkus/unsubscribe.
To unsubscribe from this group and all its topics, send an email to siaqodb+u...@googlegroups.com.
To post to this group, send email to sia...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/siaqodb/eb44a8ef-e11a-4774-b79c-c5e605ed7461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Siaqodb Support

unread,
May 25, 2016, 5:11:32 AM5/25/16
to Siaqodb - NoSQL embedded database for .NET, jinun.pe...@gmail.com
Indeed Jinun, dlls are different (even have the same name), so if you target multiple/different platforms, you should use that specific DLL at build time. 

Cristi
To unsubscribe from this group and all its topics, send an email to siaqodb+unsubscribe@googlegroups.com.

Jinun Park

unread,
May 25, 2016, 5:14:06 AM5/25/16
to Siaqodb Support, Siaqodb - NoSQL embedded database for .NET, jinun.pe...@gmail.com
I see. Thank you for kind response! :)

2016년 5월 25일 (수) 오후 6:11, Siaqodb Support <off...@siaqodb.com>님이 작성:
To unsubscribe from this group and all its topics, send an email to siaqodb+u...@googlegroups.com.

To post to this group, send email to sia...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/siaqodb/eb44a8ef-e11a-4774-b79c-c5e605ed7461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Siaqodb - NoSQL embedded database for .NET" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/siaqodb/ohcdFBxBkus/unsubscribe.
To unsubscribe from this group and all its topics, send an email to siaqodb+u...@googlegroups.com.

To post to this group, send email to sia...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages