Re: wxEuphoria v0.14.0

new topic     » goto parent     » topic index » view thread      » older message » newer message
tiger0581 said...

How would I be able to use WxEuphoria on Mac OS? There were binaries for Windows and Linux. I downloaded the source and read the readme.txt file and there weren't any directions for building on Mac OS. Thanks.

I've never used OSX, so I'm afraid I can't say too much. One person did a little work at getting wxEuphoria working there, and I definitely think that it's possible. I'd be very interested in getting help for making wxEuphoria run on a Mac. smile

The main issue he had was that certain features weren't built into his installed version of wxWidgets. This is something that wxEuphoria doesn't currently deal with very well, but should be fairly easy to get going. Basically, whoever built wxWidgets can set various options about controls to use. These may be based on availability of certain features in the OS, or whatever.

The configuration is stored in a header file (on my system, /usr/lib/wx/include/gtk2-unicode-release-2.8/setup.h), in the form of #define directives that look something like:

/* 
 * Define to 1 for Unix[-like] system 
 */ 
#define wxUSE_UNIX 1 
 
#define wxUSE_MEDIACTRL     0 
 
#define wxUSE_POPUPWIN 1 

The wxEuphoria source assumes that most of these things are defined to 1 (as the would be on a typical configure   make style build). So certain places in the wxEuphoria code need guards for this sort of thing. You'll find one in the wxMedia.cpp source file:

#if wxUSE_MEDIACTRL 
 ...wxEuphoria cpp wxMediaCtrl wrappers... 
#endif 

Hopefully, that makes sense. If you have any other questions, please don't hesitate to ask. I welcome patches and any other help anyone is able / interested in making. I'd just also add that it's fairly easy to wrap additional bits of the wxWidgets API with just a little bit of C++ knowledge. blink

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu