Jump to content
  • 0

Undefined Function Reference in example programs.


RohanS

Question

Downloaded universal library (https://www.mccdaq.com/daq-software/universal-library.aspx) and trying to compile and use example programs. I am trying to compile the example program "ULTI01.c". The header files such as "cbw.h" and "Utilities.h" are recognized. I used instacal to create a config file as well. 

However, when I try using gcc to compile the example scripts. I get many undefined reference function calls for functions such as `cbErrHandling', `cbFlashLED', `cbStopIOBackground', `cbStopIOBackground', `cbGetBoardName', `cbGetErrMsg', `cbGetConfig', `cbGetIOStatus', `cbSetTrigger', `cbDaqSetTrigger', `cbAIn32', `cbVIn32', `cbAIn', `cbAOut', `cbDConfigBit', `cbDConfigBit', `cbTIn'. I went looking for these functions using vscode. I was able to find declarations for all these functions but not definitions. 
 

I'm not sure if I am doing something wrong or if I need to download something else. Help on this is required. 

 

Edited by RohanS
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...