Search found 19 matches

by jfath
Mon Aug 27, 2007 3:34 pm
Forum: General Development
Topic: Removing GUI
Replies: 2
Views: 817

Splitting into a GUI and a headless control process certainly would have been the right design when I started. Unfortunately, I now have GUI control references scattered through the main app and 10 or so plugin DLLs (the main app can ask a plugin to display a configuration dialog, version info, etc....
by jfath
Mon Aug 27, 2007 12:29 pm
Forum: General Development
Topic: Removing GUI
Replies: 2
Views: 817

Removing GUI

I have a wxWidgets app that runs under Linux (GTK2) and Windows. The main thread does nothing but service the GUI which allows a user to set up various rules for processing 'events' generated by hardware devices, network connections, etc. Once the rules are constructed, worker threads do all the rea...
by jfath
Thu Aug 09, 2007 12:46 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 2.8.4 with GCC 4.2.1 (MinGW)
Replies: 2
Views: 874

sue - I get the same errors. I think it's a known problem with gcc 4.2x under MinGW. If you do a Web search for 'mingw gcc thunk alias' you'll find other references and bug reports. In reading some of the posts, it appears someone produced a patch a year or more ago, but it wasn't applied to the mai...
by jfath
Sun Jan 07, 2007 4:20 pm
Forum: Compiler / Linking / IDE Related
Topic: MinGW with 2.8.0 shared, mono, release -> seg fault
Replies: 0
Views: 482

MinGW with 2.8.0 shared, mono, release -> seg fault

I built wxWidgets 2.8.0 with current MinGW and gcc 3.4.5 using DialogBlocks and configuring for shared, monolithic. The build is successful, but there are a bunch of annoying warnings (warning: type attributes are honored only at type definition). Apparently a known problem. When I link and run a si...
by jfath
Sat Jun 10, 2006 1:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Simple Bakefile question - dependencies
Replies: 3
Views: 2415

Just for closure, to paraphrase the answer I received on the bakefiles mailing list.

You can't express source/header dependencies. It's assumed you'll be using native make tools that find dependencies dynamically.
by jfath
Thu Jun 08, 2006 8:55 pm
Forum: Compiler / Linking / IDE Related
Topic: Simple Bakefile question - dependencies
Replies: 3
Views: 2415

Thanks, I figured that out after I posted here. Now I have twice the chance of getting a good answer, right? :D I also found a reference on the list to the undocumented <depends-on-file> tag which solves the problem for headers included by all sources, but I'm still hoping for help on making an obje...
by jfath
Thu Jun 08, 2006 4:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Simple Bakefile question - dependencies
Replies: 3
Views: 2415

Simple Bakefile question - dependencies

OK, it doesn't get much simpler than this, but I can't find the answer. I'm trying to write a bakefile that will output a static MSVC makefile. The project has two source files, myfile1.cpp and myfile2.cpp. Each source file depends on a header file by the same name, myfile1.h and myfile2.h. Also, bo...
by jfath
Tue May 24, 2005 8:49 pm
Forum: General Development
Topic: wxZipOutputStream size limitations?
Replies: 2
Views: 1175

Thanks, Ryan. The sad part is, I haven't seen a failure, but I now have reports from two testers who say they have a crash or hang while backing up large directories or files with the new version of my app which uses wxZipStreams rather than calling zlib directly. It's likely I'm doing something wro...
by jfath
Wed May 11, 2005 3:41 pm
Forum: General Development
Topic: wxZipOutputStream size limitations?
Replies: 2
Views: 1175

wxZipOutputStream size limitations?

I'm porting an app originally written in Borland Builder to wxWidgets. The BB version used a zlib/minizip library to produce zip files, but I've changed the code to use wxZipOutputStream. The new version seems to have problems producing very large archives (>1 GB). Small archives complete OK, but la...
by jfath
Tue Mar 08, 2005 3:00 pm
Forum: C++ Development
Topic: Creating a dll
Replies: 10
Views: 4827

Ryan, Can you tell me whether fromdll works for you using 2.5.4? I've reverted to 2.5.3 because all DLL based samples were crashing on my system when linked with 2.5.4, but are fine with 2.5.3. I've compared the config.vc and setup.h files and believe the two builds are configured identically, yet I...
by jfath
Fri Mar 04, 2005 2:49 pm
Forum: C++ Development
Topic: Creating a dll
Replies: 10
Views: 4827

What version of wxWidgets and what OS are you using?

The 'FromDLL' sample on the Wiki crashes when I link with MSW 2.5.4 DLLs, but works when I link with 2.5.3 DLLs.

Jerry
by jfath
Fri Feb 25, 2005 2:57 pm
Forum: Compiler / Linking / IDE Related
Topic: CMake vs. bakefile
Replies: 20
Views: 5908

Good question - what targets does CMake support? Seems like it would be part of the FAQ, doesn't it? The Windows GUI lets you select these targets: Borland Makefile, NMake Makefile, Unix Makefile, VS 6, VS 7, NS7 Net2003, VS8 2005 And the installation has a 'platform' directory that contains these f...
by jfath
Fri Feb 25, 2005 1:35 pm
Forum: Compiler / Linking / IDE Related
Topic: CMake vs. bakefile
Replies: 20
Views: 5908

Thanks for the information. >I wonder what 'mature' means in this context. bakefile appears to be developing and changing more quickly with updates occurring more frequently. CMake definitely seems to have been around longer - maybe 'older' rather than 'more mature'? :) Any comments on what features...
by jfath
Fri Feb 25, 2005 12:51 pm
Forum: Compiler / Linking / IDE Related
Topic: CMake vs. bakefile
Replies: 20
Views: 5908

CMake vs. bakefile

I think either of these tools would make my life easier. My question - which one to use? CMake appears to be a bit more mature with more complete documentation, but I assume bakefile has some features that the wx devs like since they adopted it rather than CMake. Anyone care to share their experienc...
by jfath
Wed Feb 23, 2005 2:55 pm
Forum: Compiler / Linking / IDE Related
Topic: 2.5.4 MSW VC makefile
Replies: 4
Views: 1964

>it would have to be optional
Right. The way I patched my makefile.vc was to set EXTRALIBS_FOR_BASE to strmiids.lib if USE_DIRECTSHOW=1.

Obviously, you know *much* better than I do the right way to handle such things, though. :)

Thanks for your replies.

Jerry