VS2010中配置Openframework
首先去官網下載Openframework,下載後好解壓到C盤根目錄下(不然會出現各種問題(tí),我也不知道怎麽解決),隨便打開其中的例程(chéng),然後右擊(jī)該(gāi)工程,選擇屬性,如下圖(tú):
接著在C\C++常規選項(xiàng)裏(lǐ)麵添加“附加包含(hán)目錄”,把openframework文件夾(jiá)下(xià)的lib文件夾下的include文件夾都包含進去,如下圖
接著再添加“鏈接器”裏麵“常規(guī)”-附加庫目錄的(de)內容,把openframework含有lib的文件夾包含進去.
*後把輸出清單文件全“否”掉.
這樣就大功告(gào)成了,編譯一下就OK了。
為了方便(biàn),把剛剛頭文件需要包含(hán)的目錄和庫文(wén)件需要(yào)包含的目錄複(fù)製(zhì)下來,以(yǐ)後直接複製進去就好(hǎo)了。(下麵的貌似沒顯示全,不知道為什麽)
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