Michael Schwier wrote: > 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 :-)
What are the errors? > 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 ... It's much easier to set the environment variable DYLD_LIBRARY_PATH in your shell. By setting it in environment.plist, you will have to restart Terminal.app or possibly log out and log back in for the changes to take effect. > 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 :-) I haven't tried that. It shouldn't be too hard as Xcode is very easy to use. The one thing that would be a little different than other uses of Xcode for application development is that OpenSG is not compiled as a collection of frameworks. That just means that you have to list the OpenSG libraries against which you are linking rather than referencing frameworks. You would still need to reference at least the OpenGL framework and then either the GLUT, Carbon, or Cocoa framework depending on how you are doing windowing. At any rate, the Apple documentation is very good, and they have excellent tutorials on the use of Xcode. I suggest that you start here: http://developer.apple.com/tools/xcode/ -Patrick -- Patrick L. Hartling | VP Engineering, Infiscape Corp. PGP: http://tinyurl.com/2msw3 | http://www.infiscape.com/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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
