Can't get trunk to compile on VC++2008 (SDL_revision.h missing)

I fetched the latest SDL 1.3 source code from svn trunk, but I can’t get it
to compile with VC++ 2008.
Looks like SDL_revision.h is missing. In fact it is missing and I don’t know
why. I got the 1.3.3 version to compile alright, but don’t know how to get
this working.
I put the compile log below

1>------ Rebuild All started: Project: SDL, Configuration: Release Win32------
2>------ Rebuild All started: Project: SDLmain, Configuration: Release Win32

2>Deleting intermediate and output files for project ‘SDLmain’,
configuration 'Release|Win32’
1>Deleting intermediate and output files for project ‘SDL’, configuration
’Release|Win32’
2>Compiling…
1>Compiling…
2>SDL_win32_main.c
1>SDL_yuv_sw.c
1>SDL_yuv_mmx.c
1>SDL_windowevents.c
1>SDL_win32window.c
2>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
2>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDLmain\Release\BuildLog.htm"
2>SDLmain - 1 error(s), 0 warning(s)
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_win32video.c
1>SDL_win32opengl.c
1>SDL_win32mouse.c
1>SDL_win32modes.c
1>SDL_win32keyboard.c
1>SDL_win32gamma.c
1>SDL_win32events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_wave.c
1>SDL_video.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_timer.c
1>SDL_thread.c
1>SDL_systimer.c
1>SDL_systhread.c
1>SDL_syssem.c
1>SDL_sysmutex.c
1>SDL_sysloadso.c
1>Generating Code…
1>Compiling…
1>SDL_syshaptic.c
1>SDL_syscdrom.c
1>SDL_surface.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_string.c
1>SDL_stretch.c
1>SDL_stdlib.c
1>SDL_rwops.c
1>SDL_RLEaccel.c
1>SDL_renderer_sw.c
1>SDL_renderer_gl.c
1>SDL_rect.c
1>SDL_quit.c
1>SDL_qsort.c
1>SDL_pixels.c
1>SDL_nullvideo.c
1>SDL_nullrender.c
1>SDL_nullevents.c
1>SDL_mouse.c
1>SDL_mmjoystick.c
1>SDL_mixer_MMX_VC.c
1>Generating Code…
1>Compiling…
1>SDL_mixer_MMX.c
1>SDL_mixer_m68k.c
1>SDL_mixer.c
1>SDL_malloc.c
1>SDL_keyboard.c
1>SDL_joystick.c
1>SDL_iconv.c
1>SDL_haptic.c
1>SDL_getenv.c
1>SDL_gdirender.c
1>SDL_gamma.c
1>SDL_fillrect.c
1>SDL_fatal.c
1>SDL_events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_error.c
1>SDL_dxjoystick.c
1>SDL_dx5audio.c
1>SDL_dummyaudio.c
1>SDL_drawpoint.c
1>SDL_drawline.c
1>Generating Code…
1>Compiling…
1>SDL_diskaudio.c
1>SDL_dibaudio.c
1>SDL_d3drender.c
1>SDL_cpuinfo.c
1>SDL_compat.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_cdrom.c
1>SDL_bmp.c
1>SDL_blit_slow.c
1>SDL_blit_N.c
1>SDL_blit_copy.c
1>SDL_blit_auto.c
1>SDL_blit_A.c
1>SDL_blit_1.c
1>SDL_blit_0.c
1>SDL_blit.c
1>SDL_blendrect.c
1>SDL_blendpoint.c
1>SDL_blendline.c
1>SDL_audiotypecvt.c
1>SDL_audiodev.c
1>Generating Code…
1>Compiling…
1>SDL_audiocvt.c
1>SDL_audio.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>SDL_alphamult.c
1>SDL.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal error
C1083: Cannot open include file: ‘SDL_revision.h’: No such file or directory
1>s_sin.c
1>s_scalbn.c
1>s_floor.c
1>s_fabs.c
1>s_cos.c
1>s_copysign.c
1>k_sin.c
1>k_rem_pio2.c
1>k_cos.c
1>e_sqrt.c
1>e_rem_pio2.c
1>e_pow.c
1>e_log.c
1>Generating Code…
1>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDL\Release\BuildLog.htm"
1>SDL - 8 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========

I had wrote some scripts that generate the SDL_revision.h file. You can
download the files here: http://www.dragons-server.de/SDL.zip
You need to have a programm called svnversion in you PATH Environment
variable so the script could read the current revision number.
The other files are modified Solution and Project files that run the
script automatically to always get the latest revision.

