I just installed the boost
lib and visual studio
on my new laptop.
I'm getting the following error while trying to run my code:
Assertion failed: r != 0, file libs\regex\build\..\src\w32_regex_traits.cpp, line 125
The error occurs when running in debug 32bit, but works when using release instead of debug. This is my snippet:
#include <iostream>
#include <boost/regex.hpp>
int main()
{
boost::regex("hello word", boost::regex::icase);
}
I tried to re-install VS2019 and the boost
lib, but the problem persists.
Any ideas what could be the cause of the error?