user1255454
user1255454

Reputation: 699

Boost C++ - Entry points?

Basically I moved on from the main() entry point in my project and changed to a windows project - WINAPI WinMain(...)

However Boost complains saying that cpp_main() is missing. How can I avoid this? Thanks.

Upvotes: 0

Views: 349

Answers (2)

Igor R.
Igor R.

Reputation: 15075

It's Boost.Test library that needs a special user-defined entry point. Please, read its manual for details.

Upvotes: 0

rlib
rlib

Reputation: 7867

If you work in MS Visual Studio, create Win32Project, then use WinMain() function. If you create Console application, then use main() function. Nothing to do with boost library.

Upvotes: 1

Related Questions