question

Sebastian Kemper avatar image
0 Likes"
Sebastian Kemper asked Ralf Gruber commented

Error Message by building DLL

Hello,

I want to start building module DLL with Visual Studio 2012. I downloaded the flexsim-module-sdk from bitbucket.org and do the FlexSim-Wizard-Installation. After this I try to do the MyTaskExecuter Tutorial, like it is discribed in the ModuleDevelopment Documentation html.

My Problem is, that I get 353 Errors because of the FlexSim Header Files, as you can see in this screenshot:

errorflexsimdll.png

I don't know what's wrong?!

FlexSim 7.5.4
dlldll errorvisual studioheader files
errorflexsimdll.png (132.0 KiB)
· 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.

Matt Long avatar image Matt Long commented ·

I assume you followed all of the steps in the Documentation/QuickStart.html file?

0 Likes 0 ·

1 Answer

Ralf Gruber avatar image
2 Likes"
Ralf Gruber answered Ralf Gruber commented

Hello Sebastian,

did you download the correct version of the SDK from Bitbucket? In the downloads section on bitbucket you'll find an SDK for each FlexSim release and you need to match it to the FlexSim version you use.

If this doesn't solve it I'll have to pass it to @phil.bobo

Good luck

Ralf

· 3
5 |100000

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

Sebastian Kemper avatar image Sebastian Kemper commented ·

Hello @Ralf Gruber,

in the file I downloaded, there are 4 different release (VisualStudioWizards_2010, 2012, 2013 and 2015)

So when I use Visual Studio 2012, I have to install the VisualStudioWizards_2012, or not?

Does it than matter which FlexSim Version I use?

I want to use FlexSim7.5.

Kind regards,

Sebastian

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ Sebastian Kemper commented ·

@Sebastian Kemper

You need to download the SDK that matches your FlexSim version. Each SDK supports different Visual Studio versions, but is compiled for one specific FlexSim version.

Does this help?

1 Like 1 ·
Sebastian Kemper avatar image Sebastian Kemper commented ·

Hello Ralph,

you are right, I used the wrong FlexSim SDK, Steven Hamoen already helped me.

Have a nice weekend!

0 Likes 0 ·