Build solution problem for Call DllMaker

Build solution problem for Call DllMaker

shanice_c
Not applicable
150 Views
2 Replies
Message 1 of 3

Build solution problem for Call DllMaker

shanice_c
Not applicable

[ FlexSim 21.2.0 ]

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!

0 Likes
Accepted solutions (1)
151 Views
2 Replies
Replies (2)
Message 2 of 3

philboboADSK
Autodesk
Autodesk
Accepted solution

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.



Phil BoBo
Sr. Manager, Software Development
Message 3 of 3

shanice_c
Not applicable

@Phil BoBo Thanks for your help!

0 Likes