Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5680

Unresolved external symbols when linking C++ with ni.4882.obj

$
0
0

Moving from 32-bit XP to Windows 7 using Microsoft Visual Studio 2008 C++.  When linking with NI-488.2 version 3.0.2 I (ni4882.obj) get the following warning and errors:

 

1>Linking...

1>ni4882.obj : warning LNK4217: locally defined symbol _time64 imported in function time

1>ni4882.obj : error LNK2019: unresolved external symbol __imp_rand referenced in function LoadFunction

1>ni4882.obj : error LNK2019: unresolved external symbol __imp_srand referenced in function LoadFunction

1>ATP.exe : fatal error LNK1120: 2 unresolved externals

1>Creating browse information file...

1>Microsoft Browse Information Maintenance Utility Version 9.00.21022

1>Copyright (C) Microsoft Corporation. All rights reserved.

 

Any ideas.


Viewing all articles
Browse latest Browse all 5680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>