Hello,
I am wondering how to get the mkwrapper approach to using QtQuickVCP to
respect RIP environment variables so that the correct environment is
loaded. From what I can tell the run.py script that I am using detects the
RIP environment variables, but for some reason that isn't getting
communicated during the call to the linuxcnc executable.
I have a custom build that includes a bipodkins RT module and when I try to
start things up using the attached python script I get the following error
message:
bipodsim.hal:5: insmod failed, returned -1:
> do_load_cmd: dlopen: bipodkins.so: cannot open shared object file: No such
> file or directory
> rpath=/usr/lib/linuxcnc/rt-preempt
>
The rpath that is referenced is *not *the path to the RIP files. I have
tested that RIP is correctly setup by manually running halrun and doing a
loadrt bipodkins which works as expected.
Does anyone have any tips on how I can force mkwrapper to correctly use the
RIP environment that I have configured?
Thanks much,
Ryan
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit
https://groups.google.com/d/msgid/machinekit/6844b1f8-9718-4d8d-b022-1b7ef1d5dc49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#!/usr/bin/python
import sys
import os
import subprocess
import importlib
from machinekit import launcher
from time import *
launcher.register_exit_handler()
launcher.set_debug_level(5)
os.chdir(os.path.dirname(os.path.realpath(__file__)))
#import pdb; pdb.set_trace()
try:
launcher.check_installation() # make sure the Machinekit installation is sane
launcher.cleanup_session() # cleanup a previous session
launcher.start_process("configserver -n MaslowCNC ~/develop/Cetus/") # start the configserver with Machineface an Cetus user interfaces
launcher.start_process('linuxcnc -v maslow.ini') # start linuxcnc
except subprocess.CalledProcessError:
launcher.end_session()
sys.exit(1)
# loop until script receives exit signal
# or one of the started applications exited incorrectly
# cleanup is done automatically
while True:
sleep(1)
launcher.check_processes()