Reputation: 632
I've a visual studio solution structured like this:
*Project A (static Library)
*Project B (static Library)
*Testing project (exe)
Project B references project A regularly, and the testing project uses both. Recently, I've added some new functions to project A, but trying to use the new functions in project B causes an unresolved external when building the testing project. I've checked and it only happens in one class (Model.cpp), I can successfully use new functions from other classes in project B. What could be causing project b to trip up on one class from A, but not any others? I've done multiple rebuilds, cleans etc on all projects Thanks
Upvotes: 1
Views: 89
Reputation: 632
Solved. The methods in question all used classes/structures from the glm maths library. In some files I was defining some stuff for the library, but in the Model.h I wasn't. I'm going to make a common import for glm to make sure every file that uses it has the correct definitions.
Upvotes: 1