Error compiling in windows

Hi,

I’m porting a SDL application i built in OSX to windows----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Hi,

I’m porting a SDL application i built for OSX to windows but i’m
having a not expected compiling error:

Error 1 fatal error C1083: Cannot open include file: ‘strings.h’: No
such file or directory c:\sdl-1.2.11\include\sdl_stdinc.h 61

Can anyone give me a tip of what is going on?

This is one of the most basic includes, no?

I followed all the steps in the SDL VC win32 SDK tutorial.

Thx,

Nuno----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Is everything configured properly?

I don’t remember any standard header named strings.h,
only string.h.

Cheers,
Paulo

Quoting Nuno Santos :> Hi,

I’m porting a SDL application i built for OSX to windows but i’m
having a not expected compiling error:

Error 1 fatal error C1083: Cannot open include file: ‘strings.h’: No
such file or directory c:\sdl-1.2.11\include\sdl_stdinc.h 61

Can anyone give me a tip of what is going on?

This is one of the most basic includes, no?

I followed all the steps in the SDL VC win32 SDK tutorial.

Thx,

Nuno


This message was sent using IMP, the Internet Messaging Program.


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


This message was sent using IMP, the Internet Messaging Program.

Ol? Paulo,

Yes, i assume it is!

This is strange!

:frowning:

Nuno

Quoting Paulo Pinto :> Is everything configured properly?

I don’t remember any standard header named strings.h,
only string.h.

Cheers,
Paulo

Quoting Nuno Santos <@Nuno_Santos>:

Hi,

I’m porting a SDL application i built for OSX to windows but i’m
having a not expected compiling error:

Error 1 fatal error C1083: Cannot open include file: ‘strings.h’: No
such file or directory c:sdl-1.2.11includesdl_stdinc.h 61

Can anyone give me a tip of what is going on?

This is one of the most basic includes, no?

I followed all the steps in the SDL VC win32 SDK tutorial.

Thx,

Nuno


This message was sent using IMP, the Internet Messaging Program.


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


This message was sent using IMP, the Internet Messaging Program.


This message was sent using IMP, the Internet Messaging Program.

I take it you can manually locate “strings.h” on your hard drive? It
is in the right directory, yes?On 4/3/07, Nuno Santos wrote:

Ol? Paulo,

Yes, i assume it is!

This is strange!

:frowning:

Nuno

Quoting Paulo Pinto :


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

i,

That’s kind tha strange, you know?

I can’t locate any strings.h file in my hard drive except in the
/usr/include directory of Cygwin.

I’m supposed to work with this without Cygwin.

I have also tried to include the Cygwin include directoy in the Visual
studio but that gives me even more errors.

Nuno

Quoting Brian <brian.ripoff at gmail.com>:> I take it you can manually locate “strings.h” on your hard drive? It

is in the right directory, yes?

On 4/3/07, Nuno Santos <@Nuno_Santos> wrote:

Ol? Paulo,

Yes, i assume it is!

This is strange!

:frowning:

Nuno

Quoting Paulo Pinto :


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


This message was sent using IMP, the Internet Messaging Program.

Hi people,

I spent a good time trying to put this running and i made it.

I still don’t know what was causing that…

Thx anyway!

Nuno----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

the actual name of the file may be string.h,not having an ‘s’.And it may be
in some directory named c++(you must check for it) and try to use include
"…"

2007/4/3, Nuno Santos :>

Hi people,

I spent a good time trying to put this running and i made it.

I still don’t know what was causing that…

Thx anyway!

Nuno


This message was sent using IMP, the Internet Messaging Program.


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


Just say the words , your wish is my command…

I’m trying to use sdl in a windows vista program and get this error:

c:\msys\1.0\local\include\sdl\sdl_stdinc.h(61) : fatal error C1083: Cannot open include file: ‘strings.h’: No such file or directory

How can I get rid of the error?

thanks,
Bob

El Mi?rcoles 11 Julio 2007, Bob Self escribi?:

I’m trying to use sdl in a windows vista program and get this error:

c:\msys\1.0\local\include\sdl\sdl_stdinc.h(61) : fatal error C1083: Cannot
open include file: ‘strings.h’: No such file or directory

How can I get rid of the error?

thanks,
Bob

Hi,

strings.h is a non-standard header, that is why it doesn’t exist in Mingw. You
will have to replace calls to bcopy(), bzero(), bcmp(), … to equivalent
code. It is almost trivial.

But it used to work on a previous version of SDL. Isn’t there a standard way to
make it compile in windows? What about getting HAVE_STRINGS_H to not be defined?

thanks,
BobOn Wed, Jul 11, 2007 at 03:34:28PM +0200, Alberto Luaces wrote:

El Mi?rcoles 11 Julio 2007, Bob Self escribi?:

I’m trying to use sdl in a windows vista program and get this error:

c:\msys\1.0\local\include\sdl\sdl_stdinc.h(61) : fatal error C1083: Cannot
open include file: ‘strings.h’: No such file or directory

How can I get rid of the error?

thanks,
Bob

Hi,

strings.h is a non-standard header, that is why it doesn’t exist in Mingw. You
will have to replace calls to bcopy(), bzero(), bcmp(), … to equivalent
code. It is almost trivial.


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

I found it. I had not copied
…\msys\1.0\local\include\SDL\sdl_config_win32.h
to
…\msys\1.0\local\include\SDL\sdl_config.h

BobOn Wed, Jul 11, 2007 at 07:51:24AM -0400, Bob Self wrote:

I’m trying to use sdl in a windows vista program and get this error:

c:\msys\1.0\local\include\sdl\sdl_stdinc.h(61) : fatal error C1083: Cannot open include file: ‘strings.h’: No such file or directory

How can I get rid of the error?

thanks,
Bob


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

Hello !

…\msys\1.0\local\include\SDL\sdl_config_win32.h
to
…\msys\1.0\local\include\SDL\sdl_config.h

When you are using MinGW + MSys
it is the easiest to use the autogen.sh and
configure script. They should do everything
magically for you.

CU