wxSQLite - how to build? Topic is solved

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

Please follow instructions.
I said you should successfully compile wxWidgets before you get wxSQLite3 compile
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?
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

wxWidgets has been installed successfully......the wxSQLite library is not compiling....

Should I clean and compile it again?

This is so frustrating I cant enable the data access library in any way... I just don't understand why is it so complicated...

Thanks for the patience but you're the only one who is helping me....there is no one else responding to the questions in this forum...

If you could help me with any other database library, I would be deeply grateful to you.
Last edited by sly_chandan on Fri Oct 02, 2015 3:16 pm, edited 1 time in total.
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

sly_chandan wrote:wxWidgets has been installed successfully......the wxSQLite library is not compiling....

Code: Select all

s-3.0.2 \lib\gcc_dll\mswud -IC:\wxWidgets-3.0.2 \include -O0 -g -W -Wall -I..\ing++: error: \lib\gcc_dll\mswud: No such
Here it shows you are compiling as unicode debug but your wx was not compiled as debug!
sly_chandan wrote:Should I clean and compile it again?
Yes. And you should use the command I gave there with build=debug shared=1 and unicode=1

The best is deleting wxWidgets folder and start afresh!
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?
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

I will start all over again.....please don't go away ..

I need to get this fixed.....you are very helpful..

Thanks for the patience...


I am starting all over again....
:)
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

wxWidgets did not run successfully.......


g++: error: gcc_mswuddll\coredllbuttonbar.o: No such file or directory
makefile.gcc:5263: recipe for target '..\..\lib\gcc_dll\wxmsw30ud_core_gcc_custom.dll' failed
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw30ud_core_gcc_custom.dll] Error 1

:(

Is the following command right:

mingw32-make SHELL=CMD.exe -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1

????
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

sly_chandan wrote:wxWidgets did not run successfully.......

:(

Is the following command right:

mingw32-make SHELL=CMD.exe -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1

????
this should be enough. Without error message no help!

Code: Select all

mingw32-make   -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1
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?
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

Should I use the same command for wxSqlite3 library compilation as well:

mingw32-make -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1

????
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

sly_chandan wrote:Should I use the same command for wxSqlite3 library compilation as well:

mingw32-make -j4 -f makefile.gcc BUILD=debug UNICODE=1 SHARED=1

????
Yes!
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?
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

wxWidgets ended with this


g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw30ud_richtext_gcc_custom.dll gcc_mswuddll\richtextdll_dummy.o gcc_mswuddll\r
ichtextdll_version_rc.o gcc_mswuddll\richtextdll_richtextbuffer.o gcc_mswuddll\richtextdll_richtextctrl.o gcc_mswuddll\r
ichtextdll_richtextformatdlg.o gcc_mswuddll\richtextdll_richtexthtml.o gcc_mswuddll\richtextdll_richtextimagedlg.o gcc_m
swuddll\richtextdll_richtextprint.o gcc_mswuddll\richtextdll_richtextstyledlg.o gcc_mswuddll\richtextdll_richtextstyles.
o gcc_mswuddll\richtextdll_richtextsymboldlg.o gcc_mswuddll\richtextdll_richtextxml.o gcc_mswuddll\richtextdll_xh_richte
xt.o -g -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw30ud_richtext.a -lwxtiffd -lwxjpegd
-lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lco
mctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet ..\..\lib\gcc_dll\libwxmsw30ud_adv.a ..\..\lib\
gcc_dll\libwxmsw30ud_html.a ..\..\lib\gcc_dll\libwxbase30ud_xml.a ..\..\lib\gcc_dll\libwxmsw30ud_core.a ..\..\lib\gcc_dl
l\libwxbase30ud.a
Last edited by sly_chandan on Fri Oct 02, 2015 4:29 pm, edited 1 time in total.
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

sly_chandan wrote:Ok I have done both the compilations....

How do I know it all went right???

Where is the dll located?
Use windows Explorer to seach them. But there should be lib or something there
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?
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

Its not gone well....


g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw30ud_richtext_gcc_custom.dll gcc_mswuddll\richtextdll_dummy.o gcc_mswuddll\r
ichtextdll_version_rc.o gcc_mswuddll\richtextdll_richtextbuffer.o gcc_mswuddll\richtextdll_richtextctrl.o gcc_mswuddll\r
ichtextdll_richtextformatdlg.o gcc_mswuddll\richtextdll_richtexthtml.o gcc_mswuddll\richtextdll_richtextimagedlg.o gcc_m
swuddll\richtextdll_richtextprint.o gcc_mswuddll\richtextdll_richtextstyledlg.o gcc_mswuddll\richtextdll_richtextstyles.
o gcc_mswuddll\richtextdll_richtextsymboldlg.o gcc_mswuddll\richtextdll_richtextxml.o gcc_mswuddll\richtextdll_xh_richte
xt.o -g -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw30ud_richtext.a -lwxtiffd -lwxjpegd
-lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lco
mctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet ..\..\lib\gcc_dll\libwxmsw30ud_adv.a ..\..\lib\
gcc_dll\libwxmsw30ud_html.a ..\..\lib\gcc_dll\libwxbase30ud_xml.a ..\..\lib\gcc_dll\libwxmsw30ud_core.a ..\..\lib\gcc_dl
l\libwxbase30ud.a


This is a fresh compilation.....
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

sly_chandan wrote:Its not gone well....


g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw30ud_richtext_gcc_custom.dll gcc_mswuddll\richtextdll_dummy.o gcc_mswuddll\r
ichtextdll_version_rc.o gcc_mswuddll\richtextdll_richtextbuffer.o gcc_mswuddll\richtextdll_richtextctrl.o gcc_mswuddll\r
ichtextdll_richtextformatdlg.o gcc_mswuddll\richtextdll_richtexthtml.o gcc_mswuddll\richtextdll_richtextimagedlg.o gcc_m
swuddll\richtextdll_richtextprint.o gcc_mswuddll\richtextdll_richtextstyledlg.o gcc_mswuddll\richtextdll_richtextstyles.
o gcc_mswuddll\richtextdll_richtextsymboldlg.o gcc_mswuddll\richtextdll_richtextxml.o gcc_mswuddll\richtextdll_xh_richte
xt.o -g -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw30ud_richtext.a -lwxtiffd -lwxjpegd
-lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lco
mctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet ..\..\lib\gcc_dll\libwxmsw30ud_adv.a ..\..\lib\
gcc_dll\libwxmsw30ud_html.a ..\..\lib\gcc_dll\libwxbase30ud_xml.a ..\..\lib\gcc_dll\libwxmsw30ud_core.a ..\..\lib\gcc_dl
l\libwxbase30ud.a


This is a fresh compilation.....
Check in lib\gcc_dll
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?
User avatar
doublemax
Moderator
Moderator
Posts: 19103
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxSQLite - how to build?

Post by doublemax »

Just for the record: In your first post you wrote you wanted to connect to an ODBC database.

wxSQlite3 requires sqlite and it uses a local database file. You can't connect to remote databases with it.
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: wxSQLite - how to build?

Post by sly_chandan »

That's alright...I am ok with wxSQLite3 as local db.....


I will also be trying to get DatabaseLayer working for ODBC connectivity...

I am not going to give up so easily....I will set it up sooner or later...

What should I do next ????
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2408
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxSQLite - how to build?

Post by evstevemd »

sly_chandan wrote: What should I do next ????
After what?
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?
Post Reply