锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91久久国产综合久久蜜月精品,久久亚洲精品中文字幕冲田杏梨,久久丁香综合五月国产三级网站http://www.shnenglu.com/mythma/category/19757.htmlC++QQ緹わ細(xì)320523969錛?20523982zh-cnMon, 25 Aug 2014 02:30:42 GMTMon, 25 Aug 2014 02:30:42 GMT60Mac OSX 10.9涓媂Code鍖呭惈X11澶存枃浠?/title><link>http://www.shnenglu.com/mythma/archive/2014/08/24/macosx-x11-ln.html</link><dc:creator>鍔涗負(fù)</dc:creator><author>鍔涗負(fù)</author><pubDate>Sun, 24 Aug 2014 03:11:00 GMT</pubDate><guid>http://www.shnenglu.com/mythma/archive/2014/08/24/macosx-x11-ln.html</guid><wfw:comment>http://www.shnenglu.com/mythma/comments/208110.html</wfw:comment><comments>http://www.shnenglu.com/mythma/archive/2014/08/24/macosx-x11-ln.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/mythma/comments/commentRss/208110.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/mythma/services/trackbacks/208110.html</trackback:ping><description><![CDATA[榛樿鎯呭喌涓嬶紝鍐峂ac OSX 10.9涓璛Code SDK涓笉鍖呮嫭X11寰楀ご鏂囦歡錛屽鏋滅敤鍒板垯闇瑕佺◢寰敼鍔ㄤ竴涓嬨?br /><br />X11浣嶄簬鐩綍錛?br />/opt/local/include/X11<br /><br />鍦╔Code SDK涓負(fù)X11鍔犱釜鏇胯韓錛?br /><div style="font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all; background-color: #eeeeee;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->sudo ln -s /opt/local/include/X11 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/   </div><br />鏇胯韓錛屽湪Mac OSX涓嬫槸鐩稿綋鏈夌敤銆?img src ="http://www.shnenglu.com/mythma/aggbug/208110.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/mythma/" target="_blank">鍔涗負(fù)</a> 2014-08-24 11:11 <a href="http://www.shnenglu.com/mythma/archive/2014/08/24/macosx-x11-ln.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>OpenGL on OSX for Beginnerhttp://www.shnenglu.com/mythma/archive/2013/10/02/opengl-on-mac-osx-cocoa.html鍔涗負(fù)鍔涗負(fù)Wed, 02 Oct 2013 10:25:00 GMThttp://www.shnenglu.com/mythma/archive/2013/10/02/opengl-on-mac-osx-cocoa.htmlhttp://www.shnenglu.com/mythma/comments/203523.htmlhttp://www.shnenglu.com/mythma/archive/2013/10/02/opengl-on-mac-osx-cocoa.html#Feedback0http://www.shnenglu.com/mythma/comments/commentRss/203523.htmlhttp://www.shnenglu.com/mythma/services/trackbacks/203523.html
棣栧厛錛屽垱寤轟竴涓狢ocoa紿楀彛紼嬪簭錛屾墦寮xib璁捐鐜錛岀偣Window榪涘叆紿楀彛璁捐鐣岄潰
鐒跺悗錛屽湪Object Library涓夋嫨OpenGL View鎷栧埌紿楀彛涓婏細(xì)


鎺ヤ笅鏉ヨ瀹炵幇鎴戜滑鑷繁鐨刅iew銆?br />鏂板緩涓涓狾bjectC class錛屽悕瀛椾負(fù)MyOpenGLView錛屼慨鏀逛唬鐮侊細(xì)
MyOpenGLView.h鏂囦歡錛?br />
#import <Cocoa/Cocoa.h>
@interface MyOpenGLView : NSOpenGLView
{

}

-(void) drawRect:(NSRect)dirtyRect;
@end


MyOpenGLView.m
#import "MyOpenGLView.h"
#import <OpenGL/gl.h>

static void drawObjects()
{
    glColor3f(1.0f, 0.85f, 0.35f);
    glBegin(GL_TRIANGLES);
    {
        glVertex3f(  0.0,  0.6, 0.0);
        glVertex3f( -0.2, -0.3, 0.0);
        glVertex3f(  0.2, -0.3 ,0.0);
    }
    glEnd();
}

@implementation MyOpenGLView

-(void)drawRect:(NSRect)dirtyRect
{
    glClearColor(1, 0, 0, 1);
    glClear(GL_COLOR_BUFFER_BIT);
    
    drawObjects();
    glFlush();
}

@end

鑷畾涔夌殑鎺т歡綾繪湁浜?jiǎn)锛屽湪閫変腑涓婇潰鎷栧埌紿楀彛涓婄殑OpenGL Object錛屽湪Show the Identity Inspector璁劇疆闈㈡澘涓緗叾Custom Class涓篗yOpenGLView銆傚ぇ鍔熷憡鎴愶細(xì)


璺熷湪Windows涓婁嬌鐢∣penGL鐩告瘮錛孋ocoa鏂逛究寰堝銆?img src ="http://www.shnenglu.com/mythma/aggbug/203523.html" width = "1" height = "1" />

