Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Here is the error:----------------------------------------------------------------------------------------------------------------------------
1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling…
1>SDL_fill.c
1>c1 : fatal error C1083: Cannot open source file:
’…\src\video\SDL_fill.c’: No such file or directory
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\BuildLog.htm"
1>SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

What am I doing wrong?

PS - There is a 30+ minute delay in this list? Can someone with
authority fix this?

JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com

Is there? I don’t have that problem. Maybe it’s your email provider. (AOL?)On Sun, Dec 28, 2008 at 10:44 AM, Jesse P. wrote:

PS - There is a 30+ minute delay in this list? Can someone with authority
fix this?


http://codebad.com/

Jesse P. wrote:

Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Here is the error:

1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling…
1>SDL_fill.c
1>c1 : fatal error C1083: Cannot open source file:
’…\src\video\SDL_fill.c’: No such file or directory
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\BuildLog.htm"

1>SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

What am I doing wrong?

You’re not doing anything wrong (unless you have customized your
directory structure).

There’s only one reason I know of for that error message, the file is
not in ‘…\src\video’ where it’s supposed to be.

If you go to the SDL directory and do a search for SDL_fill.c it’s
either there somewhere, or it’s not.

If it’s not there, you need to download the src again (and don’t get
tricky with the paths when unzipping).

If it is there, then it’s probably not located in VisualC\src\video
(This is a path I’ve assumed as being …\src\video relative to
VisualC\SDL\Debug.

I can’t give you explicit paths without having your machine and build
files here to mess with, but your problem is described above … the
file is missing, or it’s not where the path expects it to be.

If you can find it and put it where it belongs your problem will be
replaced with the next problem you’re going to encounter …

Good Luck.

CWC

I’ve downloaded SDL_1.3.zip a few times already with same results…

The file is just not there…

Uggg…

JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com

CWC wrote:> Jesse P. wrote:

Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Here is the error:

1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling…
1>SDL_fill.c
1>c1 : fatal error C1083: Cannot open source file:
’…\src\video\SDL_fill.c’: No such file or directory
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\BuildLog.htm"

1>SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped


What am I doing wrong?

You’re not doing anything wrong (unless you have customized your
directory structure).

There’s only one reason I know of for that error message, the file is
not in ‘…\src\video’ where it’s supposed to be.

If you go to the SDL directory and do a search for SDL_fill.c it’s
either there somewhere, or it’s not.

If it’s not there, you need to download the src again (and don’t get
tricky with the paths when unzipping).

If it is there, then it’s probably not located in VisualC\src\video
(This is a path I’ve assumed as being …\src\video relative to
VisualC\SDL\Debug.

I can’t give you explicit paths without having your machine and build
files here to mess with, but your problem is described above … the
file is missing, or it’s not where the path expects it to be.

If you can find it and put it where it belongs your problem will be
replaced with the next problem you’re going to encounter …

Good Luck.

CWC


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

Jesse P. wrote:

I’ve downloaded SDL_1.3.zip a few times already with same results…

The file is just not there…

If the file does not exist, then the problem is in either the zip (got
left out) or the build files (shouldn’t be there in the first place).

Until someone who KNOWS comes along, try grepping for mentions of this
file in your build scripts (make files … whatever Vis… uses) and
comment it out. if the problem resurfaces as linker errors, then you’ll
just have to get a copy of that file to move on.> Uggg…

JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com

CWC wrote:

Jesse P. wrote:

Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Here is the error:

1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling…
1>SDL_fill.c
1>c1 : fatal error C1083: Cannot open source file:
’…\src\video\SDL_fill.c’: No such file or directory
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\BuildLog.htm"

1>SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped


What am I doing wrong?

You’re not doing anything wrong (unless you have customized your
directory structure).

There’s only one reason I know of for that error message, the file is
not in ‘…\src\video’ where it’s supposed to be.

If you go to the SDL directory and do a search for SDL_fill.c it’s
either there somewhere, or it’s not.

If it’s not there, you need to download the src again (and don’t get
tricky with the paths when unzipping).

If it is there, then it’s probably not located in VisualC\src\video
(This is a path I’ve assumed as being …\src\video relative to
VisualC\SDL\Debug.

I can’t give you explicit paths without having your machine and build
files here to mess with, but your problem is described above … the
file is missing, or it’s not where the path expects it to be.

If you can find it and put it where it belongs your problem will be
replaced with the next problem you’re going to encounter …

Good Luck.

CWC


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

Hi,

reading this
(http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/src/video/?view=query&dir=&file=SDL_fill.c&file_match=exact&who=&who_match=exact&querysort=date&hours=2&date=month&mindate=&maxdate=&limit_changes=100)
it seems that the file was removed on revision 4242, but not from the VS
project. If you do what Charles said, removing that non-existant file from the
project, it should compile (I have only tested SVN on Linux)

El Domingo 28 Diciembre 2008ES 22:59:04 CWC escribi?:> Jesse P. wrote:

I’ve downloaded SDL_1.3.zip a few times already with same results…

The file is just not there…

If the file does not exist, then the problem is in either the zip (got
left out) or the build files (shouldn’t be there in the first place).

Until someone who KNOWS comes along, try grepping for mentions of this
file in your build scripts (make files … whatever Vis… uses) and
comment it out. if the problem resurfaces as linker errors, then you’ll
just have to get a copy of that file to move on.

Uggg…

JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com

CWC wrote:

Jesse P. wrote:

Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Here is the error:


1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling…
1>SDL_fill.c
1>c1 : fatal error C1083: Cannot open source file:
’…\src\video\SDL_fill.c’: No such file or directory
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\Bu
ildLog.htm"

1>SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped



What am I doing wrong?

You’re not doing anything wrong (unless you have customized your
directory structure).

There’s only one reason I know of for that error message, the file is
not in ‘…\src\video’ where it’s supposed to be.

If you go to the SDL directory and do a search for SDL_fill.c it’s
either there somewhere, or it’s not.

If it’s not there, you need to download the src again (and don’t get
tricky with the paths when unzipping).

If it is there, then it’s probably not located in VisualC\src\video
(This is a path I’ve assumed as being …\src\video relative to
VisualC\SDL\Debug.

I can’t give you explicit paths without having your machine and build
files here to mess with, but your problem is described above … the
file is missing, or it’s not where the path expects it to be.

If you can find it and put it where it belongs your problem will be
replaced with the next problem you’re going to encounter …

Good Luck.

CWC

Hi,

When I remove SDL_fill.c from project
I get 18 more errors:----------------------------------------------------------------------------------------------------------
1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling manifest to resources…
1>Microsoft ® Windows ® Resource Compiler Version 6.1.6723.1
1>Copyright © Microsoft Corporation. All rights reserved.
1>Linking…
1> Creating library .\Debug/SDL.lib and object .\Debug/SDL.exp
1>SDL_compat.obj : error LNK2019: unresolved external symbol
_SDL_FillRect referenced in function _ClearVideoSurface
1>SDL_nullrender.obj : error LNK2001: unresolved external symbol
_SDL_FillRect
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol
_SDL_FillRect
1>SDL_RLEaccel.obj : error LNK2001: unresolved external symbol _SDL_FillRect
1>SDL_nullrender.obj : error LNK2019: unresolved external symbol
_SDL_BlendPoint referenced in function _SDL_DUMMY_RenderPoint
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol
_SDL_BlendPoint
1>SDL_nullrender.obj : error LNK2019: unresolved external symbol
_SDL_DrawPoint referenced in function _SDL_DUMMY_RenderPoint
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol
_SDL_DrawPoint
1>SDL_nullrender.obj : error LNK2019: unresolved external symbol
_SDL_BlendLine referenced in function _SDL_DUMMY_RenderLine
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol
_SDL_BlendLine
1>SDL_nullrender.obj : error LNK2019: unresolved external symbol
_SDL_DrawLine referenced in function _SDL_DUMMY_RenderLine
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol
_SDL_DrawLine
1>SDL_nullrender.obj : error LNK2019: unresolved external symbol
_SDL_BlendRect referenced in function _SDL_DUMMY_RenderFill
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol
_SDL_BlendRect
1>SDL_renderer_gl.obj : error LNK2019: unresolved external symbol
__imp__memmove referenced in function _compile_shader
1>SDL_renderer_gl.obj : error LNK2019: unresolved external symbol
_memcpy referenced in function _compile_shader
1>SDL_renderer_gl.obj : error LNK2019: unresolved external symbol
_strlen referenced in function _compile_shader
1>.\Debug/SDL.dll : fatal error LNK1120: 9 unresolved externals
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\BuildLog.htm"
1>SDL - 18 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Anyone out there successfully build SDL 1.3 on Windows lately?

JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions ®
Video Game Design Studio
www.SilentHeroProductions.com

Alberto Luaces wrote:

Hi,

reading this
(http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/src/video/?view=query&dir=&file=SDL_fill.c&file_match=exact&who=&who_match=exact&querysort=date&hours=2&date=month&mindate=&maxdate=&limit_changes=100)
it seems that the file was removed on revision 4242, but not from the VS
project. If you do what Charles said, removing that non-existant file from the
project, it should compile (I have only tested SVN on Linux)

El Domingo 28 Diciembre 2008ES 22:59:04 CWC escribi?:

Jesse P. wrote:

I’ve downloaded SDL_1.3.zip a few times already with same results…

The file is just not there…

If the file does not exist, then the problem is in either the zip (got
left out) or the build files (shouldn’t be there in the first place).

Until someone who KNOWS comes along, try grepping for mentions of this
file in your build scripts (make files … whatever Vis… uses) and
comment it out. if the problem resurfaces as linker errors, then you’ll
just have to get a copy of that file to move on.

Uggg…

JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com

CWC wrote:

Jesse P. wrote:

Have ONE error building SDL 1.3 (Win32-MS Visual C++ 2008 EE)

Here is the error:


1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>Compiling…
1>SDL_fill.c
1>c1 : fatal error C1083: Cannot open source file:
’…\src\video\SDL_fill.c’: No such file or directory
1>Build log was saved at
"file://c:\Users\JeZ-l-Lee\Desktop\SDL-1.3\SDL-1.3\VisualC\SDL\Debug\Bu
ildLog.htm"

1>SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped



What am I doing wrong?

You’re not doing anything wrong (unless you have customized your
directory structure).

There’s only one reason I know of for that error message, the file is
not in ‘…\src\video’ where it’s supposed to be.

If you go to the SDL directory and do a search for SDL_fill.c it’s
either there somewhere, or it’s not.

If it’s not there, you need to download the src again (and don’t get
tricky with the paths when unzipping).

If it is there, then it’s probably not located in VisualC\src\video
(This is a path I’ve assumed as being …\src\video relative to
VisualC\SDL\Debug.

I can’t give you explicit paths without having your machine and build
files here to mess with, but your problem is described above … the
file is missing, or it’s not where the path expects it to be.

If you can find it and put it where it belongs your problem will be
replaced with the next problem you’re going to encounter …

Good Luck.

CWC


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

Hi again Jesse,

Did you download an archive (tarball or zip probably) of SDL from
revision control? You should probably check out a “live” copy so that
you have an easier time applying patches as they come in. You’re
building from cutting-edge source code, and I suspect there are not a
lot of Visual Studio users out there doing the same as you. As such,
however, we do appreciate your effort, as it benefits us all to have
someone using it and telling us what works and what doesn’t, but what
you should know about your quest is this:

You should be able to troubleshoot basic compiler problems and follow
updates to revision control yourself. Anyone who is helping you
without the benefit of access to the exact revision(s) of SDL and the
version+variant of MSVS you’re working with is mostly taking shots in
the dark which would be better handled by you since you actually have
access to these things.

I hope this isn’t very discouraging to you! But you can’t just remove
a source file from a particular revision which it was clearly included
in and necessarily expect it to start working.

Download a Subversion client for Windows and learn a little bit about it:

http://tortoisesvn.tigris.org/

Check out a revision controlled copy of SDL:

http://svn.libsdl.org/trunk/SDL/

Try to keep in-the-know with the changes that are being made to the
SVN repository. Your subversion client will make it relatively easy
for you to adjust your local copy of SDL to match any numbered
revision in the repository (if you thought you had to remove a file
because it had be been removed in a more recent revision, for
instance, it is easy to update to a specific revision, or just the
most recent revision.) It can also inspect the changes that have been
made to a file over time, and with those changes, the messages left by
the authors of the changes. Also feel free to play around with SDL’s
ViewVC interface:

http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/

All these things should help you get a better grasp on how to
troubleshoot the problems you’re experiencing (although it’s not
entirely unlikely that the latest SVN revision will just work if
someone has gotten around to it.)

More to follow…On Tue, Dec 30, 2008 at 8:10 AM, Jesse P. wrote:

When I remove SDL_fill.c from project
I get 18 more errors:
[snip]
1>SDL_compat.obj : error LNK2019: unresolved external symbol …
1>SDL_nullrender.obj : error LNK2001: unresolved external symbol …
1>SDL_renderer_sw.obj : error LNK2001: unresolved external symbol …
[snip]

It looks like you’ve removed the file that – in your copy of SDL –
implements those functions. So now when it comes to time to link your
project, those functions are missing. Removing the file was not
precisely the right thing to do.

According to the revision log (URL below) Sam updated the MSVS project
file on Christmas (what a trooper!) with a very positive log message:
“Updated to build on Windows.”

http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/VisualC/SDL/SDL.vcproj?r1=4095&r2=4272

Now it looks like maybe you’ve downloaded an archive of the repository
since he made that change, but according to this diff from revision
control, you haven’t been building with that SDL/VisualC/SDL.vcproj
file!

  •   	RelativePath="..\..\src\video\SDL_fill.c"
    
  •   	RelativePath="..\..\src\video\SDL_fillrect.c"
    

[from]
http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/VisualC/SDL/SDL.vcproj?r1=4095&r2=4272

Ok I hope I’ve shown you a good direction to go in the future. Good luck!


http://codebad.com/

More to follow…

There’s an updated snapshot of SDL 1.3 with working Visual Studio project
files. D3D line and point drawing isn’t implemented yet, but otherwise it
should work fine.

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment