linuxcnc cmake project
- making
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
25 Nov 2022 01:21 #257590
by making
Replied by making on topic linuxcnc cmake project
Hello, can I contact you? I come from China
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
25 Nov 2022 17:09 #257630
by Grotius
Replied by Grotius on topic linuxcnc cmake project
Hi,
If you have a github account, just open a issue there : github.com/grotius-cnc/linuxcnc
so i can verify you are no scammer.
Nomally it's usefull to start a conversation just here, so everyone can enjoy the open source show.
If you have a github account, just open a issue there : github.com/grotius-cnc/linuxcnc
so i can verify you are no scammer.
Nomally it's usefull to start a conversation just here, so everyone can enjoy the open source show.
The following user(s) said Thank You: tommylight, pommen, chris@cnc
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
30 Nov 2022 14:19 #258123
by TheRoslyak
Replied by TheRoslyak on topic linuxcnc cmake project
Hi Grotius
Welcome back)
Welcome back)
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
30 Nov 2022 16:32 #258142
by Grotius
Replied by Grotius on topic linuxcnc cmake project
Hello theRoslyak.
Everything ok with you?
Everything ok with you?
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
30 Nov 2022 16:44 #258144
by TheRoslyak
Replied by TheRoslyak on topic linuxcnc cmake project
Everything is fine. How are you?
I have a lot of questions for you and have something to discuss.
But I think in a other topic)
I have a lot of questions for you and have something to discuss.
But I think in a other topic)
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
13 Oct 2023 12:13 #282889
by Grotius
Replied by Grotius on topic linuxcnc cmake project
Hi,
I finally got the axis gui running using the cmake build system only.
This is kind of a milestone.
One great advantage of this, is coding the entire linuxcnc in a program like qt.
User can simply open the cmakelists.txt in qt.
Programmer has bird eye view of all the linuxcnc source code, library's and involved code without any compromise.
To test the cmake build yourself :
If you build linuxcnc with qt, don't forget to do the install after the build command.
I finally got the axis gui running using the cmake build system only.
This is kind of a milestone.
One great advantage of this, is coding the entire linuxcnc in a program like qt.
User can simply open the cmakelists.txt in qt.
Programmer has bird eye view of all the linuxcnc source code, library's and involved code without any compromise.
To test the cmake build yourself :
- Download the archive : github.com/grotius-cnc/dump/releases/download/1.10/cmake.tar.gz
- Unpack the archive in the linuxcnc source directory : $ tar -xvzf cmake.tar.gz
- Run the build script in ~/cmake/ by ./build_all
- This will start up the axis gui.
If you build linuxcnc with qt, don't forget to do the install after the build command.
The following user(s) said Thank You: tommylight, bkt
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
13 Oct 2023 16:08 #282903
by Grotius
Replied by Grotius on topic linuxcnc cmake project
Another way to try the cmake project is to clone the repository. This will start up the axis gui after install is fertig.
Have fun.
$ git clone https://github.com/grotius-cnc/linuxcnc
$ cd linuxcnc/cmake
$ ./build_all
Have fun.
The following user(s) said Thank You: tivoi
Please Log in or Create an account to join the conversation.
- tivoi
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 19
31 Oct 2023 14:15 #284188
by tivoi
Replied by tivoi on topic linuxcnc cmake project
hi i have errors build
[ 33%] Building CXX object components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/home/cnc/linuxcnc/src/emc/tp/tp_arcs.cpp.o
In file included from /home/cnc/linuxcnc/src/emc/tp/tp_arcs.cpp:1:
/home/cnc/linuxcnc/src/emc/tp/tp_arcs.h:14:10: fatal error: Dense: No such file or directory
14 | #include <Dense>
| ^~~~~~~
compilation terminated.
make[2]: *** [components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/build.make:104: components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/home/cnc/linuxcnc/src/emc/tp/tp_arcs.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1740: components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
start linuxcnc
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/scripts/../configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
/home/cnc/linuxcnc/scripts/linuxcnc: line 495: update_ini: command not found
update script failed in an unexpected way.
LinuxCNC terminated with an error. You can find more information in the log:
regards
[ 33%] Building CXX object components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/home/cnc/linuxcnc/src/emc/tp/tp_arcs.cpp.o
In file included from /home/cnc/linuxcnc/src/emc/tp/tp_arcs.cpp:1:
/home/cnc/linuxcnc/src/emc/tp/tp_arcs.h:14:10: fatal error: Dense: No such file or directory
14 | #include <Dense>
| ^~~~~~~
compilation terminated.
make[2]: *** [components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/build.make:104: components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/home/cnc/linuxcnc/src/emc/tp/tp_arcs.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1740: components/tpmod_scurve/CMakeFiles/tpmod_scurve.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
start linuxcnc
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/scripts/../configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
/home/cnc/linuxcnc/scripts/linuxcnc: line 495: update_ini: command not found
update script failed in an unexpected way.
LinuxCNC terminated with an error. You can find more information in the log:
regards
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 1984
31 Oct 2023 14:50 #284193
by Grotius
Replied by Grotius on topic linuxcnc cmake project
Hi Tivoli,
Thanks for reporting me this error. Dense is part of the eigen lib.
$ sudo apt-get install libeigen3-dev
Thanks for reporting me this error. Dense is part of the eigen lib.
$ sudo apt-get install libeigen3-dev
Please Log in or Create an account to join the conversation.
- tivoi
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 19
01 Nov 2023 04:22 #284234
by tivoi
Replied by tivoi on topic linuxcnc cmake project
hi , thanks you Grotius
build finish but cant start
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/scripts/../configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod_scurve HOMEMOD=homemod EMCMOT=motmod_scurve
Waiting for component 'tpmod_scurve' to become ready...Waited 3 seconds for master. giving up.
Note: Using POSIX non-realtime
Found file(lib): /home/cnc/linuxcnc/lib/hallib/core_sim.hal
tpCreate. set tp->queuesize to: 2000
tpSetCycleTime to: 0.001000
ddt: dlopen: /home/cnc/linuxcnc/rtlib/ddt.so: cannot open shared object file: No such file or directory
/home/cnc/linuxcnc/lib/hallib/core_sim.hal:9: waitpid failed /home/cnc/linuxcnc/bin/rtapi_app ddt
/home/cnc/linuxcnc/lib/hallib/core_sim.hal:9: /home/cnc/linuxcnc/bin/rtapi_app exited without becoming ready
/home/cnc/linuxcnc/lib/hallib/core_sim.hal:9: insmod for ddt failed, returned -1
Shutting down and cleaning up LinuxCNC...
/home/cnc/linuxcnc/bin/linuxcnc: line 668: /home/cnc/linuxcnc/scripts/axis-remote: cannot execute: required file not found
USRMOT: ERROR: command 31 timeout
emcMotionInit: emcTrajInit failed
Note: Using POSIX non-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
as well as in the output of the shell command 'dmesg' and in the terminal
cnc@debian:~/linuxcnc/cmake$ uname -a
Linux debian 6.1.0-13-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
regrads
build finish but cant start
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/scripts/../configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod_scurve HOMEMOD=homemod EMCMOT=motmod_scurve
Waiting for component 'tpmod_scurve' to become ready...Waited 3 seconds for master. giving up.
Note: Using POSIX non-realtime
Found file(lib): /home/cnc/linuxcnc/lib/hallib/core_sim.hal
tpCreate. set tp->queuesize to: 2000
tpSetCycleTime to: 0.001000
ddt: dlopen: /home/cnc/linuxcnc/rtlib/ddt.so: cannot open shared object file: No such file or directory
/home/cnc/linuxcnc/lib/hallib/core_sim.hal:9: waitpid failed /home/cnc/linuxcnc/bin/rtapi_app ddt
/home/cnc/linuxcnc/lib/hallib/core_sim.hal:9: /home/cnc/linuxcnc/bin/rtapi_app exited without becoming ready
/home/cnc/linuxcnc/lib/hallib/core_sim.hal:9: insmod for ddt failed, returned -1
Shutting down and cleaning up LinuxCNC...
/home/cnc/linuxcnc/bin/linuxcnc: line 668: /home/cnc/linuxcnc/scripts/axis-remote: cannot execute: required file not found
USRMOT: ERROR: command 31 timeout
emcMotionInit: emcTrajInit failed
Note: Using POSIX non-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
as well as in the output of the shell command 'dmesg' and in the terminal
cnc@debian:~/linuxcnc/cmake$ uname -a
Linux debian 6.1.0-13-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
regrads
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds