|
dev.gamez.lv Latvian Game Developers Community
|
View previous topic :: View next topic |
Author |
Message |
dawchiks
Joined: 03 Jan 2007 Posts: 37 Location: Rīga
|
Posted: Mon Apr 23, 2007 6:38 pm Post subject: syntax error : missing ';' before identifier 'g |
|
karo4 taisu x faila hierearchy, rakstu globalus, tikaa viss OK, bet tad kad nokompileeju lkai redzeetu vai nav kluudas, paraads šo error:
Code: |
------ Build started: Project: ROB, Configuration: Debug Win32 ------
Compiling...
main.cpp
c:\documents and settings\davis\my documents\visual studio 2005\projects\rob\main.h(25) : error C2146: syntax error : missing ';' before identifier 'g_SkinningMethod'
c:\documents and settings\davis\my documents\visual studio 2005\projects\rob\main.h(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\davis\my documents\visual studio 2005\projects\rob\main.h(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\davis\my documents\visual studio 2005\projects\rob\main.h(25) : error C2065: 'D3DNONINDEXED' : undeclared identifier
Build log was saved at "file://c:\Documents and Settings\Davis\My Documents\Visual Studio 2005\Projects\ROB\Debug\BuildLog.htm"
ROB - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
vins izmet error pie šaa:
METHOD g_SkinningMethod = D3DNONINDEXED;
es nez kas par vainu... visur ir tie ';' salikti.... visiem citiem viss ok, tikai tai liinijai šito raada.... |
|
Back to top |
|
|
bubu Indago Uzvarētājs
Joined: 23 Mar 2004 Posts: 3223 Location: Riga
|
Posted: Mon Apr 23, 2007 7:21 pm Post subject: |
|
Vai to, kas ir METHOD, tavs main.h fails zin pirms 25-tās rindiņas? |
|
Back to top |
|
|
dawchiks
Joined: 03 Jan 2007 Posts: 37 Location: Rīga
|
Posted: Mon Apr 23, 2007 7:27 pm Post subject: |
|
laikam nee... arii main.cpp to nezin... :D
tagad viss OK...
biju aizmirsis pielik enum METHOD.... |
|
Back to top |
|
|
bubu Indago Uzvarētājs
Joined: 23 Mar 2004 Posts: 3223 Location: Riga
|
Posted: Mon Apr 23, 2007 8:04 pm Post subject: |
|
karo4 viss 0k |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|