LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2023 Q3 crashes while building exe on Windows 11

Solved!
Go to solution

I've just switched to 2023Q3, and it seems to be unable to build executables on Windows 11. The 64-bit version just closes immediately, and the 32-bit one shows error message (see the attachment).

I've tried to install 2023Q3 on THREE different machines: a 12th gen Core i7 laptop, a 5th gen Ryzen 5 gen desktop both running Windows 11, and a Ryzen 7 gen desktop running Windows 10. All with NVMe SSDs and 32 GB RAM. The two Windows 11 based machines behave the same. I even tried to reset Windows and istall LabVIEW prior to any other software. Just freshly installed OS and LabVIEW. Still not building executables (but builds DLLs well). And the last machine running Windows 10 compiles executables with no problem.

 

Two different machines with lots of power with no third-party software and both unable to build exes. I cannot be the only one who faced this issue. Or am I just lucky?

0 Kudos
Message 1 of 11
(2,279 Views)

Is there anyone who uses latest LabVIEW on Windows 11? Does it build exes? It seems I'm fighting windmills

0 Kudos
Message 2 of 11
(2,221 Views)

Have you recompiled everything in your codebase? It is probably a corrupt VI.

 

See also https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019RMuSAM 

Certified LabVIEW Architect
0 Kudos
Message 3 of 11
(2,172 Views)

I second the corruption. Try a mass recompile and output the build logs to see if there is some specific vi failing. I use Windows 11 and LabVIEW 2023 Q3 and have been able to build exe's just fine. exe's that depend on PPLs, or just standalone ones have worked. 

0 Kudos
Message 4 of 11
(2,146 Views)

Unfortunately, this happens to every project, even with one vi showing "Hello, World!" string. And it is a freshly installed LabVIEW. Nothing could have time to break it.

0 Kudos
Message 5 of 11
(2,139 Views)

Great! It means this is not about Win 11 and LV 2023 Q3 combination. There must be something else. Though I cannot even imagine, what could it be: 2 absolutely different hardware, freshly installed Windows and LabVIEW. No additional packages from VIPM, no additional software, even 7zip is not installed yet. Same behaviour.


Maybe, it comes from OS localization? Does your Windows have english locale?

0 Kudos
Message 6 of 11
(2,117 Views)

You know, I've found the solution. The compilation doesn't work because of OS localization. As seen here (https://forums.ni.com/ni/attachments/ni/170/1223209/1/LabVIEW%20Roadmap.pdf) Support for Unicode in the IDE is still in Future Development column. So I clean-installed the English Windows 11, et voila! Simply changing the locale to English on already installed OS didn't work BTW

This issue doesn't affect Windows 10, everything compiles despite of the OS language

Message 7 of 11
(1,879 Views)

Thank you for your solution.I meet same problem.

0 Kudos
Message 8 of 11
(1,846 Views)
Solution
Accepted by topic author Mayzel

Change this parameter will be OK!

zecson_0-1694330141899.png

 

Message 9 of 11
(1,794 Views)

Wow! It worked! Thans a lot!

0 Kudos
Message 10 of 11
(1,636 Views)