Trying to work out how to compile this menu...

Open the solution file, select release configuration and build.

If you use 2017, make sure you install the required c++ headers. VS2017 is lightweight and only installs what you ask.

If you have any problems, paste the output here.
 
Open the solution file, select release configuration and build.

If you use 2017, make sure you install the required c++ headers. VS2017 is lightweight and only installs what you ask.

If you have any problems, paste the output here.
unknown.png


unknown_2.png
 
Looks like it's missing some headers so it knows what the definitions are. It doesn't know about std:function, but that is in the functional header - http://en.cppreference.com/w/cpp/utility/functional/function.

Similar for the std::remove_if, is located in the algorithm header - http://en.cppreference.com/w/cpp/algorithm/remove.

They should be included at the top of the header files where used. Odd to not do those declarations where they should be, maybe it was a unity style build (single compilation unit) and didn't commit to GitHub. Hard to say without me digging deeper into it. Find out what the compiler doesn't understand, google it to find the correct header to include.
 
Update: I didn't get it to work, but I managed to get the code for the function I wanted. I'll just add that on to a different menu or create a script and do it that way.
 
Back
Top Bottom