title: Unresolved external symbol from a static library in one project, not the other. (C++)
body: <p>I have a static library that compiles fine (lets call it A), and it is reliant on another static library (lets call it B).</p>
  
  <p>I also have project X, which uses library A. So in X I include B and then, below it, include A, both in stdafx.h. I do this using #pragma comments. Project X compiles fine.</p>
  
  <p>However, I then have project Y which also uses library A. But, even though project Y's stdafx.h is IDENTICAL to X's, Y does not compile, giving "unresolved external symbol" errors. What is even stranger is that the errors refer to a function in library B from a function referenced in library A.</p>
  
  <p>Does anyone know why this would be happening? Sorry if I wasn't clear; there's so much code I wouldn't know where to start including it here. Thanks!</p>