Package Details: openscad-git r11829.7962867-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: frysztak
Last Packager: frysztak
Votes: 24
Popularity: 1.16
First Submitted: 2011-02-25 03:29 (UTC)
Last Updated: 2025-12-17 12:40 (UTC)

Required by (25)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

sausix commented on 2026-01-03 16:51 (UTC)

If the Wayland issue is unfixable, here's a custom desktop file which you can place at ~/.local/share/applications/openscad.desktop:

[Desktop Entry]
Type=Application
Version=1.0
Name=OpenSCAD (XWayland)
Comment=The Programmers Solid 3D CAD Modeller (XWayland)
Icon=openscad
Exec=env QT_QPA_PLATFORM=xcb openscad %f
StartupWMClass=org.openscad.openscad
MimeType=application/x-openscad;
Categories=Graphics;3DGraphics;Engineering;
Keywords=3d;solid;geometry;csg;model;stl;
Actions=Wayland;

[Desktop Action Wayland]
Name=Default start maybe with Wayland
Exec=openscad %f
Comment=The Programmers Solid 3D CAD Modeller (default start)

It forces OpenSCAD to XWayland on a pure Wayland system (QT_QPA_PLATFORM=wayland) by default. You can right click and choose the default startup any time.
Don't forget update-desktop-database to apply or reboot.

sausix commented on 2026-01-03 16:26 (UTC)

3D view doesn't show up on Plasma+Wayland+Nvidia.

ERROR: Framebuffer Objects not supported
ERROR: MouseSelector: Failed to create framebuffer; disabling mouse selection.
.../openscad-git/src/openscad/src/glview/ShaderUtils.cc: OpenGL vertex shader Error:
0(2) : error C0201: unsupported version 120
0(3) : error C7532: global type vec3 requires "#version 100" or later
0(7) : error C7532: global type float requires "#version 100" or later
0(8) : error C7532: global type vec4 requires "#version 100" or later
0(11) : error C7532: global variable gl_Position requires "#version 100" or later
0(11) : error C7614: OpenGL/ES doesn't allow use of reserved word gl_ModelViewProjectionMatrix
0(11) : error C7532: global variable gl_ModelViewProjectionMatrix requires "#version 100" or later
0(11) : error C0000: ... or #extension GL_ARB_compatibility : enable
0(11) : error C7614: OpenGL/ES doesn't allow use of reserved word gl_Vertex
0(11) : error C7532: global variable gl_Vertex requires "#version 100" or later
0(11) : error C0000: ... or #extension GL_ARB_compatibility : enable
0(14) : error C7614: OpenGL/ES doesn't allow use of reserved word gl_NormalMatrix
0(14) : error C7532: global variable gl_NormalMatrix requires "#version 100" or later
0(14) 

I already tried moving away from EGL: -DENABLE_EGL=OFF -DUSE_GLEW=ON. But only forced XWayland works for me: QT_QPA_PLATFORM=xcb openscad

frysztak commented on 2025-12-23 10:43 (UTC)

now that lib3mf 2.4.1-2 has been released, openscad builds without any workarounds

aeonik commented on 2025-12-22 15:18 (UTC) (edited on 2025-12-22 15:18 (UTC) by aeonik)

@frysztak

I looked into this, apparently the root cause is: lib3mf 2.4.1-1 ships a broken pkg-config file.

On Arch, the installed file: /usr/lib/pkgconfig/lib3mf.pc

contains build-tree paths instead of install-tree paths:

 libdir=${exec_prefix}//build/lib3mf/src/lib
 includedir=${prefix}//build/lib3mf/src/include/lib3mf

Those directories do not exist on the system after installation.

The Arch lib3mf package needs to regenerate/install lib3mf.pc with:

includedir=/usr/include/lib3mf
libdir=/usr/lib

My workaround without downgrading 3MF is as follows:

sudo install -d /usr/local/lib/pkgconfig
sudo tee /usr/local/lib/pkgconfig/lib3mf.pc >/dev/null <<'EOF'
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/lib3mf

Name: lib3mf
Description: An implementation of the 3D Manufacturing Format file standard
Version: 2.4.1
Libs: -L${libdir} -l3mf
Cflags: -I${includedir}
Requires.private: libzip zlib
EOF

And ensure pkg-config sees it (Arch uses pkgconf) pkgconf does not search /usr/local by default. Build with:

PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig" yay -S openscad-git

frysztak commented on 2025-12-17 17:06 (UTC)

@mattaw it seems that lib3mf 2.4.1-1 breaks some CMake stuff, so until that's resolved all you do is to downgrade to lib3mf to 2.3.2-3

mattaw commented on 2025-12-17 15:33 (UTC) (edited on 2025-12-17 15:34 (UTC) by mattaw)

(This is my first AUR comment, hopefully its useful and at least semi-complete!)

I'm having an error about missing lib3MF after a clean build, but it is installed. Here are the prereqs successfully installed with yay -S openscad-git:

