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

Associate
Joined
16 Aug 2010
Posts
1,373
Location
UK
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.
 

IC3

IC3

Soldato
OP
Joined
3 Dec 2011
Posts
9,926
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
 
Associate
Joined
16 Aug 2010
Posts
1,373
Location
UK
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.
 

IC3

IC3

Soldato
OP
Joined
3 Dec 2011
Posts
9,926
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