
I've noticed my boost libs are slowing my game down incredibly in my debug builds. I'd like to link to release boost libs even in Debug, is that possible and will it cause any problems?
Yes, as you've discovered the release and debug builds use different runtime libraries, and in short "you can't do that". What you could do is either: 1) Use a custom debug build of the Boost libraries (i.e. which link to the debug RTL) which has optimizations turned on. Or, 2) Switch to release build in your project, but then turn debug info on and optimizations off for your code, and let auto-linking pick the Boost lib for you. Please note that neither of the above will solve the problem if it's Boost template code instantiated in your object files that are the issue. HTH, John.