hello, it’s my first time to use SDL to display YUV file.
I follow the description in “VisualC”, adding two lib(“SDL.lib” and “SDLmain.lib” ) into the project, and setting the project “Multi-threaded DLL” and so on, but when I build the project, the Linker cannot open the lib “SDLmain.lib”:------------------------------------------------------------------------
--------------------Configuration: ldecod - Win32 Debug--------------------
Compiling…
output.c
F:\gao\H.264\jm76\JM\ldecod\src\output.c(326) : warning C4013: ‘SDL_LockOverlay’ undefined; assuming extern returning int
F:\gao\H.264\jm76\JM\ldecod\src\output.c(335) : warning C4013: ‘SDL_UnlockOverlay’ undefined; assuming extern returning int
F:\gao\H.264\jm76\JM\ldecod\src\output.c(336) : warning C4098: ‘sdl_display_yuv’ : ‘void’ function returning a value
Linking…
LINK : fatal error LNK1181: cannot open input file "SDLmain.lib"
Error executing link.exe.
ldecod.exe - 1 error(s), 3 warning(s)
May someone tell me what’s the matter? and how can I fix it?
I’ll appreciate your help
I’m new to sdl and would like to know how I can handle key events when in
waiting mode instead of polling mode. Right now I only get it to work with
polling mode…
hello, it’s my first time to use SDL to display YUV file.
I follow the description in “VisualC”, adding two
lib(“SDL.lib” and “SDLmain.lib” ) into the project, and
setting the project “Multi-threaded DLL” and so on, but when
I build the project, the Linker cannot open the lib “SDLmain.lib”:
--------------------Configuration: ldecod - Win32
Debug--------------------
Compiling…
output.c
F:\gao\H.264\jm76\JM\ldecod\src\output.c(326) : warning
C4013: ‘SDL_LockOverlay’ undefined; assuming extern returning int
F:\gao\H.264\jm76\JM\ldecod\src\output.c(335) : warning
C4013: ‘SDL_UnlockOverlay’ undefined; assuming extern returning int
F:\gao\H.264\jm76\JM\ldecod\src\output.c(336) : warning
C4098: ‘sdl_display_yuv’ : ‘void’ function returning a value
Linking…
LINK : fatal error LNK1181: cannot open input file "SDLmain.lib"
Error executing link.exe.
ldecod.exe - 1 error(s), 3 warning(s)
May someone tell me what’s the matter? and how can I fix it?
I’ll appreciate your help
— “Till G. Bay” <till.bay at inf.ethz.ch> wrote:> Hey all -
I’m new to sdl and would like to know how I can handle key
events when in
waiting mode instead of polling mode. Right now I only get it
to work with
polling mode…
hello, it’s my first time to use SDL to display YUV file.
I follow the description in “VisualC”, adding two
lib(“SDL.lib” and “SDLmain.lib” ) into the project, and
setting the project “Multi-threaded DLL” and so on, but when
I build the project, the Linker cannot open the lib
"SDLmain.lib":
--------------------Configuration: ldecod - Win32
Debug--------------------
Compiling…
output.c
F:\gao\H.264\jm76\JM\ldecod\src\output.c(326) : warning
C4013: ‘SDL_LockOverlay’ undefined; assuming extern
returning int
F:\gao\H.264\jm76\JM\ldecod\src\output.c(335) : warning
C4013: ‘SDL_UnlockOverlay’ undefined; assuming extern
returning int
F:\gao\H.264\jm76\JM\ldecod\src\output.c(336) : warning
C4098: ‘sdl_display_yuv’ : ‘void’ function returning a value
Linking…
LINK : fatal error LNK1181: cannot open input file
"SDLmain.lib"
Error executing link.exe.
ldecod.exe - 1 error(s), 3 warning(s)
May someone tell me what’s the matter? and how can I fix it?
I’ll appreciate your help