Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Build VC++ application it showing error 1>LINK : fatal error LNK1104: cannot open file 'NiFieldPoint71D.lib' but I am Using Measurement Studio 2009 ,NI DAQ 7.01 and Field Point 6.05.

I am having a application in Visual Studio 2003 on Windows XP  , Now I am Migrating the application in Visual Studio 2005 on Windows-7 .


In my Development PC , I was install Measurement Studio 2009 ,  NI DAQ 7.01 and Field Point 6.05.

 

my application is Showing following error:

 

Linking...
LINK : fatal error LNK1104: cannot open file 'NiFieldPoint71D.lib'
Build log was saved at "file://c:\EdacsNt\Source\SaftyServices\NICfpDAQDl?l\Debug\BuildLog.htm"
NICfpDAQDll - 1 error(s), 0 warning(s)

 

When I copy from NiFieldPoint71D.lib library from Measurement Studio 7.1 and put in :\Program Files\National Instruments\MeasurementStudioVS2005\VCNET\Lib.

 

 

my application is Showing following error:
1>Linking...
1>atlsd.lib(atltrace.obj) : error LNK2005: "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA) already defined in NiFieldPoint71D.lib(StdAfx.obj)
1>atlsd.lib(atlbase.obj) : error LNK2005: "class ATL::CAtlWinModule ATL::_AtlWinModule" (?_AtlWinModule@ATL@@3VCAtlWinModule@1@A) already defined in NiFieldPoint71D.lib(StdAfx.obj)
1>   Creating library ..\..\lib\debug\NICfpDAQDll.lib and object ..\..\lib\debug\NICfpDAQDll.exp
1>..\..\bin\debug\NICfpDAQDll.dll : fatal error LNK1169: one or more multiply defined symbols found

I want to ignore NiFieldPoint71D.lib from using project setting(Linker->Input->ignore Specific Library ) but still it is showing same error.

 
In the project Setting I am done following setting:
"C:\Program Files\National Instruments\MeasurementStudioVS2005\VCNET\Lib";"
C:\Program Files\National Instruments\NI-DAQ\Lib"
Linker->Input->ignore Specific Library: mfcs71d.lib;libc.lib;'NiFieldPoint71D.lib


Please provide some solution.

 

Thanks

Nityanand
....

0 Kudos
Message 1 of 1
(6,141 Views)