r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Compiling your r1q2 from source on WIN32
Pages: [1] 2 3 4  All
Print
Author Topic: Compiling your r1q2 from source on WIN32  (Read 49124 times)
neveride
Guest
« on: July 09, 2008, 08:32:15 am »

Hi R1CH,
I was thinking about messing a little with your code and compiling my r1q2 binary on my own, but I'm not able to build it. I have MS Visual Studio 2005 (I read in your readme that it should be MS Visual Studio 6.0, but my version should be compatible back, so it should not be a problem). Under my environment I am missing some headers, but adding them is not a solution. You wrote on your site "Please note that if you choose to compile your own binary, you must use GCC 2.7.2 to maintain compatibility with old mods" but there is no GCC for Windows. There are two projects Cygwin and MinGW, but I do not know if it's gonna solve my problem.

Can you answer me here?
Logged
neveride
Guest
« Reply #1 on: July 09, 2008, 08:34:56 am »

Regarding my previous post: I ask for an answer, but there is no clear question... Cheesy

What do I have to use in order to compile r1q2 binary under WIN32?
Logged
wision
Member

Posts: 237



« Reply #2 on: July 09, 2008, 09:12:06 am »

what kind of error do you get? various errors have been already discussed on the forum, just use search button.. for example here http://www.r1ch.net/forum/index.php?topic=888.0 and here http://www.r1ch.net/forum/index.php?topic=1589.0 ... and some more of course.
Logged
neveride
Guest
« Reply #3 on: July 09, 2008, 12:50:28 pm »

------ Build started: Project: quake2, Configuration: Debug Win32 ------
Compiling...
cl_ents.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_fx.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_input.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_inv.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_main.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_newfx.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_parse.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_pred.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_scrn.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_tent.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_view.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cmd.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cmodel.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
common.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
console.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
crc.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cvar.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
files.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
in_win.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
keys.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Generating Code...
Compiling...
le_physics.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
le_util.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
m_flash.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
md4.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
menu.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
mersennetwister.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
net_chan.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
net_wins.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
pmove.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
q_shared.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
q_shwin.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
qmenu.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
redblack.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
snd_dma.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
snd_mem.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
snd_mix.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
snd_win.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_ccmds.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_ents.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_game.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Generating Code...
Compiling...
sv_init.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_main.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_send.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_user.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sv_world.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sys_win.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
vid_dll.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
vid_menu.c
c:\program files\microsoft visual studio\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Generating Code...

i have paths for headers:
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include
C:\PROGRAM FILES\Microsoft DirectX SDK (August 2007)\Include

and also for libraries:
C:\Program Files\Microsoft DirectX SDK (August 2007)\Lib\x86
C:\Program Files\Microsoft Visual Studio\GnuWin32\lib

in GnuWin32 I have zlib, libpng and libjpeg.

unistd.h file is, as far as I understand, required by zlib, but downloading it and other header files doesn't make any difference (or even sence, since they are not WIN32 libraries)
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #4 on: July 09, 2008, 12:51:29 pm »

Make sure platform SDK is installed.
Logged
neveride
Guest
« Reply #5 on: July 09, 2008, 12:58:33 pm »

Thanks for a quick answer. I think that might have been a problem. I installed Direct X SDK Wink. I'm downloading SDK for VS now from http://www.microsoft.com/Downloads/details.aspx?familyid=30402623-93CA-479A-867C-04DC45164F5B&displaylang=en . I will let you know how it went after I'm finished.
Logged
neveride
Guest
« Reply #6 on: July 09, 2008, 05:55:05 pm »

I have Direct X SDK and SDK for VS 2005 and it still doesn't work :/
Errors as before. If I copy unistd.h and all the other headers that it refer to, I get following errors:

