Closed joco-nz closed 10 months ago
https://askubuntu.com/questions/397432/fatal-error-gtk-gtk-h-no-such-file-or-directory-using-make
In our cmake we used the gtk2 directory "usr/include/gtk-2.0" to compile classicladder for example.
I suggest this will sove it:
$ sudo apt-get install libgtk2.0-dev
That worked for the build. Suggest adding that to the dependency part of the make script like the other lib.
The build script finishes trying to run the axis_mm.ini sim. However that fails. I manually sourced the rip_environment script but also no joy.
Can you try to build linuxcnc the original way and start a axis gui? This would help in problem solving.
okay tested. This is what I did and what I found.
went did a normal linuxcnc compile from src dir. Got the autogen and configure setup and the started with 'make clean' then 'make -j3'.
source ../scripts/rip-environment
run linuxcnc and chose axis mm. Works!
make clean. cd to cmake. build_all. Buidls script tries to start axis, fails.
cd back to src. make clean. make - j3
cd back to cmake. build_all. Build completes and script successfully runs axis with new s-curve module.
cd back to src. make clean.
cd back to cmake. build_all (fails to run axis as expected). Then manually run linuxcnc from command line and select axis_mm. Error with text attached. error.txt
Thanks Joco for your research.
Compile error solved in build script, changed build system to build first lcnc original. Then overwriting the build with cmake.
Compile dependency issue. Environment is configured and proven to compile standard linuxcnc from master. Output from cmake attached.
Issue: error with missing gtk.h
cmake_out.txt