|
Confused about unresolved externals (build config problem)
I'm running Visual Studio 10, and I have two projects, each containing a single class (Matrix, Fraction), within the same solution, with Matrix being dependent on the Fraction. When I try to compile the Matrix class, I get a whole bunch of unresolved externals from the Fraction class in the object file of the Matrix class. However, when I move all of the code for Fraction into the Matrix project and run it stand-alone, it compiles just fine. I have checked the "this project is dependent on the other" box, so the build order reflects that... what's stopping the projects from working together and producing these unresolved external errors?
__________________ -Aaron
|