Search found 100 matches

by AshtonC1
Thu Jun 15, 2017 2:47 am
Forum: Platform Related Issues
Topic: Install Order, SQLite3, wxSQLite3, then wxWidgets? Linux
Replies: 5
Views: 1056

Re: Install Order, SQLite3, wxSQLite3, then wxWidgets? Linux

Thanks David, My wxSQLIte3 project in question began here using a shared library on PC#1, then I began trying for static in PC#2. I stepped back and paused. Today as I was looking through redundant unnecessary SQLite3 files (is now included with WXSQLite3 3.5 > packages) I actually found the shared ...
by AshtonC1
Wed Jun 14, 2017 1:44 pm
Forum: Platform Related Issues
Topic: Install Order, SQLite3, wxSQLite3, then wxWidgets? Linux
Replies: 5
Views: 1056

Re: Install Order, SQLite3, wxSQLite3, then wxWidgets? Linux

In your previous threads you were intending to install your program, built on one box statically-linked to wx, to a notebook . If that is still the situation, you don't need to install wxWidgets on the other notebooks at all. I presume the same applies to wxSQLite3. I wasn't wanting to install as a...
by AshtonC1
Wed Jun 14, 2017 12:54 am
Forum: Platform Related Issues
Topic: Install Order, SQLite3, wxSQLite3, then wxWidgets? Linux
Replies: 5
Views: 1056

Install Order, SQLite3, wxSQLite3, then wxWidgets? Linux

After experiencing multiple baffling make errors installing wxSQLite3, I'm going to reinstall Linux Mint 18.1 on a fresh hard drive for a HP 2000 notebook, and start over. Could I install SQLite3, then wxSQLite3, before wxWidgets? Does it matter? I have 8-10 more notebooks I'd like to load with the ...
by AshtonC1
Mon Jun 12, 2017 10:33 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

** Last build log (above) updated to show all all commands **

I do have `wx-config --libs` under other linker options.
`wx-config --cflags` for other compiler options.

Checking on the number of wx builds on my system....
I have one wx-config located in /usr/local/bin.
by AshtonC1
Mon Jun 12, 2017 9:37 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

Thanks Ulrich, Adding the /usr/include/lib/libwxregexu-3.0.a to the link libraries resolved the problem with the simple regex compile test. #include "wx/regex.h" wxRegEx foo("Test"); The test db app is still displaying this after Adding the /usr/include/lib/libwxregexu-3.0.a to the link libraries, -...
by AshtonC1
Mon Jun 12, 2017 9:18 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

This is a clip from the ../configure results from wxSQLite3. But doesn't mention Regex. checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld....
by AshtonC1
Mon Jun 12, 2017 9:11 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

Thanks David, 1) #include "wx/regex.h" and in the frame ctor: wxRegEx foo("Test"); Result: -------------- Build: Debug in db_Connect_GUI (compiler: GNU GCC Compiler)--------------- g++ -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -...
by AshtonC1
Mon Jun 12, 2017 6:52 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

Edit: incorrect drivel out.. I created a new project with only this bit of code to open a database, same error on build. void db_Connect_GUIFrame::OnButton1Click(wxCommandEvent& event) { wxSQLite3/usr/local/lib/libwxcode_gtk3u_wxsqlite3-3.0.aDatabase* db = new wxSQLite3Database(); wxString testDBNam...
by AshtonC1
Mon Jun 12, 2017 3:25 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

Edit: The IDE was causing the original wxRegex error apparently. When I closed it, it became unresponsive. Upon re-open and build of project, the below new wxRegex error displayed. /usr/bin/ld: /usr/local/lib/libwxcode_gtk3u_wxsqlite3-3.0.a(wxsqlite3.o): undefined reference to symbol '_ZNK7wxRegEx7M...
by AshtonC1
Mon Jun 12, 2017 2:47 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

Re: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

Thanks David, ...Are you building wxsqlite, or are you trying to link to it? I don't believe so, No. The build log indicates that: function `wxSQLite3RegExpOperator::~wxSQLite3RegExpOperator()' is referring to the ../src/wxsqlite3.cpp file. The way I read it. The build log should indicate what is ha...
by AshtonC1
Mon Jun 12, 2017 1:56 pm
Forum: wxCode
Topic: wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux
Replies: 15
Views: 3396

wxsqlite3.cpp: Undefined reference to `wxRegEx::~wxRegEx()'- Linux

I am receiving this compile error, I have never before received using SQLite3/wxSQLite3, in multiple projects. (../src/wxsqlite3.cpp:4614: undefined reference to `wxRegEx::~wxRegEx()') -------------- Build: Debug in wxSQLi_417 (compiler: GNU GCC Compiler)--------------- g++ -L/usr/local/lib -L/usr/l...
by AshtonC1
Mon Jun 12, 2017 12:36 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSQLite3 linux install, libwx_gtk3u, shared & static question.
Replies: 4
Views: 1139

Re: wxSQLite3 linux install, libwx_gtk3u, shared & static question.

Thanks David,
there is a build-dir/.libs/ dir that contains libwxcode_gtk3u_wxsqlite3-3.0.a
I succeeded at that last night using ../configure --enable-static .

Thanks for your time testing this.
by AshtonC1
Sun Jun 11, 2017 9:13 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSQLite3 linux install, libwx_gtk3u, shared & static question.
Replies: 4
Views: 1139

Re: wxSQLite3 linux install, libwx_gtk3u, shared & static question.

Thanks Ulrich, I have tried using the files created, and ignoring the warnings: It creates .la file type, not .a, that I have never seen, resulting in 'file not recognized: File format not recognized'. File created: libwxcode_gtk3u_wxsqlite3-3.0.la. At this point I'd settle for the shared file: libw...
by AshtonC1
Sun Jun 11, 2017 4:38 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSQLite3 linux install, libwx_gtk3u, shared & static question.
Replies: 4
Views: 1139

wxSQLite3 linux install, libwx_gtk3u, shared & static question.

I'm trying to install wxSQLite3 and have an issue not seen before. Here is the make result: [email protected] ~/Downloads/wxsqlite3-3.5.3 $ make CC sqlite3/secure/src/sqlite3secure.lo CXX src/wxsqlite3.lo CXXLD libwxcode_gtk3u_wxsqlite3-3.0.la *** Warning: Linking the shared library libwxcode_gtk3u_wxs...
by AshtonC1
Sat Jun 10, 2017 6:40 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSQLite3 Linux install, autoreconf question.
Replies: 7
Views: 1487

Re: wxSQLite3 Linux install, autoreconf question.

Now I'm trying to understand this result. [email protected] ~/Downloads/wxsqlite3-3.5.3/build-gtk $ make CC sqlite3/secure/src/sqlite3secure.lo CXX src/wxsqlite3.lo CXXLD libwxcode_gtk3u_wxsqlite3-3.0.la *** Warning: Linking the shared library libwxcode_gtk3u_wxsqlite3-3.0.la against the *** static lib...