question

shanice.c avatar image
0 Likes"
shanice.c asked shanice.c commented

Build solution problem for Call DllMaker

Hello, Recently I'm trying to test how to call DllMaker. I'm not familiar with c++ and how theses .h files in flexsim-dll-maker-17.2 file works. But I still want to try testing how to call DllMaker by following this demo https://nextcloud.flexsim.com/s/aTji7HXwKYBbSGc

When I build solution, I have error messages below:

1649578772464.png

MSB8020: The build tools for toolset-name (Platform Toolset = 'platform-toolset') cannot be found. To build using the platform-toolset build tools, please install toolset-name build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

To resolve this issue, upgrade the project to use the current Visual Studio toolset, or use the Visual Studio Installer to install the specified build toolset. For more information, see Modify Visual Studio. Use the Individual components tab in the installer to choose specific platform toolsets.


I have right-click the solution, but couldn't see "Retarget solution". It is because there's no toolset available yet?

1649579900741.png

How could I upgrade the project to the current Visual Studio toolset? Or what should I install first to fit the Platform toolset: Windows_XP(v120_xp)?

1649579112435.png


Thank you!

FlexSim 21.2.0
dllmaker
1649578772464.png (156.5 KiB)
1649579112435.png (52.6 KiB)
1649579900741.png (255.6 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

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered shanice.c commented

Change the platform toolset from v120_xp to whatever toolset you have, such as v140 or v142.

Then comment out the fabs() and round() lines that are giving you compiler errors with the newer toolset.

· 1
5 |100000

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

shanice.c avatar image shanice.c commented ·

@Phil BoBo Thanks for your help!

0 Likes 0 ·

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.