cachyos-extra-znver4/boost  1.89.0-3.2   187.05 MiB
extra/cgal                  6.1-1         40.76 MiB
cachyos-extra-znver4/eigen  5.0.1-1.1     17.73 MiB
extra/lib3mf                2.4.1-1       13.37 MiB
extra/qscintilla-qt6        2.14.1-4       6.70 MiB

Part of compile log with error:

==> Starting build()...
... I snipped a bunch of lines ...
-- Bison: 3.8.2
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find Lib3MF (missing: Lib3MF_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindLib3MF.cmake:58 (find_package_handle_standard_args)
  CMakeLists.txt:719 (find_package)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

I'd include the full log, but it doesn't look like you can hide it or attach as a file.

TRex commented on 2025-12-03 23:10 (UTC)

Just installed this package on a new installation. It requires flex and bison to be installed - should be added to the deps.

frysztak commented on 2025-11-07 15:12 (UTC)

@gmhh, I added ".git", thanks @MrClear, you should report it upstream (though I think someone already did: https://github.com/openscad/openscad/issues/6243)

MrClear commented on 2025-11-07 12:26 (UTC) (edited on 2025-11-07 12:26 (UTC) by MrClear)

After last system update, I cannot see anything in the OpenSCAD view. Not even the axis. Same with openscad-qt6-git. openscad from extra works but is hopelessly outdated. openscad-snapshot-appimage works too but doesn't find the installed libraries.

This is the stderr output:

kf.iconthemes: Icon theme "" not found.
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n8.0 GPL version 3 or later
parseSampleFormat: parse error "Object: size 144, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)" "  Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000" "    Id 1        (Spa:Enum:MediaType:audio)" "  Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000" "    Id 3        (Spa:Enum:MediaSubtype:iec958)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:iec958Codec (65542), flags 00000000" "    Choice: type Spa:Enum:Choice:Enum, flags 00000000 24 4" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:rate (65539), flags 00000000" "    Choice: type Spa:Enum:Choice:Range, flags 00000000 28 4" "      Int 48000" "      Int 32000" "      Int 48000"
parseSampleFormat: parse error "Object: size 136, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)" "  Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000" "    Id 1        (Spa:Enum:MediaType:audio)" "  Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000" "    Id 3        (Spa:Enum:MediaSubtype:iec958)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:iec958Codec (65542), flags 00000000" "    Choice: type Spa:Enum:Choice:Enum, flags 00000000 24 4" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:rate (65539), flags 00000000" "    Choice: type Spa:Enum:Choice:None, flags 00000000 20 4" "      Int 48000"
parseSampleFormat: parse error "Object: size 144, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)" "  Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000" "    Id 1        (Spa:Enum:MediaType:audio)" "  Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000" "    Id 3        (Spa:Enum:MediaSubtype:iec958)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:iec958Codec (65542), flags 00000000" "    Choice: type Spa:Enum:Choice:Enum, flags 00000000 24 4" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "      Id 1        (Spa:Enum:AudioIEC958Codec:PCM)" "  Prop: key Spa:Pod:Object:Param:Format:Audio:rate (65539), flags 00000000" "    Choice: type Spa:Enum:Choice:Range, flags 00000000 28 4" "      Int 48000" "      Int 32000" "      Int 192000"
QSettings::setValue: Empty key passed
QSettings::setValue: Empty key passed
QSettings::setValue: Empty key passed
QSettings::setValue: Empty key passed
ERROR: Framebuffer Objects not supported
ERROR: MouseSelector: Failed to create framebuffer; disabling mouse selection.
/usr/src/debug/openscad-git/openscad/src/glview/ShaderUtils.cc: OpenGL vertex shader Error:
0(2) : error C0201: unsupported version 120
0(3) : error C7532: global type vec3 requires "#version 100" or later
0(7) : error C7532: global type float requires "#version 100" or later
0(8) : error C7532: global type vec4 requires "#version 100" or later
0(11) : error C7532: global variable gl_Position requires "#version 100" or later
0(11) : error C7614: OpenGL/ES doesn't allow use of reserved word gl_ModelViewProjectionMatrix
0(11) : error C7532: global variable gl_ModelViewProjectionMatrix requires "#version 100" or later
0(11) : error C0000: ... or #extension GL_ARB_compatibility : enable
0(11) : error C7614: OpenGL/ES doesn't allow use of reserved word gl_Vertex
0(11) : error C7532: global variable gl_Vertex requires "#version 100" or later
0(11) : error C0000: ... or #extension GL_ARB_compatibility : enable
0(14) : error C7614: OpenGL/ES doesn't allow use of reserved word gl_NormalMatrix
0(14) : error C7532: global variable gl_NormalMatrix requires "#version 100" or later
0(14)

gmhh commented on 2025-10-06 21:36 (UTC)

I cannot get this to build without editing

source=("$_pkg::git+$url.git")

into the PKGBUILD script as in @rc.poison 's comment

I get an error that I'm not on a branch if don't, but it builds perfectly fine if I do.

If I use an aur helper like yay, I get :

error fetching openscad-git: You are not currently on a branch.