--- tags: Robot id, software, 建立新專案 --- 建立新專案 === <style> .ph{ display : block; margin-left : auto ; margin-right: auto; width: 80%} </style> ### 系統配置 - IMP3 控制板 - Windows x64 - Visual Studio 2013 ### STEP 1 確認系統組態 - 須調整至 x64 ### STEP 2 Include 標頭檔 - 將IMCDriver.h ,IMCDefine.h ,IMCDriver.dll 拉到新建立專案的資料夾裡面 <img src = https://i.imgur.com/OqzVRwF.png class = "ph"> - 以<font color = blue>加入現有項目</font>的方式將IMCDriver.h ,IMCDefine.h加入至專案。 ### STEP 3 Include Library - 到屬性管理員 -> 組態屬性 -> VC++目錄 -> 程式庫目錄 ``` C:\IMP3 ``` <img src = https://i.imgur.com/LpiY310.png class = "ph"> - 到屬性管理員 -> 組態屬性 -> 連結器 -> 輸入 -> 其他相依性 ``` IMC3Driver.lib; ``` <img src = https://i.imgur.com/cBEP7Ga.png class = "ph"> ### STEP 4 調整屬性 - 到組態屬性 -> 一般 -> 字元集 ->使用Unicode字元集 <img src = https://i.imgur.com/okxNGWP.png class = "ph"> - 到組態屬性 -> C/C++ -> 前置處理器 -> 前置處理器定義 ``` WIN32; _DEBUG; _CONSOLE; _CRT_SECURE_NO_WARNINGS; ``` <img src = https://i.imgur.com/ivxpVjK.png class ="ph"> - 到組態屬性 -> 連結器 -> 系統 -> 子系統 ``` Windows (/SUBSYSTEM:WINDOWS) ``` <img src = https://i.imgur.com/lyKlPS5.png class = "ph">
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up