Search found 22 matches

by nji
Fri Jul 03, 2020 1:27 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

But if you have a look at the precompiled binaries for windows:
https://www.sqlite.org/download.html
There are only DLLs.
No headers, no libs.
???
by nji
Fri Jul 03, 2020 12:18 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

Hi.
As I'm new to that matter I wanted to do it as simple as possible.

wxSQLite would be one more level of hierarchy.
And as the precompiled sqlite library there are no protoype/ header,
I don't know how to use it.
So I decided for amalgamtation sqlite.
by nji
Fri Jul 03, 2020 7:44 am
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

... short addendum for clearification: The "strange order" of the build log message actually came from multitreaded building. If I swith to 1 horse, the errors all belong to sqlite3.c and its use of (C++) pch etc. I hope there will still some help here although it's not a pure wxWidget problem, but ...
by nji
Fri Jul 03, 2020 7:34 am
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

Thank you for your support. As you asked: I use the GCC/G++/GFortran compiler and GDB debugger from MinGW-W64 project (version 8.1.0, 32/64 bit, SEH) which comes bundled with the recent CB release. http://www.codeblocks.org/downloads/26 ... and - as already answered formerly in this thread - I use t...
by nji
Thu Jul 02, 2020 7:49 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

Hi,
there is NO relevant code.
(You wouldn't want the wxWidgets headers ...)
by nji
Thu Jul 02, 2020 7:28 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

Yes, the prebuilt binaries.

The code is the most simple wxWidget "Hello world".

App.cpp and Main.cpp do first:
#include "wx_pch.h"

And wx_pch.h consists mainly of

Code: Select all

// basic wxWidgets headers
#include <wx/wxprec.h>

#ifndef WX_PRECOMP
    #include <wx/wx.h>
#endif
by nji
Thu Jul 02, 2020 7:10 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

Hi,
actually the sqlite amalgamation IS the source code
I just added to the project.
The precompiled binaries are from wxWidget.
And: Of course I rebuilt the project. No change.
by nji
Thu Jul 02, 2020 6:04 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

I use wxWidgets from newest Code::Blocks and the wxWizzard there.
All works fine when generating the minimal wxWidgets GUI project.
Then the only thing I do is adding sqlite.c amalgamation to the project.
Build it ... and get that strange error messages.
by nji
Thu Jul 02, 2020 5:09 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Re: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

But it's not me including the files etc. It's by the generated pch file. Generating a wxwidget app without sqlite works perfectly. Generating a sqlite app (with our without fltk) works perfectly. Just doing both gives the errors. Still I don't even understand what kind of error there is. It seems to...
by nji
Thu Jul 02, 2020 4:10 pm
Forum: Database Related
Topic: Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)
Replies: 25
Views: 937

Problems building wxWidgets 3.0.5 and sqlite 3.31 (amalgamation)

When building wxWidgets alone, all works well. As soon as I add sqlite3.c I get error(s). No problems with FLTK. (I'm just new to this and thought this would be the easiest way. But there must be a reason for "wxsqlite"???) Any help appreciated. g++.exe -Wall -pipe -mthreads -Winvalid-pch -include w...
by nji
Tue May 23, 2017 4:49 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems with wxCalendarCtrl and wxDateTimePickerCtrl
Replies: 6
Views: 1140

Re: Problems with wxCalendarCtrl and wxDateTimePickerCtrl

Yes, that solved it. I suspected a more complex reason, as the other "advanced widgets" (for example "colorpicker") linked without problem. Kind of amusing however: The produced exes are huge (as of all included functionality), but standard controls still aren't included :? (Compared to MFC's exe si...
by nji
Tue May 23, 2017 3:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems with wxCalendarCtrl and wxDateTimePickerCtrl
Replies: 6
Views: 1140

Problems with wxCalendarCtrl and wxDateTimePickerCtrl

I recently installed C:B 16.01 with mingw4.9.2 and the corresponding wxwidgets binaries (under Win7 Prof 64). In a simple wxwidgets project with wxsmith I get problems when I use wxCalendarCtrl and wxDateTimePickerCtrl. Building it says: C:\PROGRA~2\COMMON~1\wxwidget\include\wx\msw\datetimectrl.h|22...
by nji
Sat May 20, 2017 4:19 pm
Forum: Compiler / Linking / IDE Related
Topic: Size of executable (linked to wxwidgets dynamically vs. static)
Replies: 10
Views: 2925

Re: Size of executable (linked to wxwidgets dynamically vs. static)

IIIRC, one of the reasons for the large initial size of wxWidgets application is (that on Windows) huge image libraries (JPEG, TIFF, GIF, PNG , PCX...) as well the ZIP library are linked in statically (all needed by wxImage). If you do not need this functionality, you can turn it off when buildng w...