LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

linker error - I cannot find the symbol

I get several linker errors in my project as follows...

 

"Undefined symbol '_error_message' referenced in hp662x.c"

 

The source code is included in the project file.  However, I cannot find the reference it's complaining about "_error_message".  It's nowhere to be found in the code base.

 

Any ideas?  I've been at this same bug for about 4 hours now.

 

Thanks!

0 Kudos
Message 1 of 6
(3,956 Views)

a quick search on google yields me on this

http://www.home.agilent.com/upload/cmc_upload/All/vxipnp_662x_b_00_01.html

 

on item 3.3, i don't know if it s relevant or not.

0 Kudos
Message 2 of 6
(3,945 Views)

cblog16 wrote:

a quick search on google yields me on this

http://www.home.agilent.com/upload/cmc_upload/All/vxipnp_662x_b_00_01.html

 

on item 3.3, i don't know if it s relevant or not.


 

Yeah I had seen this article too.  However, when I follow the instructions, include just the .fp file along with (or even without) the .h file, the same linker errors appear.  I tried doing the straight forward version as well with the .h and .c files but still no dice.  Thought perhaps my driver was corrupt but a new one is no where to be found, I spent a good hour or two surfing the web for one.

 

I really appreciate the help!  I'm completely stumped here and have to figure it out.

0 Kudos
Message 3 of 6
(3,934 Views)

You said you 'included' the fp file - I take it you actually went through the CVI process of adding the fp instrument file to the project, and not just literally including the file? Was there not a .lib file as well as the .dll in the supplied files?

 

JR

0 Kudos
Message 4 of 6
(3,924 Views)

jr_2005 wrote:

You said you 'included' the fp file - I take it you actually went through the CVI process of adding the fp instrument file to the project, and not just literally including the file? Was there not a .lib file as well as the .dll in the supplied files?

 

JR


I'm not sure what you mean by CVI process of adding an fp insturment.  I'm fairly new to LabWindows.  I had added the .fp file to the project and included the associated .h file.  Is there something more to building with an .fp?

 

I actually think my underlying issue is somewhere someplace I'm missing a file.  However, I'm having difficulty finding a fresh copy of the instrument driver.  It's a Agilent 6622a power supply but apparently agilent doesn't supply drivers for it anymore? 

 

http://www.home.agilent.com/agilent/techSupport.jspx?pid=836779&pageMode=DS&cc=US&lc=eng 

 

0 Kudos
Message 5 of 6
(3,921 Views)

goodnufcode:

 

Here's a link to the drivers for the 6623A power supply.

http://www.home.agilent.com/agilent/facet.jspx?t=80045.k.1&ki[0]=6623&cc=US&lc=eng&sm=g

 

When you added the .fp file to your project, did you copy the .fp file or leave it in its original location under C:\VXIpnp ?

 

 

Try building the attached project.  Note that it doesn't really do anything: I just threw it together to test linking to hp662x.fp

0 Kudos
Message 6 of 6
(3,903 Views)