wxSQLite - how to build? Topic is solved
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
After the compilation errors...
I just did a fresh compilation for wxWidgets3.0.2
I just did a fresh compilation for wxWidgets3.0.2
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxSQLite - how to build?
Which errors?sly_chandan wrote:After the compilation errors...
I just did a fresh compilation for wxWidgets3.0.2
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxSQLite - how to build?
AFAICS, your compilation was succesful and you should have libraries in wxDir\lib\gcc_dll or something like that.
Same to wxWidgets. Have you ever worked with C++ libraries?
Same to wxWidgets. Have you ever worked with C++ libraries?
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
wxWidgets application isn't compiling....
wxmsw30u_gcc_custom.dll is missing from your computer.
Try reinstalling the program to fix this problem.
Shall I begin again?
I have made an application in MFC
wxmsw30u_gcc_custom.dll is missing from your computer.
Try reinstalling the program to fix this problem.
Shall I begin again?
I have made an application in MFC
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxSQLite - how to build?
Copy it from the said location unto your application folder same folder as your exe!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
Are you sure about the following command:
mingw32-make -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1
The command that I use to successfully install wxWidgets is this:
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1
?????
mingw32-make -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1
The command that I use to successfully install wxWidgets is this:
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1
?????
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxSQLite - how to build?
BUILD=debug ==>Build libs as debugsly_chandan wrote:Are you sure about the following command:
mingw32-make -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1
The command that I use to successfully install wxWidgets is this:
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1
?????
UNICODE=1 =>Enable Unicode
SHARED=1 =>Build Share d library DLLs
USE_XRC=1 => Enable XRC
MONOLITHIC=1 => Compile as single library than default multilibs
So build to your flavour. You never said if dll are in the folder I pointed out so I cannot help on whether you succeeded or not!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
I am running the compilation again.
Lets see what happens this time.
Do you still have something we can do different ?
Lets see what happens this time.
Do you still have something we can do different ?
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
what library do u use for database access with wxwidgets?
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxSQLite - how to build?
No!sly_chandan wrote: Do you still have something we can do different ?
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
No problem buddy. Thanks for helping me out in this.
I will find a way to set this up.
Cheers!
I will find a way to set this up.
Cheers!
Re: wxSQLite - how to build?
If wxSQlite3 is enough for you, there is also the option to just add all source files to your project instead of building an external library. That's what i always do.
From wxSQLite3 you need the following files:
wxsqlite3.cpp
wxsqlite3.h
wxsqlite3def.h
wxsqlite3dyn.h
wxsqlite3opt.h
Then download the SQLite Amalgamation source from here: https://www.sqlite.org/download.html
From that archive you need the following files:
sqlite3.c
sqlite3.h
sqlite3ext.h
Add all source files to your project as if they your sources files.
From wxSQLite3 you need the following files:
wxsqlite3.cpp
wxsqlite3.h
wxsqlite3def.h
wxsqlite3dyn.h
wxsqlite3opt.h
Then download the SQLite Amalgamation source from here: https://www.sqlite.org/download.html
From that archive you need the following files:
sqlite3.c
sqlite3.h
sqlite3ext.h
Add all source files to your project as if they your sources files.
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: wxSQLite - how to build?
why didn't you tell me this?
I just want some way to use database access!!!!!!
I am building the library because I don't know how else can I use it...
U mean to say I just add the files in my desired project and database access is available?
Can I use the databaselayer as well in a similar fashion??
I just want some way to use database access!!!!!!
I am building the library because I don't know how else can I use it...
U mean to say I just add the files in my desired project and database access is available?
Can I use the databaselayer as well in a similar fashion??
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxSQLite - how to build?
Yes but you need some preprocessors, include paths and Library pathssly_chandan wrote: Can I use the databaselayer as well in a similar fashion??
Check the Provided VS/CodeLite projects to get the clue!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: wxSQLite - how to build?
Yes. But as already mentioned, only to a local SQlite database.U mean to say I just add the files in my desired project and database access is available?
Theoretically it works with every library, but as it consists of over 120 files, it might get more complicated. I've never used wxDatabaseLayer myself.Can I use the databaselayer as well in a similar fashion??
Use the source, Luke!