Greets
Christoph

Juhani ?hman schrieb:> I fetched the latest SDL 1.3 source code from svn trunk, but I can’t

get it to compile with VC++ 2008.
Looks like SDL_revision.h is missing. In fact it is missing and I
don’t know why. I got the 1.3.3 version to compile alright, but don’t
know how to get this working.
I put the compile log below

1>------ Rebuild All started: Project: SDL, Configuration: Release
Win32 ------
2>------ Rebuild All started: Project: SDLmain, Configuration: Release
Win32 ------
2>Deleting intermediate and output files for project ‘SDLmain’,
configuration 'Release|Win32’
1>Deleting intermediate and output files for project ‘SDL’,
configuration 'Release|Win32’
2>Compiling…
1>Compiling…
2>SDL_win32_main.c
1>SDL_yuv_sw.c
1>SDL_yuv_mmx.c
1>SDL_windowevents.c
1>SDL_win32window.c
2>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
2>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDLmain\Release\BuildLog.htm"
2>SDLmain - 1 error(s), 0 warning(s)
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_win32video.c
1>SDL_win32opengl.c
1>SDL_win32mouse.c
1>SDL_win32modes.c
1>SDL_win32keyboard.c
1>SDL_win32gamma.c
1>SDL_win32events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_wave.c
1>SDL_video.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_timer.c
1>SDL_thread.c
1>SDL_systimer.c
1>SDL_systhread.c
1>SDL_syssem.c
1>SDL_sysmutex.c
1>SDL_sysloadso.c
1>Generating Code…
1>Compiling…
1>SDL_syshaptic.c
1>SDL_syscdrom.c
1>SDL_surface.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_string.c
1>SDL_stretch.c
1>SDL_stdlib.c
1>SDL_rwops.c
1>SDL_RLEaccel.c
1>SDL_renderer_sw.c
1>SDL_renderer_gl.c
1>SDL_rect.c
1>SDL_quit.c
1>SDL_qsort.c
1>SDL_pixels.c
1>SDL_nullvideo.c
1>SDL_nullrender.c
1>SDL_nullevents.c
1>SDL_mouse.c
1>SDL_mmjoystick.c
1>SDL_mixer_MMX_VC.c
1>Generating Code…
1>Compiling…
1>SDL_mixer_MMX.c
1>SDL_mixer_m68k.c
1>SDL_mixer.c
1>SDL_malloc.c
1>SDL_keyboard.c
1>SDL_joystick.c
1>SDL_iconv.c
1>SDL_haptic.c
1>SDL_getenv.c
1>SDL_gdirender.c
1>SDL_gamma.c
1>SDL_fillrect.c
1>SDL_fatal.c
1>SDL_events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_error.c
1>SDL_dxjoystick.c
1>SDL_dx5audio.c
1>SDL_dummyaudio.c
1>SDL_drawpoint.c
1>SDL_drawline.c
1>Generating Code…
1>Compiling…
1>SDL_diskaudio.c
1>SDL_dibaudio.c
1>SDL_d3drender.c
1>SDL_cpuinfo.c
1>SDL_compat.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_cdrom.c
1>SDL_bmp.c
1>SDL_blit_slow.c
1>SDL_blit_N.c
1>SDL_blit_copy.c
1>SDL_blit_auto.c
1>SDL_blit_A.c
1>SDL_blit_1.c
1>SDL_blit_0.c
1>SDL_blit.c
1>SDL_blendrect.c
1>SDL_blendpoint.c
1>SDL_blendline.c
1>SDL_audiotypecvt.c
1>SDL_audiodev.c
1>Generating Code…
1>Compiling…
1>SDL_audiocvt.c
1>SDL_audio.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>SDL_alphamult.c
1>SDL.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file
or directory
1>s_sin.c
1>s_scalbn.c
1>s_floor.c
1>s_fabs.c
1>s_cos.c
1>s_copysign.c
1>k_sin.c
1>k_rem_pio2.c
1>k_cos.c
1>e_sqrt.c
1>e_rem_pio2.c
1>e_pow.c
1>e_log.c
1>Generating Code…
1>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDL\Release\BuildLog.htm"
1>SDL - 8 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Maybe someone can commit these files to the SVN.

Christoph Friedrich schrieb:> I had wrote some scripts that generate the SDL_revision.h file. You

can download the files here: http://www.dragons-server.de/SDL.zip
You need to have a programm called svnversion in you PATH Environment
variable so the script could read the current revision number.
The other files are modified Solution and Project files that run the
script automatically to always get the latest revision.

