Mohammad Nejati
Mohammad Nejati
Could you please provide the exact code you are trying to compile?
Please use a [code block](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
`message_generator` has been added to Beast in Boost 1.81. It appears that you are using an older version of Boost.
If you don't have an up to date version of boost in your OS repository, you can follow the guideline [here](https://www.preview.boost.org/doc/user-guide/getting-started.html) to build a new version from srouce.
This is your code compiling fine using boost.1.82: https://godbolt.org/z/W3Wj1oEhr Can you check your version of boost? ```C++ #include #include int main() { std::cout
> I have tried again after installing boost_1_84_0 version but while the above version program gave the output as "1_75". This indicates you are including Boost version 1.75 headers, and...
How did you install the new version of Boost? I think the issue lies here.
> > I have tried again after installing boost_1_84_0 version but while the above version program gave the output as "1_75". > > This indicates you are including Boost version...
> Yes, I have. Now I have the solved the version part also How did you solve that? Please try to compile the source like this: ```C++ g++ -I /path/to/boost_1_82_0...
What error you get with just compiling this: ```C++ #include int main(){} ```