How to add simulator

closed account (Gb4iNhU5)
solved.
Last edited on
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).
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?


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.