WxSQLite3

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
zeroptr
In need of some credit
In need of some credit
Posts: 3
Joined: Sat Nov 02, 2019 12:03 pm

WxSQLite3

Post by zeroptr » Tue Nov 26, 2019 7:19 pm

Hi All,

I couldn't compile wxSqlite3 with MCVC 2013 becouse of directory or library problems I tried to compile from source, no success, there's no documentation about it at youtube or anywhere else..

I tried to compile it from build/ mcvc120.sln
and separetely sub projects..

is there any chance to use it with precompiled versions? anywhere
PS: I'm not good at MSVC directory thing I used QT for a long time with QT designer..

User avatar
doublemax
Moderator
Moderator
Posts: 14285
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: WxSQLite3

Post by doublemax » Tue Nov 26, 2019 8:31 pm

Please describe what exactly you did and which errors you got.
Use the source, Luke!

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3579
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: WxSQLite3

Post by ONEEYEMAN » Tue Nov 26, 2019 11:01 pm

Hi,
Also, in addition to what doublemax is asking:

1. What version of wxWidgets do you have?
2. What version of wxSQLite3?
3. What version of MSVC do you use? Are using it for both libraries?

Thank you.

zeroptr
In need of some credit
In need of some credit
Posts: 3
Joined: Sat Nov 02, 2019 12:03 pm

Re: WxSQLite3

Post by zeroptr » Thu Nov 28, 2019 2:13 pm

wxWidgets 3.1.3
I'm using Microsoft Visual Studio 2013
The Latest wxSQLite3 from github

Error 1 error C1083: Cannot open include file: '../../../lib/vc120_lib/mswud/wx/setup.h': No such file or directory e:\wxwidgets-3.1.3\include\msvc\wx\setup.h 140 1 wxsqlite3

the constant error is this

ueda
In need of some credit
In need of some credit
Posts: 2
Joined: Thu Aug 01, 2019 5:07 pm

Re: WxSQLite3

Post by ueda » Thu Nov 28, 2019 9:37 pm

You could either copy the wxdir\lib\vc_lib to wxdir\lib\vc120_lib OR edit wxdir\include\msvc\wx\setup.h and remove line 54-88 and 90, so #define wxCOMPILER_PREFIX vc remains.

Then, open the VS2013 x86 Native Tools Command Prompt and simply type:

Code: Select all

set WXWIN=C:\wxdir (where wxdir is your wxwidgets directory)
cd c:\wxsqlitedir\build
msbuild /p:Configuration=Debug /p:Platform=Win32 wxsqlite3_vc12.sln
msbuild /p:Configuration=Release /p:Platform=Win32 wxsqlite3_vc12.sln
If you modified wxwidget's config.vc before compiling wxwidgets, you might have to modify include\msvc\wx\setup.h as well.

Kvaz1r
Earned some good credits
Earned some good credits
Posts: 136
Joined: Tue Jun 07, 2016 1:07 pm

Re: WxSQLite3

Post by Kvaz1r » Fri Nov 29, 2019 10:10 pm

zeroptr wrote:
Tue Nov 26, 2019 7:19 pm
Hi All,

I couldn't compile wxSqlite3 with MCVC 2013 becouse of directory or library problems I tried to compile from source, no success, there's no documentation about it at youtube or anywhere else..
Hello. You also can check your issue in issue tracker of the project. If key of issue is popular there is big chance that someone already reported it. I was stuck with exactly same question few monthes ago - Build error for wxSQLite3 4.4.6 (VS2019)

Post Reply