|
|

楼主 |
发表于 2005-11-11 04:23:00
|
显示全部楼层
Re:游戏编程VB转到C++!遇到问题!!各位高手请。。。?
怎么我编译C/C++程序就出现这个错问题?!
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2146: syntax error : missing ';' before identifier 'images'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2501: 'images' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2065: 'LPDIRECTDRAWSURFACE7' : undeclared identifier
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2146: syntax error : missing ')' before identifier 'lpdds'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2440: 'initializing' : cannot convert from 'int' to 'struct IDirectDrawClipper *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2059: syntax error : ')'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : error C2146: syntax error : missing ';' before identifier 'DDraw_Create_Surface'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : fatal error C1004: unexpected end of file found
t3dlib1.cpp
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2146: syntax error : missing ';' before identifier 'images'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2501: 'images' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2065: 'LPDIRECTDRAWSURFACE7' : undeclared identifier
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2146: syntax error : missing ')' before identifier 'lpdds'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2440: 'initializing' : cannot convert from 'int' to 'struct IDirectDrawClipper *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2059: syntax error : ')'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : error C2146: syntax error : missing ';' before identifier 'DDraw_Create_Surface'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : fatal error C1004: unexpected end of file found
t3dlib2.cpp
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2146: syntax error : missing ';' before identifier 'images'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(175) : error C2501: 'images' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2065: 'LPDIRECTDRAWSURFACE7' : undeclared identifier
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2146: syntax error : missing ')' before identifier 'lpdds'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2440: 'initializing' : cannot convert from 'int' to 'struct IDirectDrawClipper *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(308) : error C2059: syntax error : ')'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : error C2146: syntax error : missing ';' before identifier 'DDraw_Create_Surface'
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\documents and settings\osman\桌面\sf_200511109256\t3dlib1.h(309) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
physical.exe - 30 error(s), 0 warning(s) |
|