-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emccanon function signature changed causing error message #3079
Comments
ok this is caused because I have an installed version of linuxcnc that is 2.9 based. Any idea how to best handle the need for different paths for RIP vrs installed versions? |
Hi Chris,
In ~/linuxcnc-dev/scripts/rip-environment
At the very top is a CASE statement as follows:
````
27 case "$0" in
28 rip-environment|*/rip-environment)
29 as_command=true
30 if [ $# -eq 0 ]; then
31 cat <<-EOF
32 This script can be used in one of two ways.
33
34 It can be loaded in the context of your shell, by executing
35 . $0
36 after this, commands like 'linuxcnc', 'halrun' and so on refer to the
37 version in this directory, instead of to an installed version of
38 linuxcnc (if any)
39
40 Second, it can be used to run a command in this directory without
41 modifying the environment of the calling shell:
42 $0 command...
43 such as
44 $0 halrun foo.hal
45 $0 linuxcnc configs/.../foo.ini
46 EOF
47 exit 1
48 fi ;;
49 *) as_command=false
50 esac
````
I’d suggest creating a variable to support the RIP environment or something along those lines.
From: c-morley ***@***.***>
Sent: Sunday, August 18, 2024 3:20 PM
To: LinuxCNC/linuxcnc ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [LinuxCNC/linuxcnc] emccanon function signature changed causing error message (Issue #3079)
ok this is caused because I have an installed version of linuxcnc that is 2.9 based.
My sim INI uses paths like: ~/linuxcnc/nc_files/examples/remap_lib
I do this so that in an installed version the sim actually works.
Any idea how to best handle the need for different paths for RIP vrs installed versions?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
recent master
running sim/qtdragon/qtdragon_probe_tool/tdragon_auto_tool_probe.ini
causes an error message when loading chips.ngc:
G-Code error in 3D_Chips.ngc
Near line 0 of
/home/chris/linuxcnc/nc_files/examples/3D_Chips.ngc
M6/change_epilog: Python argument types in
emccanon.CHANGE_TOOL(int)
did not match C++ signature:
CHANGE_TOOL(void)
This config uses remap of m6
The text was updated successfully, but these errors were encountered: