SDLmain_VS2005.vcpoj

Sam,

There was a bad merge with Changeset 4694 that corrupted
SDLmain_VS2005.vcproj.

If you load it in a text viewer you will see the merge error.

Ken

I’m guessing the linker errors related to Gestures is also caused by my
rollback of the vcproj.

Has anyone successfully built the LATEST SDL 1.3 using Visual Studio 2005?From: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Ken Rogoway
Sent: Saturday, January 08, 2011 9:49 PM
To: 'SDL Development List’
Subject: [SDL] SDLmain_VS2005.vcpoj

Sam,

There was a bad merge with Changeset 4694 that corrupted
SDLmain_VS2005.vcproj.

If you load it in a text viewer you will see the merge error.

Ken

Attaching old thread …

I though this was fixed by Jim, but I never got around to check it on my
old WinXP box.
You can try to revert the SDL_VS2005.vcproj file to revision 4661 again

  • that should fix the issue.
    –Andreas

—old thread—
“hg revert -r [REVISON] SDL_VS2005.vcproj” worked for me. It actually
seemed like it wasn’t reverting for a while, but I think that’s just
because I was reverting to revisions that had the same version of
SDL_VS2005 as I did.
-JimOn Wed, Dec 15, 2010 at 9:47 PM, Andreas Schiffler <@Andreas_Schiffler mailto:Andreas_Schiffler> wrote:
Hi Jim,

thanks - that was fast!

I have a MSDN subscription from work, so I can download and install
VS2005 on my old XP Laptop and try it out. BTW, how did you rollback the
version with Mercurial? I tried to figure it out, but couldn’t find the
correct “hg” commands…

Bye,
Andreas

On 12/15/10 6:32 PM, Jim Grandpre wrote: Okay, it should be fixed now. I
don’t have a copy of VS2005 so I haven’t tested it, but I think i’ve
merged everything correctly.
-Jim

On Wed, Dec 15, 2010 at 8:37 PM, Andreas Schiffler <@Andreas_Schiffler mailto:Andreas_Schiffler> wrote:
The solution was opened in VS2008 and never merged correctly …

$ head SDL_VS2005.vcproj

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType=“Visual C++”
<<<<<<< local
Version=“8.00”

 Version="9.00"

other
Name=“SDL"
ProjectGUID=”{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"

Jim, could you revert these 2 files to an older revision when they were
still working?

$ hg log -r 4662 SDL_VS2005.vcproj
changeset: 4662:3c4e0130c9b1
user: Jim Grandpre <jim.tla at gmail.com> <mailto:jim.tla at gmail.com>
date: Tue Jul 13 18:31:09 2010 -0400
summary: Added alternative finger tracking method. Still prefer
IPHONE_TOUCH_EFFICIENT_DANGEROUS.

$ hg diff -r 4661 SDL_VS2005.vcproj | head
diff -r 03dcb795c583 VisualC/SDL/SDL_VS2005.vcproj
— a/VisualC/SDL/SDL_VS2005.vcproj Mon Jul 12 21:09:23 2010 -0700
+++ b/VisualC/SDL/SDL_VS2005.vcproj Wed Dec 15 17:13:34 2010 -0800
@@ -1,11 +1,18 @@

<?xml version="1.0" encoding="Windows-1252"?>

<VisualStudioProject
ProjectType=“Visual C++”
+<<<<<<< local

  • Version=“8.00”
    +=======

On 12/15/10 9:33 AM, ebyard wrote:

Hello

I just downloaded the latest build of SDL 1.3 (4904) and I get this
when I try to load up the VC2005 project

"The following error has occurred during XML parsing:

File: C:\SDL13\SDL-1.3.0-4904\VisualC\SDL\SDL_VS2005.vcproj
Line: 4
Column: 1
Error Message:
Illegal qualified name character.

The file ‘C:\SDL13\SDL-1.3.0-4904\VisualC\SDL\SDL_VS2005.vcproj’ has
failed to load."

and also…

"The following error has occurred during XML parsing:

File: C:\SDL13\SDL-1.3.0-4904\VisualC\SDLmain\SDLmain_VS2005.vcproj
Line: 4
Column: 1
Error Message:
Illegal qualified name character.

The file
’C:\SDL13\SDL-1.3.0-4904\VisualC\SDLmain\SDLmain_VS2005.vcproj’ has
failed to load."

The last build I had, 4634, worked fine. Did anyone actually test this
prior to release?

Thanks
Ed
—end old thread—

On 1/8/11 8:27 PM, Ken Rogoway wrote:

I’m guessing the linker errors related to Gestures is also caused by
my rollback of the vcproj.

Has anyone successfully built the LATEST SDL 1.3 using Visual Studio 2005?

*From:*sdl-bounces at lists.libsdl.org
[mailto:sdl-bounces at lists.libsdl.org] *On Behalf Of *Ken Rogoway
Sent: Saturday, January 08, 2011 9:49 PM
To: 'SDL Development List’
Subject: [SDL] SDLmain_VS2005.vcpoj

Sam,

There was a bad merge with Changeset 4694 that corrupted
SDLmain_VS2005.vcproj.

If you load it in a text viewer you will see the merge error.

Ken


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

RogueProgrammer wrote:> I?m guessing the linker errors related to Gestures is also caused by my rollback of the vcproj.

Has anyone successfully built the LATEST SDL 1.3 using Visual Studio 2005?

From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On Behalf Of Ken Rogoway
Sent: Saturday, January 08, 2011 9:49 PM
To: 'SDL Development List’
Subject: [SDL] SDLmain_VS2005.vcpoj

Sam,

There was a bad merge with Changeset 4694 that corrupted SDLmain_VS2005.vcproj.

If you load it in a text viewer you will see the merge error.

Ken

I made a patch to bring the VS 2005 in line with the VS 2008 project files, however I still get some unresolved linker symbols.

2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol _IID_ITfUIElementSink
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol _IID_ITfUIElementMgr
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol _IID_ITfCandidateListUIElement
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol _IID_ITfReadingInformationUIElement
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol _IID_ITfInputProcessorProfileActivationSink
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol _IID_ITfThreadMgrEx

Do you want the patch? It includes the fixes, adds the x64 platform to the VS 2005 projects, fixes some problems with x64 in VS 2008, and a few other changes that do not affect the final output. Those changes made it easier for me to update the VS 2005 project files.

I appreciate that, but the point I was making is that the LATEST build
doesn’t work. If I roll it back, then I get some link issues with Gestures.

Since there isn’t a recent “working” release of SDL 1.3 ZIPped up for people
to use, it is important to keep the Mecurial repository in a state that
allows people to update and get work done. If this was a codebase used by
people at a regular company it wouldn’t be long before someone marched into
the office of the person who checked in the bad file and asked them to fix
it.

With Sam on this full time now I thought he might appreciate getting
feedback on what is or isn’t working in the latest snapshot. In fact, he
actually asked everyone for that feedback.

KenFrom: Andreas Schiffler [mailto:aschiffler@ferzkopp.net]
Sent: Saturday, January 08, 2011 11:17 PM
To: SDL Development List
Cc: Ken Rogoway
Subject: Re: [SDL] SDLmain_VS2005.vcpoj

Attaching old thread …

I though this was fixed by Jim, but I never got around to check it on my old
WinXP box.
You can try to revert the SDL_VS2005.vcproj file to revision 4661 again -
that should fix the issue.
–Andreas

—old thread—
“hg revert -r [REVISON] SDL_VS2005.vcproj” worked for me. It actually seemed
like it wasn’t reverting for a while, but I think that’s just because I was
reverting to revisions that had the same version of SDL_VS2005 as I did.
-Jim

On Wed, Dec 15, 2010 at 9:47 PM, Andreas Schiffler wrote:
Hi Jim,

thanks - that was fast!

I have a MSDN subscription from work, so I can download and install VS2005
on my old XP Laptop and try it out. BTW, how did you rollback the version
with Mercurial? I tried to figure it out, but couldn’t find the correct "hg"
commands…

Bye,
Andreas

On 12/15/10 6:32 PM, Jim Grandpre wrote: Okay, it should be fixed now. I
don’t have a copy of VS2005 so I haven’t tested it, but I think i’ve merged
everything correctly.
-Jim

On Wed, Dec 15, 2010 at 8:37 PM, Andreas Schiffler wrote:
The solution was opened in VS2008 and never merged correctly …

$ head SDL_VS2005.vcproj

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType=“Visual C++”
<<<<<<< local
Version=“8.00”

Version="9.00"

other
Name=“SDL"
ProjectGUID=”{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"

Jim, could you revert these 2 files to an older revision when they were
still working?

$ hg log -r 4662 SDL_VS2005.vcproj
changeset: 4662:3c4e0130c9b1
user: Jim Grandpre <mailto:jim.tla at gmail.com> <jim.tla at gmail.com>
date: Tue Jul 13 18:31:09 2010 -0400
summary: Added alternative finger tracking method. Still prefer
IPHONE_TOUCH_EFFICIENT_DANGEROUS.

$ hg diff -r 4661 SDL_VS2005.vcproj | head
diff -r 03dcb795c583 VisualC/SDL/SDL_VS2005.vcproj
— a/VisualC/SDL/SDL_VS2005.vcproj Mon Jul 12 21:09:23 2010 -0700
+++ b/VisualC/SDL/SDL_VS2005.vcproj Wed Dec 15 17:13:34 2010 -0800
@@ -1,11 +1,18 @@

<?xml version="1.0" encoding="Windows-1252"?>

<VisualStudioProject
ProjectType=“Visual C++”
+<<<<<<< local

  • Version=“8.00”
    +=======

On 12/15/10 9:33 AM, ebyard wrote:

Hello

I just downloaded the latest build of SDL 1.3 (4904) and I get this when I
try to load up the VC2005 project

"The following error has occurred during XML parsing:

File: C:\SDL13\SDL-1.3.0-4904\VisualC\SDL\SDL_VS2005.vcproj
Line: 4
Column: 1
Error Message:
Illegal qualified name character.

The file ‘C:\SDL13\SDL-1.3.0-4904\VisualC\SDL\SDL_VS2005.vcproj’ has failed
to load."

and also…

"The following error has occurred during XML parsing:

File: C:\SDL13\SDL-1.3.0-4904\VisualC\SDLmain\SDLmain_VS2005.vcproj
Line: 4
Column: 1
Error Message:
Illegal qualified name character.

The file ‘C:\SDL13\SDL-1.3.0-4904\VisualC\SDLmain\SDLmain_VS2005.vcproj’ has
failed to load."

The last build I had, 4634, worked fine. Did anyone actually test this prior
to release?

Thanks
Ed

—end old thread—

On 1/8/11 8:27 PM, Ken Rogoway wrote:

I’m guessing the linker errors related to Gestures is also caused by my
rollback of the vcproj.

Has anyone successfully built the LATEST SDL 1.3 using Visual Studio 2005?

From: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Ken Rogoway
Sent: Saturday, January 08, 2011 9:49 PM
To: 'SDL Development List’
Subject: [SDL] SDLmain_VS2005.vcpoj

Sam,

There was a bad merge with Changeset 4694 that corrupted
SDLmain_VS2005.vcproj.

If you load it in a text viewer you will see the merge error.

Ken


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

I appreciate the offer, but I’ll wait for the patch to be applied to the
repository. As long as people can’t grab the latest (or at least a known
revision) and make a build, SDL 1.3 is pretty much worthless; at least on
the platforms that it doesn’t build on.

I can easily revert my files and go back to a much earlier build, but since
I was hoping to get the latest fixes, I really wanted the latest revision.

Rather than passing the patch around, let’s see if we can get it into the
repository so everyone that updates to the latest can have it.

KenFrom: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Jcw87
Sent: Saturday, January 08, 2011 11:44 PM
To: sdl at lists.libsdl.org
Subject: Re: [SDL] SDLmain_VS2005.vcpoj

RogueProgrammer wrote:

I’m guessing the linker errors related to Gestures is also caused by my
rollback of the vcproj.

Has anyone successfully built the LATEST SDL 1.3 using Visual Studio 2005?

From: [mailto:] On Behalf Of Ken Rogoway
Sent: Saturday, January 08, 2011 9:49 PM
To: 'SDL Development List’
Subject: [SDL] SDLmain_VS2005.vcpoj

Sam,

There was a bad merge with Changeset 4694 that corrupted
SDLmain_VS2005.vcproj.

If you load it in a text viewer you will see the merge error.

Ken

I made a patch to bring the VS 2005 in line with the VS 2008 project files,
however I still get some unresolved linker symbols.

2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol
_IID_ITfUIElementSink
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol
_IID_ITfUIElementMgr
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol
_IID_ITfCandidateListUIElement
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol
_IID_ITfReadingInformationUIElement
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol
_IID_ITfInputProcessorProfileActivationSink
2>SDL_win32keyboard.obj : error LNK2001: unresolved external symbol
_IID_ITfThreadMgrEx

Do you want the patch? It includes the fixes, adds the x64 platform to the
VS 2005 projects, fixes some problems with x64 in VS 2008, and a few other
changes that do not affect the final output. Those changes made it easier
for me to update the VS 2005 project files.

RogueProgrammer wrote:

I appreciate the offer, but I?ll wait for the patch to be applied to the repository. As long as people can?t grab the latest (or at least a known revision) and make a build, SDL 1.3 is pretty much worthless; at least on the platforms that it doesn?t build on.

I can easily revert my files and go back to a much earlier build, but since I was hoping to get the latest fixes, I really wanted the latest revision.

Rather than passing the patch around, let?s see if we can get it into the repository so everyone that updates to the latest can have it.

Ken

I just sent an e-mail with the patch to Sam, so hopefully it will be resolved soon.

I can build the latest 1.3 source on VS 2005 - my only problem is the atan2 definition in the gesture stuff which can’t be resolved, and no work around I have tried will fix it.
I just commented out the offending function call.

Otherwise, no problems. Make sure you have the MS Windows SDK v7.1 installed.

I managed to figure out my linker issues. Turns out Visual Studio 2005 includes an older version of uuid.lib which is missing some symbols, and even though I was using a newer platform SDK with it, it was searching the Visual Studio folders first.

This means that my patch (which Sam committed 7 hours ago) did fix all the VS 2005 problems, and it will compile now.