VS2010中配置Openframework
首先去官網(wǎng)下載Openframework,下載后好解壓到C盤根目錄下(不然會出現(xiàn)各種問題,我也不知道怎么解決),隨便打開其中的例程,然后右擊該工程,選擇屬性,如下圖:
接著在C\C++常規(guī)選項里面添加“附加包含目錄”,把openframework文件夾下的lib文件夾下的include文件夾都包含進去,如下圖
接著再添加“鏈接器”里面“常規(guī)”-附加庫目錄的內(nèi)容,把openframework含有l(wèi)ib的文件夾包含進去.
*后把輸出清單文件全“否”掉.
這樣就大功告成了,編譯一下就OK了。
為了方便,把剛剛頭文件需要包含的目錄和庫文件需要包含的目錄復制下來,以后直接復制進去就好了。(下面的貌似沒顯示全,不知道為什么)
C:\openframework\libs\videoInput\include;C:\openframework\libs\tess2\include;
C:\openframework\libs\rtAudio\include;
C:\openframework\libs\quicktime\include;
C:\openframework\libs\portaudio\include;
C:\openframework\libs\poco\include;
C:\openframework\libs\kiss\include;
C:\openframework\libs\glu\include;
C:\openframework\libs\glew\include;
C:\openframework\libs\glut\include;
C:\openframework\libs\FreeImage\include;
C:\openframework\libs\fmodex\include;
C:\openframework\libs\cairo\include;
C:\openframework\libs\assimp\include;
C:\openframework\libs\openFrameworks\video;
C:\openframework\libs\openFrameworks\utils;
C:\openframework\libs\openFrameworks\types;
C:\openframework\libs\openFrameworks\sound;
C:\openframework\libs\openFrameworks\math;
C:\openframework\libs\openFrameworks\graphics;
:\openframework\libs\openFrameworks\gl;
C:\openframework\libs\openFrameworks\events;
C:\openframework\libs\openFrameworks\communication;
C:\openframework\libs\openFrameworks\app;
C:\openframework\libs\openFrameworks\3d;
C:\openframework\libs\openFrameworks;
C:\openframework\addons;%(AdditionalIncludeDirectories);src
C:\openframework\libs\openFrameworksCompiled\lib\vs2010;
%(AdditionalLibraryDirectories)
- 上一篇:VS2015 快捷鍵速查 2018/5/5
- 下一篇:Unity3d Rigidbody 碰撞穿透 2018/4/25