Hello,
I am trying to create a c++ console application in Visual Studio Express 2013 which will control a PCI6503 card. All I want to do is output digital values. I took the WriteDigChan example and pasted it in the program stub that VS creates (it includes stdafx so I can use printf without having to worry about creating windows, etc.) I get the following errors during linking:
Error 1 error LNK2019: unresolved external symbol _DAQmxCreateTask@8 referenced in function _wmain
Error 2 error LNK2019: unresolved external symbol _DAQmxStartTask@4 referenced in function _wmain
Error 3 error LNK2019: unresolved external symbol _DAQmxStopTask@4 referenced in function _wmain
Error 4 error LNK2019: unresolved external symbol _DAQmxClearTask@4 referenced in function _wmain
Error 5 error LNK2019: unresolved external symbol _DAQmxCreateDOChan@16 referenced in function _wmain
Error 6 error LNK2019: unresolved external symbol _DAQmxWriteDigitalLines@36 referenced in function _wmain
Error 7 error LNK2019: unresolved external symbol _DAQmxGetExtendedErrorInfo@8 referenced in function _wmain
Error 8 error LNK1120: 7 unresolved externals
I did add the include and lib directories to the path and get no complaint that the linker could not find the lib-so I assume that is not the problem.
Can anyone help?