09-02-2020 12:23 AM
我已经设置了头文件和库文件的路径,运行例程VC_DigPulse,却报错了,我应该怎么办?
I have set the path of the header file and library file. Then I ran the example: VC_DigPulse, but it break.
报错信息是:
错误 LNK2019 无法解析的外部符号 _DAQmxCreateTask@8,函数 _main 中引用了该符号 VC_DigPulse C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Counter\Generate Pulse\Dig Pulse\DigPulse.obj 1
The error message is:
Error LNK2019 unparsed external symbol _daqmxcreatetas@8, which is referenced in the function _main VC_DigPulse C:\Users\Public\Documents\National Instruments\ Ni-daq \Examples\DAQmx ANSI C\Counter\Generate Pulse\DigPulse \DigPulse. Obj 1
. What should I do?
09-02-2020 06:30 AM
是因为电脑位数和加入库的位数不一样,修改之后就能运行了
The system of my computer is 32 bit, but I added library for 64 bits. It works after fixing it.
09-03-2020 09:30 AM
You've posted in the board for suggesting new ideas for DAQ products.
But what you have is a question asking for help. This belongs in a regular support forum.
I'll ask the moderator to move it.