Menu Home

MAC OS下编译OPENGL


MAC OS下编译OPENGL

包含头文件

#include <gl.h>  -->  #include <OpenGL/gl.h>
#include <glu.h>  -->  #include <OpenGL/glu.h>
#include <glut.h> -->  #include <GLUT/glut.h>

编译命令

gcc -framework GLUT -framework OpenGL -framework Cocoa test.c -o test

XCode下导人

/System/Library/Frameworks/OpenGL.framework
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework

8 replies

  1. Thank you so much for providing individuals with an exceptionally splendid possiblity to read in detail from this blog. It can be very amazing and as well , full of a great time for me personally and my office co-workers to visit the blog not less than three times per week to read through the fresh secrets you will have. And of course, I am also always fascinated with all the unbelievable tricks you give. Some 4 ideas in this article are in fact the most suitable we have ever had.

  2. I’m also commenting to make you know of the amazing encounter my cousin’s girl found viewing your webblog. She figured out a good number of things, which include how it is like to have an ideal helping nature to have others completely fully understand selected complicated topics. You actually surpassed visitors’ expectations. Thanks for delivering such helpful, trustworthy, edifying and also easy tips on the topic to Evelyn.

  3. I not to mention my pals ended up digesting the great thoughts from your web site and then before long I had a horrible feeling I never expressed respect to the website owner for those tips. Those women ended up for this reason glad to read through all of them and now have in truth been making the most of these things. Many thanks for really being so accommodating and then for figuring out these kinds of wonderful subjects most people are really desperate to be informed on. My honest apologies for not saying thanks to you earlier.

  4. Thanks a lot for providing individuals with a very special chance to read from this website. It’s usually so nice and packed with a lot of fun for me personally and my office mates to visit the blog no less than thrice a week to find out the newest guides you will have. Of course, I’m also at all times contented concerning the beautiful information you serve. Some 3 ideas in this posting are unquestionably the most impressive I have had.

  5. A lot of thanks for each of your labor on this blog. Gloria really loves doing internet research and it’s easy to see why. I know all relating to the powerful method you provide vital strategies on this web blog and encourage participation from website visitors on the area of interest then our favorite girl is always studying a lot. Take pleasure in the remaining portion of the new year. You have been performing a fabulous job.

  6. I needed to send you that bit of observation in order to say thank you over again for these awesome tricks you have shared here. It was really seriously open-handed with you to make without restraint exactly what many individuals could have made available as an electronic book to end up making some dough on their own, mostly given that you could possibly have done it if you ever considered necessary. The good ideas also served to be the great way to fully grasp other people have the identical dreams similar to my own to understand a whole lot more in regard to this matter. I think there are a lot more enjoyable moments ahead for individuals who discover your blog.

  7. I intended to write you this very little observation to be able to thank you very much as before relating to the exceptional suggestions you’ve discussed on this page. It was quite remarkably generous with you to allow openly just what a lot of people could possibly have supplied as an e book to get some money on their own, certainly considering that you might have done it if you ever decided. These suggestions additionally served as the fantastic way to be certain that some people have similar keenness just like my own to know whole lot more in regard to this condition. I am certain there are millions of more enjoyable times ahead for individuals that browse through your blog.

  8. Thank you so much for providing individuals with a very superb chance to discover important secrets from this site. It can be so amazing and also jam-packed with a great time for me and my office acquaintances to visit your site really thrice in one week to learn the newest items you will have. And of course, I am just at all times impressed concerning the striking methods served by you. Certain 2 points in this post are indeed the very best we have had.

Leave a Reply