页面:
http://www.spacesimulator.net/wiki/index.php?title=3d_Engine_Projects
project:
http://www.assembla.com/spaces/space-simulator-engine/wiki的VC project
导入后,编译没有出现问题,但在连接的时候不对了,出现了下面的错误:
--------------------Configuration: tutorial4 - Win32 Debug--------------------
Compiling...
3dsloader.cpp
d:\cygwin\usr\include\sys\_types.h(36) : error C2632: 'long' followed by 'long' is illegal
d:\cygwin\usr\include\sys\_types.h(36) : error C2144: syntax error : missing ';' before type 'long'
d:\cygwin\usr\include\sys\_types.h(36) : error C2501: '__extension__' : missing storage-class or type specifiers
d:\cygwin\usr\include\sys\_types.h(36) : fatal error C1004: unexpected end of file found
texture.cpp
d:\cygwin\usr\include\sys\_types.h(36) : error C2632: 'long' followed by 'long' is illegal
d:\cygwin\usr\include\sys\_types.h(36) : error C2144: syntax error : missing ';' before type 'long'
d:\cygwin\usr\include\sys\_types.h(36) : error C2501: '__extension__' : missing storage-class or type specifiers
d:\cygwin\usr\include\sys\_types.h(36) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
tutorial4.exe - 1 error(s), 0 warning(s)
为什么我用VC6.0编译,但用的是cygwin的下的sys文件呢?
还有,这个问题该怎么修改?
1 个解决方案
#1
使用 LONGLONG __int64
#1
使用 LONGLONG __int64