[問題] OpenCV2.4安裝於VS2008找不到stdafx.h

看板C_and_CPP作者 (aada)時間11年前 (2013/06/09 11:26), 編輯推噓2(201)
留言3則, 3人參與, 最新討論串1/1
大家好, 小弟目前在安裝OpenCV遇到一些問題, 我是下載的版本為2.4, Visual Studio: 2008, OS: Win7 64bit, 我目前是參考網址的安裝流程來執行 http://ppt.cc/OU7q 安裝與設定完之後, 發現在測試程式上, 使用下面的參考程式 http://ppt.cc/xKVx 會發現這樣的錯誤 錯誤 1 fatal error C1083: 無法開啟包含檔案: 'stdafx.h': No such file or directory c:\users\qoo\documents\visual studio 2008\projects\wd\wd\wd.cpp 6 wd 請問我該怎麼處理呢? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.231.219.50

06/09 16:50, , 1F
有關掉 先行編譯標頭檔嘛?
06/09 16:50, 1F

06/11 11:58, , 2F
Express版?
06/11 11:58, 2F

07/16 12:19, , 3F
那個.h檔可以不用引用 直接刪掉就好
07/16 12:19, 3F
文章代碼(AID): #1Hi_No8- (C_and_CPP)