How to add simulator

Oct 21, 2021 at 6:42am
closed account (Gb4iNhU5)
solved.
Last edited on Oct 28, 2021 at 3:32pm
Oct 21, 2021 at 10:31am
You need to build the cascade library first before you can use it.

Either you let CMake generate a project for you or you use the already existing project.

After that you may provide the library in the linker section of the settings (not just directories).
Oct 21, 2021 at 11:13am
closed account (Gb4iNhU5)
I've tried to build the .sln file existed in msvc2012 folder, but I received 28 errors, like:

Error	C2039	'max': is not a member of 'std'	descore	
Error	C2039	'max': is not a member of 'std'	cascade	
Error	C2873	'max': symbol cannot be used in a using-declaration	descore	
Error	C2039	'min': is not a member of 'std'	descore	
Error	C2873	'max': symbol cannot be used in a using-declaration	cascade


Could you guide me on this please?


Oct 21, 2021 at 11:27am
This is a problem of windows. min/max are defined as a macros. So directily after #include <windows.h> (or similar) you may add

1
2
#undef max
#undef min 


where the error occurs.
Topic archived. No new replies allowed.