Greets
Christoph

Juhani ?hman schrieb:

I fetched the latest SDL 1.3 source code from svn trunk, but I can’t
get it to compile with VC++ 2008.
Looks like SDL_revision.h is missing. In fact it is missing and I
don’t know why. I got the 1.3.3 version to compile alright, but don’t
know how to get this working.
I put the compile log below

1>------ Rebuild All started: Project: SDL, Configuration: Release
Win32 ------
2>------ Rebuild All started: Project: SDLmain, Configuration:
Release Win32 ------
2>Deleting intermediate and output files for project ‘SDLmain’,
configuration 'Release|Win32’
1>Deleting intermediate and output files for project ‘SDL’,
configuration 'Release|Win32’
2>Compiling…
1>Compiling…
2>SDL_win32_main.c
1>SDL_yuv_sw.c
1>SDL_yuv_mmx.c
1>SDL_windowevents.c
1>SDL_win32window.c
2>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
2>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDLmain\Release\BuildLog.htm"
2>SDLmain - 1 error(s), 0 warning(s)
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_win32video.c
1>SDL_win32opengl.c
1>SDL_win32mouse.c
1>SDL_win32modes.c
1>SDL_win32keyboard.c
1>SDL_win32gamma.c
1>SDL_win32events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_wave.c
1>SDL_video.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_timer.c
1>SDL_thread.c
1>SDL_systimer.c
1>SDL_systhread.c
1>SDL_syssem.c
1>SDL_sysmutex.c
1>SDL_sysloadso.c
1>Generating Code…
1>Compiling…
1>SDL_syshaptic.c
1>SDL_syscdrom.c
1>SDL_surface.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_string.c
1>SDL_stretch.c
1>SDL_stdlib.c
1>SDL_rwops.c
1>SDL_RLEaccel.c
1>SDL_renderer_sw.c
1>SDL_renderer_gl.c
1>SDL_rect.c
1>SDL_quit.c
1>SDL_qsort.c
1>SDL_pixels.c
1>SDL_nullvideo.c
1>SDL_nullrender.c
1>SDL_nullevents.c
1>SDL_mouse.c
1>SDL_mmjoystick.c
1>SDL_mixer_MMX_VC.c
1>Generating Code…
1>Compiling…
1>SDL_mixer_MMX.c
1>SDL_mixer_m68k.c
1>SDL_mixer.c
1>SDL_malloc.c
1>SDL_keyboard.c
1>SDL_joystick.c
1>SDL_iconv.c
1>SDL_haptic.c
1>SDL_getenv.c
1>SDL_gdirender.c
1>SDL_gamma.c
1>SDL_fillrect.c
1>SDL_fatal.c
1>SDL_events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_error.c
1>SDL_dxjoystick.c
1>SDL_dx5audio.c
1>SDL_dummyaudio.c
1>SDL_drawpoint.c
1>SDL_drawline.c
1>Generating Code…
1>Compiling…
1>SDL_diskaudio.c
1>SDL_dibaudio.c
1>SDL_d3drender.c
1>SDL_cpuinfo.c
1>SDL_compat.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_cdrom.c
1>SDL_bmp.c
1>SDL_blit_slow.c
1>SDL_blit_N.c
1>SDL_blit_copy.c
1>SDL_blit_auto.c
1>SDL_blit_A.c
1>SDL_blit_1.c
1>SDL_blit_0.c
1>SDL_blit.c
1>SDL_blendrect.c
1>SDL_blendpoint.c
1>SDL_blendline.c
1>SDL_audiotypecvt.c
1>SDL_audiodev.c
1>Generating Code…
1>Compiling…
1>SDL_audiocvt.c
1>SDL_audio.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>SDL_alphamult.c
1>SDL.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) :
fatal error C1083: Cannot open include file: ‘SDL_revision.h’: No
such file or directory
1>s_sin.c
1>s_scalbn.c
1>s_floor.c
1>s_fabs.c
1>s_cos.c
1>s_copysign.c
1>k_sin.c
1>k_rem_pio2.c
1>k_cos.c
1>e_sqrt.c
1>e_rem_pio2.c
1>e_pow.c
1>e_log.c
1>Generating Code…
1>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDL\Release\BuildLog.htm"
1>SDL - 8 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

2009/3/30 Christoph Friedrich

Maybe someone can commit these files to the SVN.

Christoph Friedrich schrieb:

