Hi Ryan,

You need to source the rip-environment script in all terminals you use.
I put that into my .bashrc file so I don’t have to think about that.

If that does not help,
Please do an “export DEBUG=5” in the terminal you’re running things in.
Then look at /var/log/linuxcnc.log

It’s best to put the output of that into a gist or pastebin and link to that. 
As well as a link to your code.

Bas

> On 29 May 2019, at 06:20, Ryan Helminen <rehel...@gmail.com> wrote:
> 
> 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 machinekit+unsubscr...@googlegroups.com.
> 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.
> <run.py>

-- 
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 machinekit+unsubscr...@googlegroups.com.
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/4E17F6DF-28A8-4C01-BC7C-64258E76F5B2%40basdebruijn.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to