Post date: Jan 01, 2009 9:12:27 PM
In all of my foolishness, I was trying trying to create multiple .cpp files of the same name in the same project (my utility library), which seemed fine to me because they were both in different sub-directories on the system, and different filters in Visual Studio. But, this caused problems as Visual Studio, by default, create all the objects files in the same directory, which naturally causes a conflict, as it attempts to create two objects files with the same name.
So, I googled for a solution, and found that some other people had experienced this problem, and further that it is only a problem in more recent versions of Visual Studio (in previous versions is simply appended a number at the end of repeated object files). Even more inexplicable, apparently this was by design by Microsoft, (if I find the webpage again, I will link it). Anyway, this all seemed really stupid, as all that is needed is for the object files to be created in a directory structure mirroring the directories the actual implementation files are in, which as it turns out is entirely possible to set up.