×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Linking error in Visual studio 2003

Linking error in Visual studio 2003

Linking error in Visual studio 2003

(OP)
Hi,

I am a newbie to UGOPEN.  I just installed Visual studio 2003 on my machine.  I configured it for UGopen by:
1. Copying the files vcprojects and vcwizard files to the Visual studio.

When I create a new project, I get the wizard from which I choose the dll or exe then c or c++, entry points etc.  Then the project is created successfully.  But when i build the project it is failing saying
---------------------------------------------------------
Linking...
   Creating library Debug/qq1.lib and object Debug/qq1.exp
qq1.obj : error LNK2019: unresolved external symbol __imp__UF_terminate referenced in function _ufusr
qq1.obj : error LNK2019: unresolved external symbol __imp__UF_initialize referenced in function _ufusr
qq1.obj : error LNK2019: unresolved external symbol __imp__UF_UI_write_listing_window referenced in function _report_error
qq1.obj : error LNK2019: unresolved external symbol __imp__UF_UI_open_listing_window referenced in function _report_error
qq1.obj : error LNK2019: unresolved external symbol __imp__UF_print_syslog referenced in function _report_error
qq1.obj : error LNK2019: unresolved external symbol __imp__UF_get_fail_message referenced in function _report_error

Debug/qq1.dll : fatal error LNK1120: 6 unresolved externals
---------------------------------------

Any idea what is the missing configuration.

RE: Linking error in Visual studio 2003

You need to set the environment variable
UGII_USERFCN=%UGII_BASE_DIR%\ugopen
then try to build the project.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources