Jump to content
Sign in to follow this  

compiling udf

Recommended Posts

hello, trying to compile a udf from an acusolve tutorial but i dont have a compiler in the computer.

cant install either due to not being admin in the computer(university based).


can someone help me with ways to compile it to run the tutorial?

Share this post

Link to post
Share on other sites

There is no compiler provided with the software installation.  However, for WIN64, Visual Studio Express 2013 provides a free compiler that works very nicely.  You could install AcuSolve and Visual Studio Express 2013 on a different computer (home/personal/etc), compile the UDF, then take the resultant DLL to the university computer to run the simulation.  (The compiling process will not require a license.)

Share this post

Link to post
Share on other sites


I have encountered some problems in learning acusolve acu-4002, and I have been unable to run gravity.c file. My compiler software has been installed (VS2013), and the environment configuration has been completed according to the relevant information (Figure 1). However, the following problem was encountered in operation (Figure 2). The gravity. obj file cannot be found, nor can the. Dll file be generated.


I also tried to run gravity. C program separately in VS2013, but I also found many errors. (Fig. 3)

1. error LNK2019: Unparsable external symbol _udfCheckNumUsrVals, which is referenced in function _usrGravity

2. error LNK1120: Three unresolved external commands

3. IntelliSense: Undefined identifier "Integer"

4. IntelliSense: Undefined identifier "String"

5. IntelliSense: Undefined identifier "Void"

6. IntelliSense: Undefined identifier "Real"

I hope you can help me. Thank you very much.






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.

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...