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 »

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: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: WxSQLite3

Post by doublemax »

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: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: WxSQLite3

Post by ONEEYEMAN »

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 »

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 »

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
Super wx Problem Solver
Super wx Problem Solver
Posts: 357
Joined: Tue Jun 07, 2016 1:07 pm

Re: WxSQLite3

Post by Kvaz1r »

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