Hi Fern,
Thanks for the previous responses!

I've deleted the ncam subdirectory in the inifile directory and then I ran:
linuxcnc@linuxcnc:~/linuxcnc/configs/test_setup$ ncam -i test_setup.ini -t -c lathe
NativeCAM info:
inifile = /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini
NCAM_DIR = /home/linuxcnc/linuxcnc/configs/test_setup/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/lathe:ncam/lib/utilities
Real paths:
/home/linuxcnc/linuxcnc/configs/test_setup/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/lathe
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities
Using default lathe/menu.xml, no lathe/menu-custom.xml found
/usr/bin/ncam:2442: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Previous work not saved as current work
It completed without errors and it opened the stand alone native cam.
I've closed the stand alone native cam, then opened linuxcnc, it started successfully but there's no native cam tab.
What can I do so that I see the nativecam embedded into linuxcnc?
Thanks for your previous responses!