A simple C++ Open Sound Control (OSC) packet manipulation library
#1. 下載oscpack
#2. 確定有安裝CMake和Visual Studio 2010
#3. 解壓縮後在命令式窗下, 切換路徑至oscpack_1_1_0
cmake –G “Visual Studio 10”
如果出現錯誤, console視窗不認得 cmake 有兩種可能
第1. 請先安裝CMake2.8.12
第2. 忘了加入cmake至系統變數path, 參考Windows 7 下,如何建立環境變數
執行完上述指令, 等待一段時間後會產生一堆Visual Studio專案檔案(Projects)
開啟TestOscpack.sln方案, 預設專案為oscpack library
若要編譯全部專案, 則滑鼠點擊ALL_BUILD, 按右鍵設定為預設專案, 然後再次編譯即可
編譯完成後全部執行檔案會在這裡
J:\MultiTouch\oscpack_1_1_0\Release
========================================================================
To run the unit tests:
$ ./bin/OscUnitTests
To run the send and receive tests. Open two terminals. In one run:
$ ./bin/OscReceiveTest
請允許存取
Then in the other terminal run:
$./bin/OscSendTests
文章標籤
全站熱搜

請問一下 我執行cmake以後 他出現 不是內部或外部命令,這個要怎麼解決? 我也有設定環境變數 cmake對應到cmale-gui.exe,這樣有設定對嗎? 謝謝
很明顯, 系統變數你應該沒有設定成功 麻煩你再看一下步驟2, 關於如何設定系統變數