LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Link error ,please help me

Solved!
Go to solution

Hello

I'm working on my course design,I want to make an output Excel report module,and get the following errors.

 

When I use the compile file button,all code build succeed.But when I use Debug Project button,get these errors.

Build Status (课程设计.prj - Debug)
Link 课程设计_dbg.exe
error: Undefined symbol '_Excel_AppQuit@8' referenced in "c:\Users\秃头阴阳师\Desktop\课程设计\cvibuild.课程设计\Debug\课程设计.obj".
error: Undefined symbol '_Excel_NewApp@20' referenced in "c:\Users\秃头阴阳师\Desktop\课程设计\cvibuild.课程设计\Debug\课程设计.obj".
error: Undefined symbol '_Excel_SetProperty' referenced in "c:\Users\秃头阴阳师\Desktop\课程设计\cvibuild.课程设计\Debug\课程设计.obj".
error: Undefined symbol '_Excel_WorkbookClose@56' referenced in "c:\Users\秃头阴阳师\Desktop\课程设计\cvibuild.课程设计\Debug\课程设计.obj".
error: Undefined symbol '_UpdateUIRDimming' referenced in "c:\Users\秃头阴阳师\Desktop\课程设计\cvibuild.课程设计\Debug\课程设计.obj".
Build failed.

0 Kudos
Message 1 of 3
(969 Views)
Solution
Accepted by topic author aefasfasghaREGWEarQEqwe

Seems like you have not loaded the proper libraries: you must include the instrument you are using (either Excel2000.fp or ExcelReport.fp or both) into your Instrument menu.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(931 Views)

Dear RobertoBozzolo

   At first,thanks for your reply .I found out I forgot to add excel97.c file while checking which led to error generation .Then my application  works fine after adding excel97.c file.

    Thanks again for your reply which helped me

0 Kudos
Message 3 of 3
(923 Views)