linuxcnc trajectory planner

More
24 Oct 2024 12:21 - 24 Oct 2024 12:26 #313067 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner
Seems that the problem I reported earlier still presists:

tpmod: dlopen: liblinuxcnchal.so.0: cannot open shared object file: No such file or directory

[edit]

I noticed that it is not missing 'libClothoids.so.3' any longer only 'liblinuxcnchal.so.0'.
Last edit: 24 Oct 2024 12:26 by Aciera.
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 12:44 #313069 by Grotius
Replied by Grotius on topic linuxcnc trajectory planner
Hi Arciera,

Thanks for the fast responce!.

add ~/rtlib search path to tpmod.so

Just one complain. Hope is now solved.

Fingers crossed.




 
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 13:02 #313074 by tiagounderground
[ 4%] Building C object CMakeFiles/motmod.dir/home/cnc/linuxcnc_trajectory_planner/src/emc/motion/control.c.o
/home/cnc/linuxcnc_trajectory_planner/src/emc/motion/control.c:31:10: fatal error: config.h: No such file or directory
31 | #include "config.h"

for me this error shows up, i dont know if i am doing something wrong, im a newbie linux user

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 13:09 #313077 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner
@tiagounderground
are you able to compile linuxcnc the usual way on your system (ie do a regular rip install)?

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 13:10 - 24 Oct 2024 13:14 #313078 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner
@Grotius
Unfortunately that does not seem to fix it:

linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
tpmod: dlopen: liblinuxcnchal.so.0: cannot open shared object file: No such file or directory
 

[edit]
You should be able to reproduce this by removing 'liblinuxcnchal.so.0' from your 'root/lib' folder.
Last edit: 24 Oct 2024 13:14 by Aciera.
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 15:08 #313096 by Grotius
Replied by Grotius on topic linuxcnc trajectory planner
Hi Arciera,

Thanks.

I repaired a mistake. The tpmod.so was pointing to the ~/rtlib instead of ~/lib path for finding liblinuxcnchal.so

However my 2 tests worked:
Removed the ~/lib & ~/rtlib content, removed all build dirs. And did ./installer
It just worked.

Then i cloned a new linuxcnc_trajectory_planner into a testdir. Then ./installer.
I worked.

If above isnt working, curious what happens if:
Me thinking your pc is not searching the ~/lib dir.
if you are in the ~/lib dir and do : sudo ldconfig .
The same in the ~/rtlib dir and do : sudo ldconfig .


 
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 15:21 #313099 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner
Still does not work.

f you are in the ~/lib dir and do : sudo ldconfig .
The same in the ~/rtlib dir and do : sudo ldconfig .

the commands execute without any output. Trying to a config still fails with the same error. Running ./installer again and opening a config also still fails with the same error.
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 16:46 #313107 by Grotius
Replied by Grotius on topic linuxcnc trajectory planner
Hi Arciera,

Was able to produce the error. This time it could not find clothoid.so
Then i looked into hal-core, how that start's normally.

It uses these lines in the startup script:

# Set the ~/lib path to be found by the system.
sudo ldconfig $(pwd)/../lib
sudo ldconfig $(pwd)/../rtlib

Now these are added here.

This then solved the startup error.
Fingers crossed.






 

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 16:58 - 24 Oct 2024 17:14 #313111 by tiagounderground
halui (62639) halui: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/sim_spindle_encoder.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/axis_manualtoolchange.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/simulated_home.hal
Found file(lib): /home/cnc/linuxcnc_trajectory_planner/lib/hallib/check_xyz_constraints.hal
Found file(REL): ./cooling.hal
./cooling.hal:7: Pin 'iocontrol.0.lube' does not exist
Shutting down and cleaning up LinuxCNC...


USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/cnc/linuxcnc_debug.txt
and
    /home/cnc/linuxcnc_print.txt


now it shows this error
./cooling.hal:7: Pin 'iocontrol.0.lube' does not exist


maybe in conflict with my old configs? i see the ini file is in the same location from my stable linuxcnc config


edit2
deleting the old files made it work but now there is a new error, but linuxcnc started

USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
link (updating variable file): No such file or directory


edit 3
another error
Reading state information... Done
E: Unable to locate package libbrotlicommon1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cnc/linuxcnc_trajectory_planner/cmake/libclothoids/build


 
Last edit: 24 Oct 2024 17:14 by tiagounderground.
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

More
24 Oct 2024 17:20 #313115 by Aciera
Replied by Aciera on topic linuxcnc trajectory planner

USRMOT: ERROR: command 30 timeout


This error message can be ignored.
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds
Powered by Kunena Forum