netpyoung / SqlCipher4Unity3D

💾 SqlCipher made easy for Unity3d
MIT License
163 stars 37 forks source link

DLL_NAME Error #19

Closed shengruqing closed 5 years ago

shengruqing commented 5 years ago

Assets\SqlCipher4Unity3D\Sqlite3.cs(125,20): error CS0103: The name 'DLL_NAME' does not exist in the current context

shengruqing commented 5 years ago

Windows has problems, android has no problems

netpyoung commented 5 years ago

Thank you for reporting. I didn't build windows version. So that is what I missed. I will fix that code.

That caused by missing #if preprocessor directive. https://github.com/netpyoung/SqlCipher4Unity3D/blob/c055fb352fcb629a2569d0d32808228bac023b53/SqlCipher4Unity3D/Assets/SqlCipher4Unity3D/Sqlite3.cs#L113

That line only handle UNITY_EDITOR, UNITY_ANDROID, UNITY_IOS.

shengruqing commented 5 years ago

thanks~