Hi there Michael, I have also just started playing with OpenSG in a MAC. But I was able to run all the tutorials by first setting the environment variable via command line
export DYLD_LIBRARY_PATH=LOCATION_OF_OPENSG_LIBRARIES I was also able to compile all the tutorials. The only file that did not compile right away was an alternative "ClusterServerX.cpp", which, I believe, is supposed to be used if you intend to run your apps using Xserver in OSX. In that case, you should change the includes to the appropriate directory of the location of the glx.h file in your system (you also have to install X tools from the Tiger DVD). Anyway, this did work for me :). At IEEE VR, Johannes Behr and Dirk showed very cool apps running OpenSG on a MAC. Maybe they have other tips for us. Bye, Marcio Cabral > Date: Tue, 10 Apr 2007 12:08:46 +0200 > From: Michael Schwier <[EMAIL PROTECTED]> > Subject: [Opensg-users] OpenSG on MAC, doesn't find dylibs (and other > issues :-) > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Hello, > > since some days I am working on a Mac, trying to get my OpenSG based > project work there. So my first step was to set up OpenSG: I followed > the instructions given on the web page and got it compiled so far. So > my first try was to run the tutorials and there came the problems :-) > > 1. using the makefile, compiling stops with Tutorial 12 with a bunch > of errors. Well I don't care so much, because up to now since it > seems basically working, thats all I need (hopefully). But if somone > had the same problem and knows the solution, let me know please :-) > > 2. the compiled tutorials didn't start, because the dylibs were not > found, so I tried to set up the environment variables by editing the > environment.plist file. The file looks like this but it doesn't work. > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// > www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>DYLD_LIBRARY_PATH</key> > <string>/Users/mschwier/Projects/OpenSG/Builds/powerpc-apple- > darwin-g++/lib/opt:</string> > </dict> > </plist> > > Any ideas what is wrong? I copied the dylibs to the tutorial folder > then and it works fine, but thats kind of a dirty solution ... > > 3. Are there any suggestions or tips how to get a OpenSG based Visual > Studio project correctly set up under XCode. I am a complete newbie > to this whole Mac thing, so any help from experienced Mac useres is > _very_ welcome :-) > > greetz > Michael ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
