Tag: glut’

เลือกเรียนอะไรดี ComSci – Thammasat (ตอนที่ 1)

 - by Nat

.

เลือกเรียนอะไรดี

วันนี้ขอพูดในฐานะรุ่นพี่ แล้วกันเนอะ

เรื่องเรียนอะไรดี? เลือกสายอะไรดี? Read this article »

วิธีการใช้ GLUT บน MAC ด้วย Eclipse

 - by NAzT

With Eclipse On Mac

ก่อนอื่นเราต้องใช้ (Use This)

#include <OpenGL/gl.h> #include <GLUT/glut.h>
แทนที่จะใช้ (Instead Of)
#include <GL/gl.h> #include <GL/glut.h>
แล้ว
  1. คลิกขวาที่ ด้านซ้ายมือ
  2. เลือก Properties
  3. เลือก  “C/C++ Build:Properties”
  4. มองหาและไปที่ “Tool Settings”
  5. เลือกไปที่ “Mac OS X C++ Linker : Miscellaneous”
  6. เพิ่มใช่ช่อง “Linker flags” field: ด้วย -framework GLUT -framework OpenGL

Read this article »