Package Details: openscad-git r11070.6db5adc-1

Git Clone URL: https://aur.archlinux.org/openscad-git.git (read-only, click to copy)
Package Base: openscad-git
Description: The programmers solid 3D CAD modeller
Upstream URL: https://github.com/openscad/openscad
Licenses: GPL2
Conflicts: openscad
Provides: openscad
Submitter: None
Maintainer: TurtleRuss
Last Packager: TurtleRuss
Votes: 20
Popularity: 0.93
First Submitted: 2011-02-25 03:29 (UTC)
Last Updated: 2024-06-05 10:32 (UTC)

Required by (21)

Sources (1)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

uberben commented on 2024-05-20 16:35 (UTC)

It looks like lib3mf is a new dependency

das-Iro commented on 2024-03-11 16:40 (UTC)

flex and bison are required, perhaps only as build dependency

uberben commented on 2024-02-04 16:34 (UTC)

I was able to get this to build by adding #define GLM_ENABLE_EXPERIMENTAL just before #include <glm/gtx/compatibility.hpp in openscad-git/src/openscad/submodules/manifold/src/utilities/include/public.h. There is probably a better way to do it through the pkgbuild, but I just did a ninja edit after it cloned everything in but hadn't build that submodule yet.

xythobuz commented on 2024-01-26 01:49 (UTC)

Tried to build this package on two machines. On one, glm was not installed, so CMake failed due to the missing dependency. On the other one, glm is installed, but the build failed with the error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." For GLM_GTX_transform, GLM_GTX_rotate_vector and GLM_GTX_compatibility.

jlefler commented on 2024-01-04 22:37 (UTC)

With a clean build, OpenSCAD crashes when attempting to export to STL. The (ancient) non-git version of OpenSCAD package does not. The problem appears to be related to the dialog that OpenSCAD shows to pick the filename to save to. Reports on the OpenSCAD git lead me to think there might be some relationship to icons, but the only error I get in the console is: [1] 786643 segmentation fault (core dumped) openscad --debug all

Is it possible we have a library we need that isn't listed as a dependency? Any advice on how I can start debugging this?

p60091 commented on 2023-05-22 01:45 (UTC) (edited on 2023-05-22 01:57 (UTC) by p60091)

After applying the following, it builds successfully in clean chroot; the patch adds tbb dependency and submodule pull:

@@ -21,7 +21,8 @@ depends=(
        'qt5-base'
        'qt5-gamepad'
        'qt5-multimedia'
-       'qt5-svg')
+       'qt5-svg'
+       'tbb')
 makedepends=('git' 'boost' 'cmake' 'eigen' 'imagemagick' 'python')
 source=("$_pkg::git+$url"
         'MCAD::git+https://github.com/openscad/MCAD'
@@ -41,6 +42,7 @@ prepare() {
        git config submodule.libraries/MCAD.url "$srcdir/MCAD"
        git -c protocol.file.allow=always submodule update
        sed -i 's/ping files.openscad.org/ping archlinux.org/' resources/CMakeLists.txt
+       git submodule update --init --recursive
 }

 build() {

gyscos commented on 2023-05-08 14:50 (UTC)

Hi, this package does not seem to currently build properly? It looks like it may be missing some (recursive) submodules.

cmsigler commented on 2022-11-12 15:29 (UTC) (edited on 2022-11-12 15:34 (UTC) by cmsigler)

Hi,

In my testing, @wallace11 patch needs this stanza added to it:

@@ -56,8 +56,8 @@

 package() {
   cd "$_gitname/build"
-  make INSTALL_ROOT="$pkgdir"  install
-  cd "$_gitname"
+  make DESTDIR="$pkgdir"  install
+  cd ..
   install -Dm644 "resources/icons/openscad.desktop" "$pkgdir/usr/share/applications/openscad.desktop"
   install -Dm644 "resources/icons/openscad-128.png" "$pkgdir/usr/share/pixmaps/openscad.png"
 }

After adding that it builds successfully in a clean chroot :)

Patch posted at https://pastebin.com/BfbMVN41 -- HTH!

Clemmitt

wallace11 commented on 2022-11-07 00:01 (UTC)

A patch for successfully building in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index 491ac28..98bd84e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,8 @@ url="http://openscad.org/"
 provides=('openscad')
 conflicts=('openscad')
 depends=('qt5-base' 'qscintilla-qt5' 'cgal' 'opencsg' 'boost-libs'
-         'qt5-multimedia' 'libzip' 'qt5-gamepad')
-makedepends=('git' 'boost' 'eigen' 'imagemagick' 'ccache')
+         'qt5-multimedia' 'libzip' 'qt5-gamepad' 'qt5-svg')
+makedepends=('git' 'boost' 'eigen' 'imagemagick' 'ccache' 'cmake' 'python')
 source=('git+https://github.com/openscad/openscad.git'
         'git+https://github.com/openscad/MCAD.git'
         'git+https://github.com/microsoft/mimalloc.git')

dack commented on 2022-09-15 23:44 (UTC)

This is missing a build dependency for cmake. Cmake is not part of base-devel, so build fails in a clean chroot.