程式是這樣的:
public:
mxArray *pArrayIn;
mxArray *pArrayOut;
HWND m_plotH;
int m_isInView;
報錯是這樣的:
c:\users\cyj\desktop\testsincplot_dll\testsincplot_dllview.h(25) : error C2143: syntax error : missing ';' before '*'
c:\users\cyj\desktop\testsincplot_dll\testsincplot_dllview.h(25) : error C2501: 'mxArray' : missing storage-class or type specifiers
c:\users\cyj\desktop\testsincplot_dll\testsincplot_dllview.h(25) : error C2501: 'pArrayIn' : missing storage-class or type specifiers
uj5u.com熱心網友回復:
偶遇到類似問題都是用“每次用/*...*/注釋掉不同部分再重新編譯,直到定位到具體語法出錯的位置。”
的方法解決的。
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/125153.html
標籤:基礎類
上一篇:關于eigen開源矩陣的問題
