Newbie, trying to run SDL on win XP with cygwin

I have installed cygwin on my win xp pc. I tried setting up the SDL with the
instructions in the faq on the libsdl.org site. I downloaded the source code
and in cygwin typed ./configure to set up sdl. But the full command i was
supposed to type was ./configure && make && make install, and cygwin said make
was not a command. I tried compiling my c++ code, using -I./include to
include the SDL header files, but still get errors saying: SDL_Init undeclared
reference.

can anyone help me
Thanks

I have installed cygwin on my win xp pc. I tried setting up the SDL with
the
instructions in the faq on the libsdl.org site. I downloaded the source
code
and in cygwin typed ./configure to set up sdl. But the full command i was
supposed to type was ./configure && make && make install, and cygwin said
make
was not a command.

I never use before cygwin, so my information maybe bullshit :wink:
try:
/configure
make
make install
make is part of cygwin. if it not in the %path%, type it with path.

I tried compiling my c++ code, using -I./include to
include the SDL header files, but still get errors saying: SDL_Init
undeclared
reference.

You must include sdl libraries to linker. (or include whole SDL project into
your project - keep away) If you dont run make install no libraries will be
created. If you dont know how, download SDL windows binary…

Dan wrote:

I have installed cygwin on my win xp pc. I tried setting up the SDL with the
instructions in the faq on the libsdl.org site. I downloaded the source code
and in cygwin typed ./configure to set up sdl. But the full command i was
supposed to type was ./configure && make && make install, and cygwin said make
was not a command.

Perhaps you haven’t installed make. Run the cygwin setup and install it.

I tried compiling my c++ code, using -I./include to
include the SDL header files, but still get errors saying: SDL_Init undeclared
reference.

-I is only the path for include files. This look like you aren’t linking
with the SDL library. How does exactly your command-line look like?–
Milan Babuskov
http://njam.sourceforge.net