Ogre 1.0 RC1 project guid conflict in vs.net 2003

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 538

Ogre 1.0 RC1 project guid conflict in vs.net 2003

Post by Kojack »

The dynamic texture and volumetric texture projects both have identical guids. Normally people probably won't notice (since the solution references projects by both name and guid), but tools like Incredibuild fail because they see several projects with the same guid. Project dependencies use the guid too, but luckily the 2 projects in question aren't the dependency of anything else (of course).

When vs.net projects are copied/pasted and renamed to make a new project rather than using the application wizard, you must edit the guid in the .vcproj file to be unique (I just change a random digit) before adding to the solution.

Well, you can edit the solution after adding the project, but it's more work that way (changing 6 guids instead of 1). :)
genva
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 1603
Joined: Wed Oct 20, 2004 7:54 am
Location: Beijing, China
x 1

Post by genva »

you must edit the guid in the .vcproj file to be unique
An alternative method is remove the ProjectGUID option from .vcproj file, VS will auto generate new one for you, guarantee unique.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

Damn, I normally generate a new GUID but must have forgotten in that case. I'll fix it.
Post Reply