鍔涗負(fù) 2013-10-02 18:25 鍙戣〃璇勮
]]>
Mac涓婄紪璇慴oosthttp://www.shnenglu.com/mythma/archive/2012/10/25/build_boost_with_clang_mac.html鍔涗負(fù)鍔涗負(fù)Thu, 25 Oct 2012 07:32:00 GMThttp://www.shnenglu.com/mythma/archive/2012/10/25/build_boost_with_clang_mac.htmlhttp://www.shnenglu.com/mythma/comments/193841.htmlhttp://www.shnenglu.com/mythma/archive/2012/10/25/build_boost_with_clang_mac.html#Feedback0http://www.shnenglu.com/mythma/comments/commentRss/193841.htmlhttp://www.shnenglu.com/mythma/services/trackbacks/193841.html
  • 棣栧厛緙栬瘧B(tài)oost.Build
  •         淇敼sh鐨勬枃浠跺睘鎬?br />         
     chmod +x bootstrap.sh
     chmod +x ./tools/build/v2/engine/build.sh
     
    鎵ц bootstrap.sh
    ./bootstrap.sh

    鐢熸垚b2鍙墽琛岀▼搴?/blockquote>
    • 緙栬瘧B(tài)oost搴?br />
      //鐢–lang緙栬瘧boost file sytem
      ./b2 toolset=clang cxxflags="-arch x86_64" linkflags="-arch x86_64" --with-filesystem      

      The Boost C++ Libraries were successfully built!
      The following directory should be added to compiler include paths:
          /Users/liwei/DEV/Project/boost_1_50_0
      The following directory should be added to linker library paths:
          /Users/liwei/DEV/Project/boost_1_50_0/stage/lib


      鏈鍚庣敓鎴愮殑鏂囦歡淇濆瓨鍦?/stage/lib鐩綍

       
      榛樿緙栬瘧鍑烘潵鐨勬槸Release鐗堟湰錛岀紪璇慸ebug鐗堟湰錛?br />
      ./b2 toolset=clang cxxflags="-arch x86_64" linkflags="-arch x86_64" --with-filesystem variant=debug --stagedir=./stage/x64/debug





      閫熷害鍍忛涓鏍鳳紒


      鍦▁code涓緗産oost搴?/a>


    ]]>閰嶇疆xcode浣跨敤絎笁鏂筁ibraryhttp://www.shnenglu.com/mythma/archive/2012/10/24/xcode_linking_dylib.html鍔涗負(fù)鍔涗負(fù)Wed, 24 Oct 2012 09:11:00 GMThttp://www.shnenglu.com/mythma/archive/2012/10/24/xcode_linking_dylib.htmlhttp://www.shnenglu.com/mythma/comments/193799.htmlhttp://www.shnenglu.com/mythma/archive/2012/10/24/xcode_linking_dylib.html#Feedback0http://www.shnenglu.com/mythma/comments/commentRss/193799.htmlhttp://www.shnenglu.com/mythma/services/trackbacks/193799.html闃呰鍏ㄦ枃

    ]]>
    Mac榪滅▼妗岄潰閾炬帴http://www.shnenglu.com/mythma/archive/2012/08/04/remote-desktop-connection-mac.html鍔涗負(fù)鍔涗負(fù)Sat, 04 Aug 2012 08:36:00 GMThttp://www.shnenglu.com/mythma/archive/2012/08/04/remote-desktop-connection-mac.htmlhttp://www.shnenglu.com/mythma/comments/186264.htmlhttp://www.shnenglu.com/mythma/archive/2012/08/04/remote-desktop-connection-mac.html#Feedback0http://www.shnenglu.com/mythma/comments/commentRss/186264.htmlhttp://www.shnenglu.com/mythma/services/trackbacks/186264.html綆媧佺殑榪滅▼妗岄潰閾炬帴Windows鐨勫伐鍏稲emote Desktop Connection 2銆傚鎴戣繖涓狹ac鏂版墜鑰岃█錛岀湡鏄毦鐢紒鍥犱負(fù)澶畝媧侊紒
    1. 鍏ㄥ睆鏄劇ず
    鎵句簡(jiǎn)鍗婂ぉ灝辨槸鎵句笉鍒板叏灞忔寜閽?br />鍙兘浣跨敤蹇嵎閿細(xì)Command 錛?2

    2 鏇存敼鏄劇ず鍒嗚鯨鐜?br />鍚屾牱娌℃湁閫夐」銆?br />鎵撳紑Default.rdp淇敼錛?br />

    榪樺ソ鍙敤榪欑偣鍔熻兘銆?br />

    鍙堢爺絀朵簡(jiǎn)涓嬶紝鍙戠幇璁劇疆鐨勪綅緗簡(jiǎn)錛?br />


    ]]>
    精品久久人人做人人爽综合| 久久伊人精品一区二区三区| 国产激情久久久久影院| 久久久精品久久久久特色影视| 青青热久久国产久精品| 久久亚洲精品成人AV| 国内精品欧美久久精品| 久久人人爽人人爽人人AV东京热| 久久精品草草草| 狠狠综合久久综合88亚洲| 国产精品久久久亚洲| 2021国内久久精品| 久久激情亚洲精品无码?V| 国产成人精品免费久久久久| 久久影院午夜理论片无码 | 香蕉久久一区二区不卡无毒影院| 久久99精品久久久久久水蜜桃 | 99久久精品无码一区二区毛片| 一级A毛片免费观看久久精品| 99久久人妻无码精品系列| 久久久久久久91精品免费观看| 国内精品人妻无码久久久影院| 久久免费看黄a级毛片| 久久笫一福利免费导航 | 成人综合伊人五月婷久久| 亚洲午夜久久久| 日批日出水久久亚洲精品tv| 久久激情五月丁香伊人| 一本久久久久久久| 大香网伊人久久综合网2020| 国产99久久精品一区二区| 亚洲精品白浆高清久久久久久| 久久久久久精品无码人妻| 日韩欧美亚洲综合久久影院Ds| 久久久精品波多野结衣| 93精91精品国产综合久久香蕉| 成人国内精品久久久久影院| 99精品久久精品一区二区| 久久精品免费一区二区三区| 久久精品黄AA片一区二区三区| 久久国产亚洲高清观看|