opescad fail to compile [solved]
i edited the very very old slackbuild from 2015
I Downloaded the 2021.01 sources but it fail to compile it say | make: *** [Makefile:3049: objects/src/scadapi.o] Error 1 anyone can check why it fail? Code:
#!/bin/sh |
Are you running 14.2 or -current?
Have you checked to make sure you have all the prerequisites from the readme in 2021-10? * [Qt (5.4 ->)](https://qt.io/) * [QScintilla2 (2.9 ->)](https://riverbankcomputing.com/software/qscintilla/) * [CGAL (4.9 ->)](https://www.cgal.org/) * [GMP (5.x)](https://gmplib.org/) * [MPFR (3.x)](https://www.mpfr.org/) * [cmake (2.8 ->, required by CGAL and the test framework)](https://cmake.org/) * [boost (1.55 ->)](https://www.boost.org/) * [OpenCSG (1.3.2 ->)](http://www.opencsg.org/) * [GLEW (1.5.4 ->)](http://glew.sourceforge.net/) * [Eigen (3.x)](https://eigen.tuxfamily.org/) * [glib2 (2.x)](https://developer.gnome.org/glib/) * [fontconfig (2.10 -> )](https://fontconfig.org/) * [freetype2 (2.4 -> )](https://freetype.org/) * [harfbuzz (0.9.19 -> )](https://www.freedesktop.org/wiki/Software/HarfBuzz/) * [libzip (0.10.1 -> )](https://libzip.org/) * [Bison (2.4 -> )](https://www.gnu.org/software/bison/) * [Flex (2.5.35 -> )](http://flex.sourceforge.net/) * [pkg-config (0.26 -> )](https://www.freedesktop.org/wiki/Software/pkg-config/) * [double-conversion (2.0.1 -> )](https://github.com/google/double-conversion/) my 14.2 system doesn't have double-conversion for example so that must be a requirement of the newer version of OpenScad as I have the 2015 version installed |
im running current and i already installed double-conversion. All my packages are higher version than that list.
could be the problem that is building with qmake but qmake is set to qt4 instead of qt5? qmake --version QMake version 2.01a Using Qt version 4.8.7 in /usr/lib64/qt/lib i deleted qt 4.8.7 and now it say qmake --version QMake version 3.1 Using Qt version 5.15.2 in /usr/lib64 but when compiling i got this ./openscad.SlackBuild: line 72: qmake: command not found edit: i was able to compile it but i had to change a few things for example i had to set the full path of qmake #!/bin/sh Code:
# Slackware build script for OpenSCAD |
You beat me to it, once you said -current I was going to point you to https://github.com/Ponce/slackbuilds...phics/openscad
Is 2021 version a lot different from the old 2015? I've using openscad and slic3r for 3d printing |
Thanks enine!!! i got the package working with the changes i did to the slackbuild yesterday, a pity i didnt see that earlier,
anyway qmake-qt5 good to know i dont have to use the full path. |
All times are GMT -5. The time now is 01:00 AM. |