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: 

Auto-generated header has "Redefinition of macro "

Solved!
Go to solution

The header file generated from the uir file has a duplicate macro definition. I deleted the file and rebuilt and got the same results:

"FMTSTCAL.h"(547,45)   Redefinition of macro 'Menu1_Test_SEPARATOR'.

0 Kudos
Message 1 of 3
(2,976 Views)

It seems you have added two separators to a menu with the same name.Try renaming the separators to obtain different names (e.g. SEP1, SEP2...)



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(2,969 Views)
Solution
Accepted by topic author randyo

Thank you. I inherited the .uir file (from 1992! LabWindows v 2). I'll take a closer look at. Thanks!

0 Kudos
Message 3 of 3
(2,964 Views)