------ Build started: Project: quake2, Configuration: Debug Win32 ------
Compiling...
cl_ents.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_fx.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_input.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_inv.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_main.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_newfx.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_parse.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_pred.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_scrn.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_tent.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cl_view.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cmd.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cmodel.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
common.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
console.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
crc.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
cvar.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
files.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
in_win.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
keys.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
Generating Code...
Compiling...
le_physics.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
le_util.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
m_flash.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
md4.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
menu.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
mersennetwister.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
net_chan.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
net_wins.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/select.h(11) : warning C4005: 'FD_SETSIZE' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(51) : see previous definition of 'FD_SETSIZE'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/select.h(18) : error C2371: 'fd_set' : redefinition; different basic types
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(57) : see declaration of 'fd_set'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/select.h(20) : warning C4005: 'FD_SET' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(88) : see previous definition of 'FD_SET'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/select.h(21) : warning C4005: 'FD_CLR' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(83) : see previous definition of 'FD_CLR'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/select.h(22) : warning C4005: 'FD_ISSET' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(92) : see previous definition of 'FD_ISSET'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/select.h(24) : warning C4005: 'FD_ZERO' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(90) : see previous definition of 'FD_ZERO'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(15) : error C2011: 'timeval' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(97) : see declaration of 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
pmove.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
q_shared.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
q_shwin.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
qmenu.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
redblack.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
snd_dma.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
snd_mem.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
snd_mix.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
snd_win.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_ccmds.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_ents.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_game.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
Generating Code...
Compiling...
sv_init.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_main.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_send.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_user.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sv_world.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
sys_win.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
vid_dll.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
vid_menu.c
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(17) : error C2061: syntax error : identifier 'suseconds_t'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(18) : error C2059: syntax error : '}'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(35) : error C2079: 'it_interval' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(36) : error C2079: 'it_value' uses undefined struct 'timeval'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\sys/time.h(53) : error C2011: 'tm' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\time.h(119) : see declaration of 'tm'
C:\PROGRAM FILES\Microsoft Visual Studio\GnuWin32\include\unistd.h(Cool : fatal error C1083: Cannot open include file: 'sys/fsuid.h': No such file or directory
Generating Code...
Logged
neveride
Guest
« Reply #7 on: July 09, 2008, 07:13:11 pm »

I found some other versions of header files that it had errors in and exchanged them with the older versions. after that I added unzip.c and ioapi.c to the project and dsound.lib to the linker. Now I got these errors and I cant solve them on my own:

------ Build started: Project: quake2, Configuration: Release Win32 ------
Linking...
snd_win.obj : error LNK2019: unresolved external symbol _DirectSoundCreate@12 referenced in function _SNDDMA_InitDirect
sys_win.obj : error LNK2019: unresolved external symbol _IsDebuggerPresent referenced in function _Sys_Error
./build/binaries/release/r1q2.exe : fatal error LNK1120: 2 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Michal\Moje dokumenty\Visual Studio 2005\Projects\R1Q2 src\build\temp\r1q2\release\BuildLog.htm"
quake2 - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #8 on: July 09, 2008, 09:32:18 pm »

Make sure platform SDK is installed.

VS2005 SDK is for developing VS2005 addons.
Logged
neveride
Guest
« Reply #9 on: July 10, 2008, 05:07:32 am »

I installed:
Microsoft Direct X SDK (August 2007)
Microsoft Visual Studio 2005 SDK

I encounter previously mentioned problems on MS Visual Studio 2005.

When I build in debug mode, there is a lot of warnings, but the binary compiles and I can run it when I put it in Q2 directory together with zlib1.dll. The strange thing is that when I use this executable file, I can start my own server (but the physics in the game is strange, like slow motion a little), but I cannot connect to any server on the internet (I have an unhandled exception strange error 'EXCEPION_CONTINUE_SEARCH?').

Still, if I want to build it in a release mode, I cannot do that because of the following error:

------ Build started: Project: quake2, Configuration: Release Win32 ------
Compiling...
snd_win.c
Linking...
snd_win.obj : error LNK2019: unresolved external symbol _DirectSoundCreate@12 referenced in function _SNDDMA_InitDirect
sys_win.obj : error LNK2019: unresolved external symbol _IsDebuggerPresent referenced in function _Sys_Error
./build/binaries/release/r1q2.exe : fatal error LNK1120: 2 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Michal\Moje dokumenty\Visual Studio 2005\Projects\R1Q2 src\build\temp\r1q2\release\BuildLog.htm"
quake2 - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any tips?
Logged
neveride
Guest
« Reply #10 on: July 10, 2008, 05:13:49 am »

I added dsound.lib from MS SDK once again to the linker and the error I get changed to:

------ Build started: Project: quake2, Configuration: Release Win32 ------
Linking...
sys_win.obj : error LNK2019: unresolved external symbol _IsDebuggerPresent referenced in function _Sys_Error
./build/binaries/release/r1q2.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Michal\Moje dokumenty\Visual Studio 2005\Projects\R1Q2 src\build\temp\r1q2\release\BuildLog.htm"
quake2 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Logged
neveride
Guest
« Reply #11 on: July 10, 2008, 08:32:55 am »

I believe that I need to add some other lib to the linker. That's the list I have until now:
winmm.lib
wsock32.lib
zlib.lib
dxguid.lib
dinput8.lib
dsound.lib

Can you check yours and tell me what I am missing?
Logged
QwazyWabbit
Member

Posts: 402


« Reply #12 on: July 11, 2008, 07:43:46 pm »

Definitely missing:
kernel32.lib
user32.lib
advapi32.lib

Probably missing:
gdi32.lib
comdlg32.lib
shell32.lib

also if building the server as the server has a Win32 GUI dialog.

IsDebuggerPresent is in kernel32.dll so you definitely need it to solve the link error.

« Last Edit: July 11, 2008, 08:17:28 pm by QwazyWabbit » Logged
neveride
Guest
« Reply #13 on: July 16, 2008, 07:34:04 am »

I added kener32.lib to the linker and it still does not work. Adding other libraries does not change anything - same error all over again :/
I don't know how to look for the solution. This is a dead end for me :/
Logged
QwazyWabbit
Member

Posts: 402


« Reply #14 on: July 16, 2008, 09:48:39 am »

I added kener32.lib to the linker and it still does not work. Adding other libraries does not change anything - same error all over again :/
I don't know how to look for the solution. This is a dead end for me :/

kernel32.lib, not kener32.lib. Did you make the same typo in the project?

Make sure you clean and rebuild all just to be sure it's not a sync problem.
Logged
Pages: [1] 2 3 4  All
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Compiling your r1q2 from source on WIN32
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines