From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labwindows error: COFF name oo long

Hello,

under a Labwindows project, i try to import a static library generated with Visual C++ and i have the following erro during the link process:
COFF name too long
Aborted load of library : ...

If you already encountered this error could you explain me how to solve the pb ?
Thanks for your Help.
0 Kudos
Message 1 of 2
(2,546 Views)
Hi Teuhc,

It might have something to do with the compiler options you use in VC++.
In Chapter 3 of the LabWindows/CVI Programmer Reference Manual, you find a section "Creating Object and Library Files in External Compilers for Use in LabWindows/CVI".
There is a list of options that are not to be used when building a library for CVI. If any of these options are used while building the library, it will lead to errors in CVI.
If you built the library yourself, please be shure that you don't use these options. If you didn't build it yourself, the only solution might be to use the shared library instead.

Regards,
Richard H.
National Instruments
0 Kudos
Message 2 of 2
(2,546 Views)