The Joy of Linking
Friday, September 21st, 2007Wouldn’t you know it - in my various console stress test apps that I wrote I had no issues compiling and linking. Now that it’s time to integrate with my existing app that uses the Oracle libs - now I’m having linker errors everywhere.
It looks to be a conflict between memory managers … oh… joy.
They say understanding and fixing linker errors is the sign of an experienced programmer. I just think of it as annoyingly time consuming.
- definition for item A couldn’t be found
- track down item A
- Oh look - there are several of them - which one should I use?
- Are there any defines that need to be set?
- Are there project dependencies that I skipped?
- Are the two projects using the same C Runtime? Static/Dynamic and SingleThread/MultiThread?
- summon archaine knowlege about one of the projects your linking to - you seem to remember some mentioning how it wasn’t compatable with something & it’s not documented in the headers
- re-compile
- Lather, Rinse, Repeat