Search found 29 matches

by Slyde
Sun Oct 06, 2019 2:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Filefn.h error during Build
Replies: 7
Views: 143

Re: Filefn.h error during Build

PB: I guess I wasn't clear. Sorry for that. I said I got the same compiler as you. Here's the info from Windows: C:\Users\lands>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=C:/MinGW/mingw32/bin/../libexec/gcc/i686-w64-mingw32/8.1.0/lto-wrapper.exe Target: i686-w64-mingw32 Configu...
by Slyde
Sun Oct 06, 2019 2:21 pm
Forum: Compiler / Linking / IDE Related
Topic: Filefn.h error during Build
Replies: 7
Views: 143

Re: Filefn.h error during Build

Thanks, PB. I know just enough abt C++ to be 110% dangerous. Truth is, your last post showed me how to set the flags to ensure wxWidgets were compiled to use C++17 standards. So that was cool for me. But, it did me no good. Let me explain. I was using MinGW-w64 8.2.0. I tried all day yesterday to ge...
by Slyde
Fri Oct 04, 2019 8:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Filefn.h error during Build
Replies: 7
Views: 143

Re: Filefn.h error during Build

I'm not the expert here! I don't know if it's a bug or not! What do you think? I just told you all I did. Does it sound like a bug? Or something correctable, something that's been hammered on before?
by Slyde
Fri Oct 04, 2019 7:46 pm
Forum: Compiler / Linking / IDE Related
Topic: Filefn.h error during Build
Replies: 7
Views: 143

Filefn.h error during Build

I'm using Code::Blocks 17.12 and wxWidgets 3.1.2 using g++ 8.2.0. I created a new wxWidgets project in C::B and ran it. During the build process I got an error: ||=== Build: Debug in test-001 (compiler: GNU GCC Compiler) ===| C:\wxWidgets-3.1.2\include\wx\filefn.h||In function 'long long int wxFtell...
by Slyde
Sun Jul 14, 2019 10:05 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 408

Re: Another wxSQLite3 Installation Question

This compiler is rather outdated. I would strongly recommend to use a more recent version.
I actually have MinGW 8.2.0. But I had to resort to the MinGW 5.1.0 compiler that came with Code::Blocks to compile wxWidgets. So switching back now to the 8.2.0 compiler isn't going to break anything?
by Slyde
Sun Jul 14, 2019 9:50 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 408

Re: Another wxSQLite3 Installation Question

It's cool, doublemax. You tried. I just need to know how to Build wxSQLite3 so I can use it. I'll get the right information, eventually.
by Slyde
Sun Jul 14, 2019 9:42 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 408

Re: Another wxSQLite3 Installation Question

Personally, I prefer to build wxSQLite3 as a separate library (either static or shared/DLL) and I'd recommend to follow that route. That's my problem, utelle: I don't know how to do this. Which compiler version are you actually using? MinGW 5.1.0 Both sources are really outdated. Since almost 4 yea...
by Slyde
Sun Jul 14, 2019 9:01 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 408

Re: Another wxSQLite3 Installation Question

I put all the files inside my project folder. Tried to #include "wxsqlite3.h" and got a fatal error. So I created another folder "wx" and put the wxSQLite3 files in it, the #include "wx/wxsqlite3.h" and got another fatal error. C:\Users\lands\OneDrive\Desktop\CodeBlocks\Sidewinder\SidewinderMain.h:2...
by Slyde
Sun Jul 14, 2019 8:02 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 408

Re: Another wxSQLite3 Installation Question

Hi doublemax.

I copied the sqlite3.dll and wxsqlite3.cpp into my project folder. Are there any linker options in Code::Blocks I need to be concerned abt?

Isn't wxSQLite3 supposed to be compiled before using it?
by Slyde
Sun Jul 14, 2019 12:51 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 408

Another wxSQLite3 Installation Question

For every reason you can think of, I'm not a Windows user. BUT...I have to use it for a time for work-related stuff. I installed Code::Blocks. Finally got wxWidgets to compile (using the C::B mingw compiler and not version 8.2.0). And lastly, I need to install wxSQLite3. The only info on this I foun...
by Slyde
Sat Jul 13, 2019 11:10 am
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Can't compile wxWidgets-3.0.4
Replies: 8
Views: 342

Re: Can't compile wxWidgets-3.0.4

That was my fault. I had it set to wxWidgets 3.0 instead of 3.1. It works now. Thanks. And I'm not usually a tard like this. Just been a long day.

Check this out, doublemax
by Slyde
Sat Jul 13, 2019 10:33 am
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Can't compile wxWidgets-3.0.4
Replies: 8
Views: 342

Re: Can't compile wxWidgets-3.0.4

Thanks, doublemax. That's all it needed. Got it compiled using minGW from C::B. Not one issue. Much appreciated. Editing wx sources or moving header files etc. should not be necessary. That was a minGW header file I edited. It lacked a closing brace in a particular header. So I added it to get past ...
by Slyde
Sat Jul 13, 2019 8:20 am
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Can't compile wxWidgets-3.0.4
Replies: 8
Views: 342

Re: Can't compile wxWidgets-3.0.4

Hi PB: I apologize for replying to you the way I did. No excuses, I was wrong. Now, moving on here, the compiler was actually telling me all I needed to know. Compiler file name and even the line of the error. So I added the missing closing brace. That got me past the second error. Now I have anothe...
by Slyde
Sat Jul 06, 2019 10:25 pm
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Can't compile wxWidgets-3.0.4
Replies: 8
Views: 342

Re: Can't compile wxWidgets-3.0.4

Yeah. Your answer might have possibly been a good solution, but it wasn't. I even removed the version of wxWidgets I had (3.0.4) and got the newest (3.1.2) and tried compiling it. And while I got way past where 3.0.4 crapped out, 3.1.2 also bit the dust before successfully compiling. g++ -c -o gcc_m...
by Slyde
Sat Jul 06, 2019 10:31 am
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Can't compile wxWidgets-3.0.4
Replies: 8
Views: 342

[SOLVED] Can't compile wxWidgets-3.0.4

I'm on a fresh install of Windows 10. I installed CodeLite 13 and downloaded wxWidgets-3.0.4 and installed the files to C:\wxWidgets-3.0.4. I then opened a console window and changed directories to C:\wxWidgets-3.0.4\build\msw and ran msw>mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release...