Page 5 of 5

Re: wxSQLite - how to build?

Posted: Fri Oct 02, 2015 7:35 pm
by sly_chandan
Just out of curiosity..

I did everything what you said and nothing worked steve....

Is this how open source libraries are going to be?

Or do I have to get used to this hard way...why is no one there to guide us?

Re: wxSQLite - how to build?

Posted: Fri Oct 02, 2015 7:39 pm
by evstevemd
sly_chandan wrote:Just out of curiosity..

I did everything what you said and nothing worked steve....

Is this how open source libraries are going to be?

Or do I have to get used to this hard way...why is no one there to guide us?
its not hard. but you are doing something wrong. I can't tell what it is.

Re: wxSQLite - how to build?

Posted: Fri Oct 02, 2015 10:27 pm
by sly_chandan
Do I have to build all these possibilities:

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


mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 RUNTIME_LIBS=static BUILD=release
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 RUNTIME_LIBS=static BUILD=debug
mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 RUNTIME_LIBS=static BUILD=release
mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 RUNTIME_LIBS=static BUILD=debug

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

Re: wxSQLite - how to build?

Posted: Sat Oct 03, 2015 12:39 am
by sly_chandan
I have done the wxsqlite3 steve.......

wxSqlite3 is installed.....

I had to do some changes apart from what you told me...

Changing the wxsqlite3 parameters you said were required to do.

How do I know I have setup wxsqlite3 correctly.

Re: wxSQLite - how to build?

Posted: Sat Oct 03, 2015 2:33 am
by sly_chandan
How to install sqlite3 or rather how to get it up running...

When I run my wxWidgets app says sqlite3.dll is missing from your computer. Try reinstalling the program.

Re: wxSQLite - how to build?

Posted: Sat Oct 03, 2015 6:46 am
by evstevemd
Add it to your project libraries in CB and then copy it ti same directory as your exe

Re: wxSQLite - how to build?

Posted: Sat Oct 03, 2015 11:07 am
by doublemax
When I run my wxWidgets app says sqlite3.dll is missing from your computer. Try reinstalling the program.
Note that wxSQLite3 still requires SQLite3. If you don't link it statically, you need the DLLs from the SQLite download page: https://www.sqlite.org/download.html

Re: wxSQLite - how to build?

Posted: Sat Oct 03, 2015 1:23 pm
by sly_chandan
SQLite Solution.png
SQLite Solution.png (14.28 KiB) Viewed 2072 times
This finally has solved the issue for me....

I would recommend this solution to everyone....

No need to compile the wxsqlite library.....

I have tried the way and it messes up the project.....

Thaaaaaaaaaaaaannnnnnnnkkkkkkkkkksssssssssssssssss Steve....

Marvelous!!!!!

=D>

Re: wxSQLite - how to build?

Posted: Thu Oct 08, 2015 8:09 pm
by evstevemd
I have added CMake for compiling MySQL and SQLite3. Other databases will follow (help is appreciated here)
There is sample that is using SQLite3 (but interface i almost the same)
I will appreciate tests and inputs

Basicall
=======
1. CD to build subdir
2. Run Command cmake ../
3. run Make

Remember to setup correct wxWidgets path in CMakeList.txt file

With MySQL you need it installed
with SQLite3 you need nothing. Everything is included