question

park avatar image
0 Likes"
park Suspended asked Phil BoBo edited

dll maker17.2 error :FlexSimArrayUnionMember is not a template

when I open DLL Maker VS 2013.vcxproj with visual studio2022, error:FlexSimArrayUnionMember is not a template屏幕截图-2023-10-13-111704.png

FlexSim 22.2.0
dll maker
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

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo edited

When I open the DLL Maker VS 2013.sln with Visual Studio 2022, it builds fine without errors:

1697210561572.png

The visual studio IntelliSense for the datatypes.h file shows a red squiggle for line 990, but it compiles just fine. Perhaps that's a bug in Visual Studio or an issue with the IntelliSense database.

Updating the Windows SDK Version and Platform Toolset to the latest version (10.0, v143) causes compile errors with std::round() and std::fabs(), but you can simply comment out the offending lines to get it to compile successfully:

1697210975364.png


1697210561572.png (251.6 KiB)
1697210975364.png (500.1 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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