Friday, January 18, 2013

Path of header file for OpenGL at Mac OS (C++ Builder XE3)

[Reference]

OpenGL Multicolor Tetrahedron (C++)


Adding the OpenGL and GLUT Frameworks

When a C++ console application is created, the OpenGL and GLUT frameworks are by default not included. To include them, open the Remote Profiles panel and click the Add a new path item button from the right-hand side. In theAdd Remote Path Item or Edit Remote Path Item dialog:
  • For OpenGL, set the path on remote machine /System/Library/Frameworks, the file mask OpenGL, and the path type Framework.
  • For GLUT, set the path on remote machine /System/Library/Frameworks, the file mask GLUT, and the path type Framework.

Update: The path on remote machine for newer version of XCode may change to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks



Update local file cache

See also:
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_intro/opengl_intro.html

and

http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#//apple_ref/doc/uid/TP40001987-CH404-SW8

No comments:

Post a Comment

[Qt] 執行檔需要哪些 Dll?

 1. 使用 Qt  的 windeployqt.exe 工具 (在 C:\Qt\Qt5.14.1\5.14.1\msvc2017\bin\)。   a. 把執行檔 myProgram.exe 放在某個資料夾。   b. 在檔案總管這個資料夾按 Shift 和滑鼠右鍵,開啟 Po...