I have a little problem with VISA in Visual C++. During compilation of my project I get the following errors:
1>------ Erstellen gestartet: Projekt: VISA, Konfiguration: Release Win32 ------
1>FindRsrc.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_viFindRsrc@20".
1>FindRsrc.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_viOpenDefaultRM@4".
1>FindRsrc.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_viOpen@20".
1>FindRsrc.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_viFindNext@8".
1>FindRsrc.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_viClose@4".
1>C:\Users\D.Eiteneuer\Desktop\Test\VISA\Release\VISA.exe : fatal error LNK1120: 5 nicht aufgelöste externe Verweise.
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
which means something like (translated only second line):
1>FindRsrc.obj : error LNK2001: Unresolved external symbol "_viFindRsrc@20".
I have included the VISA header via
#include "visa.h"
and added
"C:\Program Files\IVI Foundation\VISA\WinNT\include"
to the include directory list in the project properties.
Apparently I am still missing a dependency. But what dependencies I need to embed?
I attached my Visual C++ 2010 project.
Best regards
Nuesel