How do I build the Boost libraries for Win32 C++ in release (with debugging symbols) mode?

Hi:

I'm building a win32 C++ unmanaged app that using the Boost libraries.
I've encountered a crash in my application in release mode.

In order to track this down, I'm trying to build my application in "RelWithDebug" (Release with debug symbols).
I'm running into some weird behavior with the underlying boost libraries. I would like to build a release version
of this libraries that contains debug symbols.

So far I've really only seen the release & debug version of the boost libraries.

Can someone get me pointed in the right direction?

Thanks,
JohnB
LVL 1
jxbmaSoftware ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sarabandeCommented:
I'm running into some weird behavior with the underlying boost libraries.
can you give some more information?

note, boost libraries for c++ mostly are template source code libraries. source code can be used for both release and debug and you would include it in your source code. such templates are instantiated in your program by the compiler when you use the template with a concrete type. the result of the instantiation normally doesn't contain symbols the debugger would find in an object code library (*.lib) that came with boost but is entirely embedded in your code. exceptions from this is non-template code which either came with boost setup as  *.lib or *.dll files or with both. in the latter case the lib contains wrapper functions to call into the dll.  .lib files that came with boost are either debug or release libraries and never release libraries with debug symbols (at least I never have seen such libraries from third-party). you would need to link against the (normal) release libraries and it is unlikely that the missing debug information of those libraries is relevant for your purposes.

Sara
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.