linuxcnc cmake project

More
3 years 11 months ago #257590 by making
Replied by making on topic linuxcnc cmake project
Hello, can I contact you? I come from China

Please Log in to join the conversation.

More
3 years 11 months ago #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.







 

Please Log in to join the conversation.

More
3 years 11 months ago #258123 by TheRoslyak
Replied by TheRoslyak on topic linuxcnc cmake project
Hi Grotius
Welcome back)

Please Log in to join the conversation.

More
3 years 11 months ago #258142 by Grotius
Replied by Grotius on topic linuxcnc cmake project
Hello theRoslyak.

Everything ok with you?

Please Log in to join the conversation.

More
3 years 11 months ago #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)

Please Log in to join the conversation.

More
3 years 2 weeks ago #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 :
  1. Download the archive : github.com/grotius-cnc/dump/releases/download/1.10/cmake.tar.gz
  2. Unpack the archive in the linuxcnc source directory :  $ tar -xvzf cmake.tar.gz
  3. Run the build script in ~/cmake/ by ./build_all
  4. This will start up the axis gui.
For questions, you can contact me : github.com/grotius-cnc/contact

If you build linuxcnc with qt, don't forget to do the install after the build command.

Please Log in to join the conversation.

More
3 years 2 weeks ago #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.
Code:
$ git clone https://github.com/grotius-cnc/linuxcnc $ cd linuxcnc/cmake $ ./build_all

Have fun.


 

Please Log in to join the conversation.

More
3 years 7 hours ago #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

Please Log in to join the conversation.

More
3 years 7 hours ago #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
 

Please Log in to join the conversation.

More
2 years 11 months ago #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

Please Log in to join the conversation.

Time to create page: 0.129 seconds
Powered by Kunena Forum