John Labenski wrote: >> I also made sure to install the OpenGL and the STC components. >> Normally I build the regular wx libs as "monolithic", though. > > I have to look into the universal build, I think there's something on > the wxWiki?
I have no idea, have my stuff at http://www.algonet.se/~afb/wx/ Using --enable-universal_binary sorta works, except that it requires Mac OS X 10.4 or later and that it hardcodes "-arch i386 -arch ppc" into the wx-config script so if you want to generate single arch / native binaries later you need to hack the configuration first... > Someone mentioned python's Framework method which looks very useful, > but I cannot find any description of what a Framework is besides how > to create one using XCode. Is there a specification for it outside of > using XCode? There should be some system docs like "anatomy of a bundle" etc http://developer.apple.com/documentation/CoreFoundation/Conceptual/ CFBundles > Could it more easily solve the copydylibs.command problem of how to > make the wxLua libs accessible? Using dylibs isn't really a problem, more of a design decision. Both wxWidgets and wxLua could be made to use framework bundles instead, but so far it hasn't been worth the hassle of doing so (in addition, having it conform more to one specific platform doesn't really fit into the cross-platformness of wx - IMHO) Like http://wiki.gnustep.org/index.php/ User_FAQ#Why_not_use_framework_bundles.3F > When we install we create > > /System/Library/Frameworks/wxLua.framework/Versions/ > ./Current -> 2.8.7 > ./2.8.7/ > ./bin/ : has lua executable Not sure if you actually need this ? If you do, it goes in "Tools". > ./include/wxlua2.8.7 : has wxLua's headers This should go in "Headers", with versioning provided by "Versions". > ./lib/wxlua2.8.7 : has wxLua's libs This should go in "wxLua", so must be one monolithic shared library. > ./apps/ : has wxLua.app and others I think the applications should go outside of the framework bundle. > ./docs/ Again, not sure if needed. Usually provided outside of frameworks, but I suppose you could put some docs in there for Xcode browser. > Then add links from /$prefix/include, /$prefix/lib, and I guess > /Applications/wxLua.app to wxLua.framework/.../apps/wxLua.app. > 1) Do we provide yes/no options for putting it into /Applications? They can also go into ~/Applications, if not having admin privileges > 2) Do we provide yes/no option for putting it into > /System/Library/Frameworks? This should be /Library/Frameworks, but could also be ~/Library too. > 3) Look at /Applications/iPhoto/Contents/Frameworks, since we have a > few apps do we instead put a link in the app to the framework? > wxLua.app/Contents/Frameworks/wxLua.framework -> some good place > to put wxLua.framework. This is as opposed to putting the apps into > the wxLua.framework as above. If you put the framework in a central location, then it doesn't have to be bundled with each and every application... Same goes for wxMac. So instead of the symlink in Frameworks, you don't have to do anything. Normally, it will then find it along the regular framework search path. Applications / wxLua.app -> Frameworks / wxLua.framework -> wxWidgets Note that the name of the framework dictates the name of the includes, so if you use "wxLua.framework" you need to include <wxLua/wxlua.h> For instance OpenGL is normally in a directory "GL", but on the mac it's in a framework so all gl programs must change to <OpenGL/gl.h> --anders ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users