Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Can I Not Link Some uuid.lib Symbols in a 32-bit Program?

Primary Software: LabWindows/CVI Development Systems>>Base Package
Primary Software Version: 9.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have a LabWindows™/CVI 9.0 or later application or DLL that includes uuid.lib from the Windows SDK in the project. When I build the project in a 64-bit configuration, the project build is successful, but I get Multiple definitions for symbol... linker errors. Why do I get these errors?

Solution:
The version of the Windows SDK that is included with LabWindows/CVI 9.0 and later has a bug in the uuid.lib library. The bug causes some symbols to be defined multiple times in the library. The multiple definitions will cause linker errors and a project with this library included will not build successfully.

To avoid the linker errors, use the older version of uuid.lib attached below. Using the older version will not cause compatibility errors.

Related Links:
Calling Windows SDK Functions in LabWindows/CVI

Attachments:

uuid.libuuid.lib






Report Date: 02/16/2012
Last Updated: 02/16/2012
Document ID: 5UFE1FQW

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit