From: Bruce S. <Bru...@nc...> - 2005-06-24 19:06:11
|
What you want is vpython; vpython-core2 is the experimental work Jonathan Brandmeyer is doing to add transparency, surface textures, and sophisticated lighting. I made an uninformed and unsuccessful attempt to compile the boost libraries (www.boost.org) on OSX 10.4. First I tried using the gcc that comes with, and that didn't work, complaining about something having to do with "shared" (libraries). Jonathan had mentioned that the gcc 4.0.0 that comes with 10.4 was grabbed from the GNU people when it was still very unstable, so I tried installing from gcc.gnu.org. There is a recent 4.0.0 there, but to avoid confusion I tried installing (bootstrap install) of gcc 3.4.4, with the parameters specified in vpython/INSTALL.txt, which unfortunately failed in a way meaningless to me. So I didn't get very far just trying to get an X11 version compiled for 10.4. I will say that installing the old VPython on 10.4 using fink is actually quite painless now, thanks to the packaging done by Martin Costabel. And you can easily install X11 and Xcode from the 10.4 DVD. Building a native-mode Mac VPython would be a wonderful contribution, but certainly vastly more difficult than merely installing the old pre-boost VPython. Bruce Sherwood Dethe Elza wrote: > Hi folks, > > I'm willing to take another stab at porting VPython to OS X. The last > time I tried I was not very familiar with the OS X libraries, but I've > grown more familiar with them since then, and I know where to ask > questions. On the other hand, the VPython library itself has been > overhauled since then, and I am totally unfamiliar with Boost. Is > there a specific version of Boost that I need (I know SWIG is sensitive > down the the point.point release). > > I'm hoping this will be fairly straightforward using the Apple > guidelines for porting Linux apps. I don't have tons of spare time, > but I have a bunch of VPython scripts lying around that I'd like to do > something with, and the thought of installing Fink or running on X11 > gives me the heebie-jeebies. > > Any pointers for starting points appreciated. I've read through the > list archives to see that I'll probably have to implement glContext, > glFont and platmac.(cpp|h). Anything else? The last time I tried > this, most of the work appeared to be handling locking and > bootstrapping an OpenGL context. > > Also, in CVS there are a number of modules. The installer and DLLs > modules don't look applicable to OS X, but I'm not sure of the status > of the others. There is a README in vpython-core2 saying that it is an > experimental branch, but it looks like that may be the new Boost- based > version. Which modules are currently relevant? > > Thanks a bunch. > > --Dethe > > p.s., I realized when this mail bounced to me, that my last mail to > this list also bounced and I haven't had a chance to debug *why* it > bounced until today. Here is that previous mail to give some context > to the above. > >> On 7-Jun-05, at 7:16 PM, Jon Schull wrote: >> >>> Thanks I have done that (by adding " set path = (/usr/local/bin >>> $path)" to .tcshrc) and all is well. >>> >>> Now, as momentary liaison between the pythonmac and vpython lists >>> I'll mention that VPython (a truly beautiful thing) could be made >>> independent of X11 if someone from this group knew how to liberate >>> it... >> >> >> I took a stab at it once, before VPython was refactored into C++, but >> I was still pretty new to OS X programming at the time, and it >> defeated me. I haven't yet taken a look at the C++ version, it's on >> my todo list, but not a high priority right now. I'd love to see >> VPython on OS X properly, but my hobby coding time is pretty limited >> right now. >> >> --Dethe > > > > -- > Dethe Elza > http://livingcode.org/ > > When laws are outlawed, only outlaws will have laws. > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |