Package Details: openscad-git 20201217-1

Git Clone URL: (read-only, click to copy)
Package Base: openscad-git
Description: The programmers solid 3D CAD modeller
Upstream URL:
Licenses: GPL2
Conflicts: openscad
Provides: openscad
Submitter: None
Maintainer: keenerd
Last Packager: keenerd
Votes: 18
Popularity: 0.000000
First Submitted: 2011-02-25 03:29 (UTC)
Last Updated: 2020-12-24 04:08 (UTC)

Latest Comments

gyscos commented on 2022-04-12 13:22 (UTC) (edited on 2022-04-12 15:51 (UTC) by gyscos)

It seems this package no longer builds:

  • The icons have been moved from the icons folder into the resources/icons folder
  • -DOFFLINE_DOCS=ON was failing on my machine; the file fails to download (EDIT: At least that one is now fixed upstream). But note that this documentation is not currently included in the built package, so...

As a result, this is the build() and package() functions I'm using:

build() {
  cd "$_gitname"
  git submodule init 
  git config submodule.libraries/MCAD.url "$srcdir/MCAD"
  git submodule update                                  

  convert "resources/icons/openscad.png" -resize 128x128\> "resources/icons/openscad-128.png"

  mkdir -p build
  cd build

package() {
  cd "$_gitname"
  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"
  cd build
  make DESTDIR="$pkgdir"  install

rc.poison commented on 2021-09-03 09:54 (UTC)

qmake support has been removed, here's an updated build/package:

build() {
cd "$_gitname"
git submodule update --init

convert "icons/openscad.png" -resize 128x128\> "icons/openscad-128.png"

mkdir -p build
cd build

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

zoe1337 commented on 2020-10-04 10:56 (UTC)

please add qt5-gamepad as dependency

steinbuch commented on 2019-11-02 20:59 (UTC)

openscad can't be linked to current boost::re

gig commented on 2019-10-10 08:47 (UTC)

Could you add the lib3mf for the 3mf export and import feature please?

vidra commented on 2019-05-06 14:39 (UTC)

the ">" needs to be removed from the line convert "icons/openscad.png" -resize 128x128 "icons/openscad-128.png"

zhou13 commented on 2019-01-16 03:17 (UTC)

Could you add CONFIG+=experimental to the qmake-qt5? Otherwise experimantal features are not enabled.

Lanzouille commented on 2018-10-20 16:10 (UTC) (edited on 2018-10-20 16:22 (UTC) by Lanzouille)

Build fails with segfault in imagemagick :

ligne 28 : 18374 Erreur de segmentation (core dumped)convert "icons/openscad.png" -resize 128x128\> "icons/openscad-128.png"

works if I remove the \.

stuartpb commented on 2018-10-15 21:40 (UTC)

As this produces a development binary, shouldn't line 34 of the PKGBUILD be qmake-qt5 PREFIX="/usr" VERSION="$pkgver" CONFIG+=experimental, per ?

keenerd commented on 2018-08-04 23:02 (UTC)


I agree it would be great if I could make the pkgver better, but the repo needs to be organized in a certain way for that to work. I have an alternative pkgver function commented out, if you would like the pkgver to be "" however.

yar commented on 2018-08-03 20:55 (UTC)

It would also be great if you could switch to a more modern pkgver function that includes a tag name and commit hash. Thanks.

yar commented on 2018-08-03 07:30 (UTC)

Came here to report the same thing as @xoan and @borrelnoot. Please add libzip & qt5-multimedia as dependencies.

borrelnoot commented on 2018-06-17 21:47 (UTC)

I had too add libzip + qt5-multimedia before I could build the package.

xoan commented on 2018-05-27 21:13 (UTC) (edited on 2018-05-28 06:40 (UTC) by xoan)

OpenSCAD now plays a sound when render is complete:

qt5-multimedia should be added as a dependency.

Project ERROR: Unknown module(s) in QT: multimedia

keenerd commented on 2018-01-19 19:15 (UTC)

No it should not.

xoan commented on 2018-01-08 10:15 (UTC)

boost has been upgraded in the official repositories, so pkgrel in this package should be incremented.

daijizai commented on 2017-11-09 14:43 (UTC)

add depends ccache make: ccache: Command not found make: *** [Makefile:1700: objects/scintillaeditor.o] Error 127 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build openscad-git

keenerd commented on 2017-06-07 18:41 (UTC)

Please learn how to use the AUR. You are responsible for rebuilding any unofficial packages installed.

xoan commented on 2017-06-07 17:44 (UTC)

Rebuild is needed due cgal (4.9.1 -> 4.10) update: openscad: error while loading shared libraries: cannot open shared object file: No such file or directory

keenerd commented on 2017-02-25 14:45 (UTC)

Builds find here.

heczis commented on 2017-01-10 09:05 (UTC)

In build, I get stuff like this:[_ZN5boost16re_detail_10610012perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISC_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE12extend_stackEv]+0x18): undefined reference to `boost::re_detail_106100::get_mem_block()' collect2: error: ld returned 1 exit status make: *** [Makefile:876: openscad] Error 1

sl1pkn07 commented on 2016-12-26 18:03 (UTC)

openscad-git E: Dependency libzip detected and not included (libraries ['usr/lib/'] needed in files ['usr/bin/openscad'])

gregor commented on 2015-12-14 17:25 (UTC) (edited on 2015-12-14 17:49 (UTC) by gregor)

i tried to install but i get the following: ... yacc -d -p parser -b parser src/parser.y make: yacc: Command not found Makefile:1201: recipe for target 'parser_yacc.h' failed make: *** [parser_yacc.h] Error 127 ==> ERROR: A failure occurred in build(). UPDATE: bison was missing. somebody should add it to the dependencies

keenerd commented on 2015-05-31 13:12 (UTC)

Doesn't run entirely fine, you will occasionally get large black squares over the UI. But now you can help debug those.

stevenhoneyman commented on 2015-05-23 12:00 (UTC)

Please update to qt5. It's supported and compiles and runs fine without any modifications needed.

yar commented on 2014-09-23 22:59 (UTC)

Looks like this needs to depend on 'qscintilla'.

keenerd commented on 2014-02-28 19:04 (UTC)

Working pkgbuild:

danmilon commented on 2014-02-19 20:43 (UTC)

Ignore my previous comment. Hadn't synced pacman recently.

danmilon commented on 2014-02-19 20:41 (UTC)

Some dependencies fail. Any idea? ==> Install or build missing dependencies for openscad-git: error: target not found: cgal error: target not found: opencsg

grunch commented on 2013-12-16 13:56 (UTC)

Anybody else reporting SIGSEGV with the current version(s) of openscad? I'm experiencing this when trying to Compile and Render (CGAL) any model. This happens with both the "openscad-git" and the "openscad" AUR packages. *And* it happens on my Gentoo installation with the same version of openscad. I'm thinking it's an upstream issue, but thought I would check here first.

jynnantonix commented on 2013-03-13 18:53 (UTC)

My mistake, eigen2 is in [extra]

jynnantonix commented on 2013-03-13 18:52 (UTC)

Dependency 'eigen' does not exist - it needs to be replaced with either eigen2 from [community] or eigen3 from the AUR. Openscad supports both of them. Also, you dont need '|| return 1' in your PKGBUILD. makepkg will automatically exit if there was an error in the build. And once pacman 4.1 comes out, you will no longer be allowed to access $pkgdir in the build() function

commented on 2013-03-11 17:49 (UTC)

@nickoe Thanks for the report. I fixed the pkgbuild. It worked for me, after making sure I had recent versions of cgal, eigen and opencsg (they are all available via AUR). Please try again. Be aware this is a git build. Stuff can break upstream anytime.

nickoe commented on 2013-03-02 00:57 (UTC)

Update depend qt to qt4, according to And I had to replace qmake with qmake-qt4 to make it _try_ to build. My build was not successfull at the moment.

mrbit commented on 2011-12-20 18:50 (UTC)

eigen ??? AUR???

commented on 2011-12-19 14:57 (UTC)

@bukwirm I would not do this, it might lead to crashes. I guess what happened is actually you compiled openscad and then the boost-lib package was updated. Thus openscad lost the link to the old lib. You simply would have to recompile openscad again to get it linked (and more important compiled) against the newer lib version. Hope that helps

commented on 2011-12-15 18:05 (UTC)

Linked /usr/lib/ to /usr/lib/ - probably not the best solution but it's working for now.

commented on 2011-12-15 03:44 (UTC)

I am getting a runtime error: openscad: error while loading shared libraries: cannot open shared object file: No such file or directory I do have installed in /usr/lib.

commented on 2011-11-08 05:45 (UTC)

@gatonero: Sorry did overlook your post. Should be ok now. There was a patch necessary previously due to some difference in library naming. Seems that changed over time. I uploaded a corrected version of PKGBUILD. Please try

gatonero commented on 2011-06-11 22:19 (UTC)

I get a runtime error: openscad: error while loading shared libraries: cannot open shared object file: No such file or directory

commented on 2011-05-28 05:29 (UTC)

@Harvie Please check again, the PKGBUILD contained already a patch to compile against I'm not aware of different named libboost_thread libs for Arch. If so, I will modify the PKGBUILD to test which version exist on the present system. Anyhow, this should be solved within PKGBUILD process itself and not by symlink directly on the host system since it would break the way of arch package building afaik.

Harvie commented on 2011-05-27 16:32 (UTC)

cd /usr/lib; ln -s (library is named differently on some systems)

gatonero commented on 2011-03-17 21:35 (UTC)

Compile error: /usr/bin/ld: cannot find -lboost_thread-mt collect2: ld gab 1 als Ende-Status zurück make: *** [openscad] Fehler 1 Breche ab ... ==> ERROR: Makepkg was unable to build openscad-git.

commented on 2011-02-25 03:30 (UTC)

This is the replacement for openscad-svn. The project moved over to a git repository.