Search found 149 matches

by jmason1182
Thu Jul 19, 2012 12:51 pm
Forum: General Development
Topic: Suspend Logging until file output is complete
Replies: 2
Views: 2566

Re: Suspend Logging until file output is complete

Well you are absolutely right. Turns out that the wxLogGUI controlls (wxLogMessage in the message box, etc.) wait on the flush. But if you have a wxLogTextCtrl or other device, there is no internal buffer that messages goto before they are posted. In fact, in my case (using a wxLogTextCtrl) the buff...
by jmason1182
Wed Jul 18, 2012 6:53 pm
Forum: Open Discussion
Topic: The end of desktop applications?
Replies: 16
Views: 9201

Re: The end of desktop applications?

It's funny how sometimes you go back and read your own posts.... I just read mine for back then and I actually sound like my grandfather! He STILL says "Why in the hell would I need a fax machine!? I got stamps!" I guess the apple doesn't fall far from the tree... P.S. - I still don't use google app...
by jmason1182
Wed Jul 18, 2012 6:39 pm
Forum: General Development
Topic: Suspend Logging until file output is complete
Replies: 2
Views: 2566

Suspend Logging until file output is complete

I can't believe I couldn't find anything in the forums about this.... it seems to me that you might want to do this fairly often, but I digress... My application uses a wxLogChain coupled with both a wxLogStderr and a wxLogTextCtrl so that I can control what is shown to the users but still have a fu...
by jmason1182
Mon Sep 28, 2009 1:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

mingw32-make -d -f makefile.gcc SHARED=0 BUILD=debug UNICODE=1 MONOLITHIC=1 CFG="" VENDOR="" > output.txt Remember to put the -d in this time. Supposedly this will show you each command and it's output, so let's see which command caused the issue. I believe mingw is setup with something interesting...
by jmason1182
Fri Sep 25, 2009 1:02 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

OK, here's the good news: if you have the object files then you have compiled most of the wxWidgets code. Here's the bad news: the CMD line can't do the final linking/compiling because it has to list ALL of those object files in one command! (hence why we use mingw32-make in the first place!) So now...
by jmason1182
Wed Sep 23, 2009 4:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

OK... so here's the fun part. The contents of that file are the actual command that will be used when making the library. So start running them.... yeah, this will take a while. Maybe change the filename of that output.txt to output.bat so that when it fails you'll see the last instruction. We need ...
by jmason1182
Wed Sep 23, 2009 2:16 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

Let's try something wild and crazy. Run this, then upload the output.txt file that results. mingw32-make -n -f makefile.gcc SHARED=0 BUILD=debug UNICODE=1 MONOLITHIC=1 CFG="" VENDOR="" > output.txt If that is shorter than say, 20 or so lines, then add the '-d' parameter as well as the '-n' so we can...
by jmason1182
Tue Sep 22, 2009 4:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

Wow.

OK... let's see. so your path looks ok. mingw32-make works. I just took a look at the typical makefile.gcc and it doesn't reference a path like that. Neither does config.gcc (included from makefile).

Are you using MSYS or are in the command prompt?
by jmason1182
Mon Sep 21, 2009 4:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

OK... C:\Programming\cpp_libs\wxWidgets-2.8.10\build\msw> mingw32-make-f makefile.gcc SHARED=0 BUILD=debug UNICODE=1 MONOLITHIC=1 CFG="" VENDOR="" gcc_mswud if not exist mkdir gcc_mswud The command "C:\PROGRA~1\FLO" is either misspelled or could not be found. mingw32-make: [gcc_mswud] Error 1 (ignor...
by jmason1182
Mon Sep 21, 2009 2:35 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

Two things... one I'll use Google Translate to translate it so you don't have to worry about it. Secondly, if you haven't built it yet then there isn't anything to clean. I gave you the clean command first to make sure we were starting fresh. (You only need to use the word 'clean' after a successful...
by jmason1182
Fri Sep 18, 2009 1:24 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

OK, that helps. First off we need to build the library. The purpose of my batch file is to help at least know what options and what steps are needed to build the library. Even if you don't want to run the batch file itself, you can pick an individual command to help with the options for what you wan...
by jmason1182
Thu Sep 17, 2009 10:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

OK, I see... well.. partially. Semantics aside (saying you built with MSYS is like saying I built with DOS, or maybe I built with Bash... no you didn't. You used a compiler and ran it FROM that shell, but you didn't compile a darned thing with the shell itself... but again, that's semantics and we c...
by jmason1182
Thu Sep 17, 2009 1:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
Replies: 36
Views: 8681

More info needed

Need more info to help you. I have neither a reference for Cygwin/bin in PATH nor one for MSYS. You don't need either Cygwin OR MSYS for the batch file I gave. I have MSYS, but I don't use it to build. I do not have Cygwin installed at all. I have MSYS 1.0 installed (the errors occured even before) ...
by jmason1182
Tue May 12, 2009 3:11 pm
Forum: The Code Dump
Topic: A Beginner's Helper: Build wxWidgets on Win32 w/ MinGW
Replies: 3
Views: 2729

For the main wxWidgets libraries, this is done via the make file... so I'm not sure what you mean. Are you talking about the rest of the wxCode libraries and other "extra" libraries? I think a generic makefile might be helful because it can do some more than a windows batch file can do (without lots...
by jmason1182
Fri Apr 24, 2009 9:35 pm
Forum: C++ Development
Topic: Logging to multiple LogTargets?
Replies: 9
Views: 2377

One correction to above code: My wxCLogFrame (I plan to post it itself as a library inside of the Code Dump forum later) has to be stored inside of your main frame. AND when your main frame closes (in the OnClose method) you have to Destroy the log frame. If you wait until after the main frame close...