longde123 / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

Problem building Windows Phone Release version #168

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a Release version of Community.CsharpSqlite.SQLiteClient.WinPhone

What is the expected output? What do you see instead?
The build fails with a number of errors, mostly in wal_c.cs

What version of the product are you using? On what operating system?
3.7.11 on Windows Phone 7.1

Please provide any additional information below.
Copying the conditional compilation symbols from the DEBUG configuration and 
removing SQLITE_DEBUG seems to work:

SQLITE_SILVERLIGHT NET_40 TRUE WIN32 _MSC_VER NDEBUG NO_TCL SQLITE_ASCII 
SQLITE_DISABLE_LFS SQLITE_HAS_CODEC SQLITE_MEM_POOL SQLITE_MUTEX_OMIT 
SQLITE_OMIT_AUTHORIZATION SQLITE_OMIT_DEPRECATED SQLITE_OMIT_GET_TABLE 
SQLITE_OMIT_INCRBLOB SQLITE_OMIT_LOOKASIDE SQLITE_OMIT_SHARED_CACHE 
SQLITE_OMIT_UTF16 SQLITE_OMIT_VIRTUALTABLE SQLITE_OMIT_WAL SQLITE_OS_WIN 
SQLITE_SYSTEM_MALLOC VDBE_PROFILE_OFF  WINDOWS_PHONE

Original issue reported on code.google.com by ke...@like7.com on 9 Aug 2012 at 4:36

GoogleCodeExporter commented 9 years ago
Where did you get version 3.7.11?  Current version is 3.7.7.1 

Original comment by noah.hart@gmail.com on 9 Aug 2012 at 8:32

GoogleCodeExporter commented 9 years ago
Whoops! Sorry I meant the latest, 3.7.7.1

Original comment by ke...@like7.com on 9 Aug 2012 at 8:41

GoogleCodeExporter commented 9 years ago
Thanks, I'll update the solution

Original comment by noah.hart@gmail.com on 9 Aug 2012 at 8:44

GoogleCodeExporter commented 9 years ago
is this fixed yet? I cannot build the release version after getting the latest

Original comment by mmarcu...@gmail.com on 1 Dec 2012 at 7:04

GoogleCodeExporter commented 9 years ago
FYI to fix it I changes the conditional compilation symbols to: 
SQLITE_SILVERLIGHT NET_40 TRUE WIN32 _MSC_VER SQLITE_DEBUG NDEBUG NO_TCL 
SQLITE_ASCII SQLITE_DISABLE_LFS SQLITE_HAS_CODEC SQLITE_MEM_POOL 
SQLITE_MUTEX_OMIT SQLITE_OMIT_AUTHORIZATION SQLITE_OMIT_DEPRECATED 
SQLITE_OMIT_GET_TABLE SQLITE_OMIT_INCRBLOB SQLITE_OMIT_LOOKASIDE 
SQLITE_OMIT_SHARED_CACHE SQLITE_OMIT_UTF16 SQLITE_OMIT_VIRTUALTABLE 
SQLITE_OMIT_WAL SQLITE_OS_WIN SQLITE_SYSTEM_MALLOC VDBE_PROFILE_OFF  
WINDOWS_PHONE

Original comment by mmarcu...@gmail.com on 1 Dec 2012 at 7:06

GoogleCodeExporter commented 9 years ago
I had to remove the SQLITE_DEBUG symbol and now using #4 and #5 works well with 
WP7. Thanks everyone.

Original comment by gro...@gmail.com on 24 Apr 2013 at 10:59