NX Failure to start a C++ NXOpen program in NX1926 environment

2021-10-06T23:27:49Z
NX Open NX System Administration

Summary


Details

When trying to run NXOpen C++ code on a machine that also has Creo installed, the NXOpen program will fail with the following error: 
unresolved reference __TBB_register_thread_start_function_wrapper 



Solution

A workaround is to modify the system %PATH% variable, so that the %UGII_BASE_DIR%\NXBIN directory appears before the Creo directory, preferably at the beginning of the %PATH% variable.


Change this variable: 
Path=C:\PROGRA~1\Siemens\NX1926\ugii;... ; C:\Program Files\PTC\Creo 4.0\M090\Common Files\x86e_win64\obj;C:\Program Files\Siemens\NX1926\NXBIN


So that the order is:


Path=C:\PROGRA~1\Siemens\NX1926\nxbin;C:\PROGRA~1\Siemens\NX1926\ugii;... C:\Program Files\PTC\Creo 4.0\M090\Common Files\x86e_win64\obj;...


and the NXOpen program should run normally.



Notes and References


Hardware/Software Configuration

Platform: na
OS: n/a
OS Version: n/a
Product: NX
Application: SYSENG
Version: V1926
Function: NXOPEN

Ref: 001-9934111

KB Article ID# PL8520270

Contents

SummaryDetails

Associated Components

Block/UI Interface Stylers Knowledge Fusion Menuscript NX Open - All Languages NX Open Python Open for C/C++ Open for CAE Open for GRIP Open for Java Pre-NX6 UI Styler SNAP UDO