Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Libary Integration with Simpack

$
0
0

hey,

 

i hope someone can help me with my problem regarding a Simpack User Routine. I wanted to create a User Routine (writen in Fortran) wich starts a Matlab Program. However i created a normal Fortran exe and icluded the Matlab Libary .lib Files an everything worked fine. After i created the Simpack User Routine i've got an error regarding the link of those libary Files.

Simpack allows to include external .lib libarys through the User Interface.

This is the error i got.

"engopen" etc.. are the matlab functions.

"Linking CXX shared library user.dll
   Creating library user.lib and object user.exp
uforce20.f.obj : error LNK2019: unresolved external symbol engopen referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol engevalstring referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol mxcreatedoublematrix730 referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol mxgetpr referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol mxcopyreal8toptr730 referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol engputvariable referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol enggetvariable referenced in function uforce20
uforce20.f.obj : error LNK2019: unresolved external symbol mxcopyptrtoreal8730 referenced in function uforce20
user.dll : fatal error LNK1120: 8 unresolved externals
LINK Pass 1 failed. with 1120"

it seems that Simpack cannot include the libary files i specified.

Can anyone help me?


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>