I had wrote some scripts that generate the SDL_revision.h file. You can
download the files here: http://www.dragons-server.de/SDL.zip
You need to have a programm called svnversion in you PATH Environment
variable so the script could read the current revision number.
The other files are modified Solution and Project files that run the script
automatically to always get the latest revision.

Greets
Christoph

Juhani ?hman schrieb:

I fetched the latest SDL 1.3 source code from svn trunk, but I can’t get it
to compile with VC++ 2008.
Looks like SDL_revision.h is missing. In fact it is missing and I don’t
know why. I got the 1.3.3 version to compile alright, but don’t know how
to get this working.
I put the compile log below

1>------ Rebuild All started: Project: SDL, Configuration: Release Win32

2>------ Rebuild All started: Project: SDLmain, Configuration: Release
Win32 ------
2>Deleting intermediate and output files for project ‘SDLmain’,
configuration 'Release|Win32’
1>Deleting intermediate and output files for project ‘SDL’, configuration
’Release|Win32’
2>Compiling…
1>Compiling…
2>SDL_win32_main.c
1>SDL_yuv_sw.c
1>SDL_yuv_mmx.c
1>SDL_windowevents.c
1>SDL_win32window.c
2>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
2>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDLmain\Release\BuildLog.htm"
2>SDLmain - 1 error(s), 0 warning(s)
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_win32video.c
1>SDL_win32opengl.c
1>SDL_win32mouse.c
1>SDL_win32modes.c
1>SDL_win32keyboard.c
1>SDL_win32gamma.c
1>SDL_win32events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_wave.c
1>SDL_video.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_timer.c
1>SDL_thread.c
1>SDL_systimer.c
1>SDL_systhread.c
1>SDL_syssem.c
1>SDL_sysmutex.c
1>SDL_sysloadso.c
1>Generating Code…
1>Compiling…
1>SDL_syshaptic.c
1>SDL_syscdrom.c
1>SDL_surface.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_string.c
1>SDL_stretch.c
1>SDL_stdlib.c
1>SDL_rwops.c
1>SDL_RLEaccel.c
1>SDL_renderer_sw.c
1>SDL_renderer_gl.c
1>SDL_rect.c
1>SDL_quit.c
1>SDL_qsort.c
1>SDL_pixels.c
1>SDL_nullvideo.c
1>SDL_nullrender.c
1>SDL_nullevents.c
1>SDL_mouse.c
1>SDL_mmjoystick.c
1>SDL_mixer_MMX_VC.c
1>Generating Code…
1>Compiling…
1>SDL_mixer_MMX.c
1>SDL_mixer_m68k.c
1>SDL_mixer.c
1>SDL_malloc.c
1>SDL_keyboard.c
1>SDL_joystick.c
1>SDL_iconv.c
1>SDL_haptic.c
1>SDL_getenv.c
1>SDL_gdirender.c
1>SDL_gamma.c
1>SDL_fillrect.c
1>SDL_fatal.c
1>SDL_events.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_error.c
1>SDL_dxjoystick.c
1>SDL_dx5audio.c
1>SDL_dummyaudio.c
1>SDL_drawpoint.c
1>SDL_drawline.c
1>Generating Code…
1>Compiling…
1>SDL_diskaudio.c
1>SDL_dibaudio.c
1>SDL_d3drender.c
1>SDL_cpuinfo.c
1>SDL_compat.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_cdrom.c
1>SDL_bmp.c
1>SDL_blit_slow.c
1>SDL_blit_N.c
1>SDL_blit_copy.c
1>SDL_blit_auto.c
1>SDL_blit_A.c
1>SDL_blit_1.c
1>SDL_blit_0.c
1>SDL_blit.c
1>SDL_blendrect.c
1>SDL_blendpoint.c
1>SDL_blendline.c
1>SDL_audiotypecvt.c
1>SDL_audiodev.c
1>Generating Code…
1>Compiling…
1>SDL_audiocvt.c
1>SDL_audio.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>SDL_alphamult.c
1>SDL.c
1>c:\users\administrator\desktop\sdl\include\SDL_version.h(33) : fatal
error C1083: Cannot open include file: ‘SDL_revision.h’: No such file or
directory
1>s_sin.c
1>s_scalbn.c
1>s_floor.c
1>s_fabs.c
1>s_cos.c
1>s_copysign.c
1>k_sin.c
1>k_rem_pio2.c
1>k_cos.c
1>e_sqrt.c
1>e_rem_pio2.c
1>e_pow.c
1>e_log.c
1>Generating Code…
1>Build log was saved at
"file://c:\Users\Administrator\Desktop\sdl\VisualC\SDL\Release\BuildLog.htm"
1>SDL - 8 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========



SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL_version is in the include directory yet not in the project solution,
for revision I just created a file and entered a define for the revision
number. Yet building the project using only these changes to trunk results
in a warning and two link errors.
The warning
\src\audio\sdl_audio.c(437) : warning C4700: uninitialized local variable
’istream_len’ used
Which is correct it is not initialised.

and the link errors
SDL_win32opengl.obj : error LNK2019: unresolved external symbol
__imp__wglDeleteContext at 4 referenced in function _WIN_GL_CreateContext
SDL_win32opengl.obj : error LNK2019: unresolved external symbol
__imp__wglGetProcAddress at 4 referenced in function _WIN_GL_CreateContext

Is trunk broken at this moment and can a commit hook not be written to write
the revision header?

Where can you get svnversion for windows?
also, I tried compiling it just by manually setting the version in
SDL_revision.h without your script, but I still get errors.
The trunk is broken?

2>SDLmain - 0 error(s), 0 warning(s)
1>…\src\video\win32\SDL_win32window.c(545) : error C2039: ‘window’ : is
not a member of 'SDL_SysWMinfo’
1> …\include\SDL_syswm.h(201) : see declaration of
’SDL_SysWMinfo’
1>SDL_win32video.c
1>SDL_win32opengl.c
1>SDL_win32mouse.c
1>SDL_win32modes.c
1>SDL_win32keyboard.c
1>SDL_win32gamma.c
1>SDL_win32events.c
1>…\src\video\win32\SDL_win32events.c(110) : error C2039: ‘hwnd’ : is
not a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of 'SDL_SysWMmsg’
1>…\src\video\win32\SDL_win32events.c(111) : error C2039: ‘msg’ : is not
a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of 'SDL_SysWMmsg’
1>…\src\video\win32\SDL_win32events.c(112) : error C2039: ‘wParam’ : is
not a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of 'SDL_SysWMmsg’
1>…\src\video\win32\SDL_win32events.c(113) : error C2039: ‘lParam’ : is
not a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of ‘SDL_SysWMmsg’

2009/3/30 Christoph Friedrich > I had wrote some scripts that generate the SDL_revision.h file. You can

download the files here: http://www.dragons-server.de/SDL.zip
You need to have a programm called svnversion in you PATH Environment
variable so the script could read the current revision number.
The other files are modified Solution and Project files that run the script
automatically to always get the latest revision.

Greets
Christoph

There seem to be some parts broken f?r Win32 Version of SDL Trunk.

svnversion is part of the windows binaries of subversion (not tortoisesvn).

Greets
Christoph

Juhani ?hman schrieb:> Where can you get svnversion for windows?

also, I tried compiling it just by manually setting the version in
SDL_revision.h without your script, but I still get errors.
The trunk is broken?

2>SDLmain - 0 error(s), 0 warning(s)
1>…\src\video\win32\SDL_win32window.c(545) : error C2039: ‘window’
: is not a member of 'SDL_SysWMinfo’
1> …\include\SDL_syswm.h(201) : see declaration of
’SDL_SysWMinfo’
1>SDL_win32video.c
1>SDL_win32opengl.c
1>SDL_win32mouse.c
1>SDL_win32modes.c
1>SDL_win32keyboard.c
1>SDL_win32gamma.c
1>SDL_win32events.c
1>…\src\video\win32\SDL_win32events.c(110) : error C2039: ‘hwnd’ :
is not a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of
’SDL_SysWMmsg’
1>…\src\video\win32\SDL_win32events.c(111) : error C2039: ‘msg’ :
is not a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of
’SDL_SysWMmsg’
1>…\src\video\win32\SDL_win32events.c(112) : error C2039: ‘wParam’
: is not a member of 'SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of
’SDL_SysWMmsg’
1>…\src\video\win32\SDL_win32events.c(113) : error C2039: ‘lParam’
: is not a member of ‘SDL_SysWMmsg’
1> …\include\SDL_syswm.h(194) : see declaration of
’SDL_SysWMmsg’

2009/3/30 Christoph Friedrich <@Christoph_Friedrich
mailto:Christoph_Friedrich>

I had wrote some scripts that generate the SDL_revision.h file.
You can download the files here: http://www.dragons-server.de/SDL.zip
You need to have a programm called svnversion in you PATH
Environment variable so the script could read the current revision
number.
The other files are modified Solution and Project files that run
the script automatically to always get the latest revision.

Greets
Christoph


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org