Jump to content
Sign in to follow this  
Guest

MotionSolve subroutine compiler

Recommended Posts

Guest

Hi

Sorry my english.

I'm testing a motionsolve subroutine, but I don`t know that is the compiler (version, etc) to make the dll.

Has anybody experience on this?

Thanks.

Share this post


Link to post
Share on other sites
Guest

Hi,

A dll can be complied by using:

* If the usersub code is C/C++ file, then the options are VC6 or VC7 or VC8

* If the usersub code is fortran file, then the options can be Compaq Visual Fortran 6 or Intel Fortran compiler

For more details on issues with MotionView or MotionSolve please email mvsupport@altair.com

Hope this answers your question.

Thanks,

Raghav

Share this post


Link to post
Share on other sites
Guest

Hi,

I've tried to compile a dll, but the model has failed, the message has been:

Initializing model ...

ERROR: Environment variable MS_USERSUBDLL not defined!

Share this post


Link to post
Share on other sites
Guest

Please create an environment variable and set the value of this to the dll you have refered in the model. Follow the steps below:

Create an environment variable MS_USERSUBDLL and set the value to the dll file.

For windows 32-bit platform users, this will be: <install_path>\optistruct\usersub\subdll\WIN32\ms_csubdll.dll

- Right-click on the My Computer icon, go to the Advanced tab, click on Environment variables and click New (under User variables).

- Set Variable name: to MS_USERSUBDLL.

- Set Variable value: to <install_path>\hwsolvers\usersub\subdll\win32\ms_csubdll.dll.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...