03-29-2012 12:36 PM
Sorry to hear you that you are continuing to have problems. The path that you pointed to for the GpibAz.lib is not the correct path nor the correct library, as your application needs to refer to ni4882.obj instead. By default the programming language interface files (.h and .obj files) are installed to:
Header files - C:\Program Files\National Instruments\Shared\ExternalCompilerSupport\C\Headers\
Object files - C:\Program Files\National Instruments\Shared\ExternalCompilerSupport\C\Lib32\
Whether you are using the traditional API or the newer API, you still need to point to the above mentioned directories in your project. So it doesn't make any difference about which API you use in that respect.
Hope this information helps you to successfully compile and link.
gpibtester
03-29-2012 09:19 PM
still doesn't work.... 😞
cannot find -lni4882.obj
03-30-2012 08:46 AM
Well, I think it is not working as your project is not referring to the directories that I listed in the previous post:
Header files - C:\Program Files\National Instruments\Shared\ExternalCompilerSupport\C\Headers\
Object files - C:\Program Files\National Instruments\Shared\ExternalCompilerSupport\C\Lib32\
Try pointing your project to the directories that have to do with External Compiler Support.
gpibtester
04-01-2012 09:12 PM
Oh!! Haha... Thanx a bunch!!
04-02-2012 02:31 PM
That's great that you are finally able to compile and link! Thanks for the update!
gpibtester