Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking error in Visual studio 2003

Status
Not open for further replies.

engguser

Mechanical
Apr 17, 2008
14
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.
 
Replies continue below

Recommended for you

You need to set the environment variable
UGII_USERFCN=%UGII_BASE_DIR%\ugopen
then try to build the project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor