Error building sdl 1.3 in vs 2010

"Error 3 error MSB3073: The command “copy C:\Users\acer 5738g win
7\Documents\Downloads\Compressed\SDL-1.3\SDL-1.3.0-5455\VisualC\SDL\Debug\SDL.dll
C:\Users\acer 5738g win
7\Documents\Downloads\Compressed\SDL-1.3\SDL-1.3.0-5455\VisualC\tests\testdraw2\Debug\SDL.dll
:VCEnd” exited with code 1. C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113 6 testdraw2"
does anyone know what this error means? and how to get rid of it?

Looks like your problem may be due to your user name, and thus the
path to that file, having spaces in it. The copy command there doesn’t
appear to have quotes around the file name/path.On Sun, Mar 13, 2011 at 2:27 PM, Abhay Gupta wrote:

"Error ?3 ? ? ? error MSB3073: The command “copy C:\Users\acer 5738g win
7\Documents\Downloads\Compressed\SDL-1.3\SDL-1.3.0-5455\VisualC\SDL\Debug\SDL.dll
C:\Users\acer 5738g win
7\Documents\Downloads\Compressed\SDL-1.3\SDL-1.3.0-5455\VisualC\tests\testdraw2\Debug\SDL.dll
:VCEnd” exited with code 1. ? ? C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets ? ?113 ? ? 6 ? ? ? testdraw2"
does anyone know what this error means? and how to get rid of it?


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

Thanks, i changed the folder location(to one whose path had no spaces)
and those errors were gone but now there are other errors
"Error 5 error C1083: Cannot open source file:
’…\test\testgamma.c’: No such file or
directory C:\abhay\SDL-1.3\SDL-1.3.0-5455\VisualC\tests\testgamma\c1 testgamma"
and
"Error 1 error LNK1104: cannot open file
’…\Sdl\Debug\SDL.lib’ C:\abhay\SDL-1.3\SDL-1.3.0-5455\VisualC\tests\testcursor\LINK testcursor"
i checked the “test” folder there was no “testgamma.c” there, however
there was “SDL.lib” file in the “Debug” folder, i dont know why vs is
not able to open it. Please help me out. I m trying to build
SDL-1.3.0-5455 version.

Regarding the post-built-step error, as mentioned, the path isn’t enclosed in quotes, which causes the operation to fail if your path has spaces in it. (I ran into this problem too.) You don’t have to move your project though; you can just add quotes around the path instead.

Not sure about the missing file (I don’t see it in the copy of SDL I’m working with either). Are you working with an up-to-date version of the code?

i downloaded this version a few days ago and since then i have been
trying to get it to work, can u give me the link to the latest
version?

Abhay Gupta wrote:

can u give me the link to the latest
version?

I think the latest version will either be the latest snapshot as available from the SDL website, or the very latest source as checked out via Mercurial. (Of these, the snapshot is probably the easier to get and should be fairly up to date.)

I don’t know that this will necessarily solve the problem you’re having though. Do you need to build the ‘gamma test’ project in particular? If not, you could probably just skip it.

These errors should be fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!On Mon, Mar 14, 2011 at 11:14 AM, Abhay Gupta wrote:

Thanks, i changed the folder location(to one whose path had no spaces)
and those errors were gone but now there are other errors
"Error 5 error C1083: Cannot open source file:
’…\test\testgamma.c’: No such file or
directory C:\abhay\SDL-1.3\SDL-1.3.0-5455\VisualC\tests\testgamma\c1
testgamma"
and
"Error 1 error LNK1104: cannot open file
’…\Sdl\Debug\SDL.lib’
C:\abhay\SDL-1.3\SDL-1.3.0-5455\VisualC\tests\testcursor\LINK testcursor"
i checked the “test” folder there was no “testgamma.c” there, however
there was “SDL.lib” file in the “Debug” folder, i dont know why vs is
not able to open it. Please help me out. I m trying to build
SDL-1.3.0-5455 version.


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


-Sam Lantinga, Founder and CEO, Galaxy Gameworks

thanks this version worked perfectly, without any errors.
-Abhay Gupta
2nd yr Electrical IDD,
Indian Institute of Technology Roorkee.

Glad to hear it! Thanks for the feedback. :)On Wed, Mar 16, 2011 at 10:14 AM, Abhay Gupta wrote:

thanks this version worked perfectly, without any errors.
-Abhay Gupta
2nd yr Electrical IDD,
Indian Institute of Technology Roorkee.


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


-Sam Lantinga, Founder and CEO, Galaxy Gameworks