question

max avatar image
0 Likes"
max asked Jonah K answered

SDK DLL module error- datatypes.h (c2589, C3878, C2760) line 2888 error

1740701556761.png

I am unable to successfully build solution due to this errors. I have made several attempts but all proved abortive. I need some assistance please.

FlexSim 25.0.0
module sdkmodule sdk header filesflexsim sdk
1740701556761.png (213.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jonah K avatar image
0 Likes"
Jonah K answered

In Visual Studio, right-click on your project in the Solution Explorer and go to Properties at the bottom. Go to Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions and add NOMINMAX; to the list. This will prevent the max() and min() macros from being swapped out pre-compiling. This looks like an update may be needed to fix this for future user. Let me know if that works, and thanks for pointing that out.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.