I have been try to compile kyra in VS 6.0 for a few hours now. I have gone from error to error and still can't find a solution. Here are the errors I am getting now. It seems like it can't find the game engine >.<;;;
Hope some one can help _-_....I would like to be able to build something today..........
ompiling...
namefield.cpp
C:\Development\kyra\Engine\../../grinliz/gltypes.h(59) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
C:\Development\kyra\Engine\../../grinliz/gltypes.h(59) : error C2143: syntax error : missing ';' before 'constant'
C:\Development\kyra\Engine\../../grinliz/gltypes.h(59) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
krspriteed.exe - 2 error(s), 1 warning(s)
--------------------Configuration: engine - Win32 Debug--------------------
Compiling...
namefield.cpp
c:\development\grinliz\gltypes.h(59) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
c:\development\grinliz\gltypes.h(59) : error C2143: syntax error : missing ';' before 'constant'
c:\development\grinliz\gltypes.h(59) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
I am not sure what may be going on, but I do know that VC6 is terrible with compliance with the C++ Standard. That said, what version of Kyra are you using? In my version (2.1.3), I seem to have different code at the line numbers specified in your error messages.
I have been try to compile kyra in VS 6.0 for a few hours now. I have gone from error to error and still can't find a solution. Here are the errors I am getting now. It seems like it can't find the game engine >.<;;;
Hope some one can help _-_....I would like to be able to build something today..........
ompiling...
namefield.cpp
C:\Development\kyra\Engine\../../grinliz/gltypes.h(59) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
C:\Development\kyra\Engine\../../grinliz/gltypes.h(59) : error C2143: syntax error : missing ';' before 'constant'
C:\Development\kyra\Engine\../../grinliz/gltypes.h(59) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
krspriteed.exe - 2 error(s), 1 warning(s)
--------------------Configuration: engine - Win32 Debug--------------------
Compiling...
namefield.cpp
c:\development\grinliz\gltypes.h(59) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
c:\development\grinliz\gltypes.h(59) : error C2143: syntax error : missing ';' before 'constant'
c:\development\grinliz\gltypes.h(59) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
krspriteed.exe - 2 error(s), 1 warning(s)
--------------------Configuration: encoder - Win32 Release--------------------
Build : warning : failed to (or don't know how to) build 'C:\Development\kyra\Engine\Release\engine.lib'
Linking...
main.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
main.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
main.obj : warning LNK4044: unrecognized option "alternatename:__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z=__imp_??8std@@YA_NABV?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@0@PBD@Z"; ignored
main.obj : warning LNK4044: unrecognized option "alternatename:__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z=__imp_??8std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V
?$allocator@D@2@@0@0@Z"; ignored
output.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
output.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
output.obj : warning LNK4044: unrecognized option "alternatename:__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z=__imp_??8std@@YA_NABV?$basic_string@DU?$char_traits@D@st
d@@V?$allocator@D@2@@0@PBD@Z"; ignored
output.obj : warning LNK4044: unrecognized option "alternatename:__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z=__imp_??8std@@YA_NABV?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@0@0@Z"; ignored
LINK : fatal error LNK1181: cannot open input file "\Development\kyra\Engine\Release\engine.lib"
Error executing link.exe.
krencoder.exe - 1 error(s), 9 warning(s)
--------------------Configuration: encoder - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "..\Engine\Debug\engine.lib"
Error executing link.exe.
krencoder.exe - 1 error(s), 0 warning(s)
--------------------Configuration: guitest - Win32 Release--------------------
Build : warning : failed to (or don't know how to) build 'C:\Development\kyra\Engine\Release\engine.lib'
Linking...
guitest.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
guitest.obj : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
guitest.obj : warning LNK4044: unrecognized option "alternatename:__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z=__imp_??8std@@YA_NABV?$basic_string@DU?$char_traits@D@s
td@@V?$allocator@D@2@@0@PBD@Z"; ignored
guitest.obj : warning LNK4044: unrecognized option "alternatename:__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z=__imp_??8std@@YA_NABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@0@0@Z"; ignored
LINK : fatal error LNK1181: cannot open input file "\Development\kyra\Engine\Release\engine.lib"
Error executing link.exe.
guitest.exe - 1 error(s), 5 warning(s)
--------------------Configuration: guitest - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "..\Engine\Debug\engine.lib"
Error executing link.exe.
guitest.exe - 1 error(s), 0 warning(s)
I am not sure what may be going on, but I do know that VC6 is terrible with compliance with the C++ Standard. That said, what version of Kyra are you using? In my version (2.1.3), I seem to have different code at the line numbers specified in your error messages.
Also, take a look at http://sourceforge.net/forum/forum.php?thread_id=1579346&forum_id=149869 to see if it might help. I don't believe that CVS has been updated with the changes yet, but I could be wrong. You may just need to include SDL.h in the appropriate header file.
I hope it helps, but if not, go ahead and post anything else that might help us solve this problem.
Also, this thread may have more info that may help: http://sourceforge.net/forum/forum.php?thread_id=1548262&forum_id=149869