Boost link error compiling Test

Looking to use the performance tuning tools for the first time using https://www.unrealengine.com/en-US/b...pu-performance.

Picked “Test” out of the solution configuration list.

Using Boost just fine in Developer Editor build.

Code:

error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class stdext::exception const &)

Can anyone point me in the direction where to look? Browsing Boost’s config files does not provide any clues.

Hello,

I understand that this question was posted on a forum a while ago, but I hope the answer might help someone. To fix this issue, you’ll need to define the throw_exception method.

You can leave this method empty, especially considering that exceptions are turned off in Unreal Engine.
Just place it in one of your .cpp files, specifically in the locations where you’re encountering the link error. It should look something like this:

namespace boost
{
    void boost::throw_exception(class stdext::exception const &) {}
}

By doing this, you’re essentially providing a placeholder for the throw_exception method, which should resolve the error.
If you have any more questions feel free to reach out!