02-03-2014 09:31 AM
I am trying to run the excelreportdemo project in CVI2010 on windows 7, 64-bit operating system. I have the Excel2013 installed as well. I have chosen the build configuration as release or debug for 32 bit system so to be compatible for the test platform for production.
However, I get 12 Project link errors as following:
Undefined symbol '_ExcelRpt_RangeBorder@24' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WriteDataFromTableControl@16' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_SetCellValue' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_SetCellRangeAttribute' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ChartAddtoWorksheet@40' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ChartWizard@52' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_SetChartAttribute' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WorkbookNew@8' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ApplicationNew@8' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ApplicationQuit@4' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WorkbookClose@8' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WorksheetNew@12' referenced in "excelreportdemo.c".
I have found a previous dicussion back in 2007. Unfortunately it did not help for the same problem on my new machine and CVI2010. Could anyone give me help on this/
Thanks!
Yuwei
Solved! Go to Solution.
02-03-2014 09:41 AM
The previous discussion link is pasted below:
http://forums.ni.com/t5/LabWindows-CVI/Problems-adding-the-activex-instrument-experiencing-undefined/m-p/580608/highlight/true#M31390
It did not solve my problem, but may spark your idea of helping me.
Thanks a lot!
Yuwei
02-03-2014 09:42 AM
02-03-2014 10:57 AM
I get it worked after I removed the excelreport.fp from the Customize Library Menu. The excelreport.fp was added into the Customize Library Menu for my other work project, which but had similar problems. It seems CVI is getting better and better, so that you don't need extras as it was before. Don't add reduntant libs.