Package Details: wings3d 2.3-1

Git Clone URL: (read-only, click to copy)
Package Base: wings3d
Description: 3D modeler using the winged edge data structure
Upstream URL:
Keywords: 3d modeler
Licenses: GPL
Submitter: sangy
Maintainer: xiota
Last Packager: xiota
Votes: 4
Popularity: 0.000004
First Submitted: 2021-07-28 00:39 (UTC)
Last Updated: 2024-01-16 00:10 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

ozz commented on 2024-01-15 21:39 (UTC) (edited on 2024-01-15 21:40 (UTC) by ozz)

Is it just me or is this broken?

To successfully compile it needs the following patch from upstream git:

diff --git a/plugins_src/import_export/wpc_yafaray.erl b/plugins_src/import_export/wpc_yafaray.erl
index e3ecb184..a36e79a2 100644
--- a/plugins_src/import_export/wpc_yafaray.erl
+++ b/plugins_src/import_export/wpc_yafaray.erl
@@ -4008,8 +4008,8 @@ export_blend_mat_shader(F, Name, Mat, ExportDir, YafaRay) ->

     Blend_Value = proplists:get_value(blend_value, YafaRay, ?DEF_BLEND_VALUE),

-    uniprintln(F, "  <material1 sval=\"""w_""\~ts\"/>~n"
-                  "        <material2 sval=\"""w_""\~ts\"/>~n"
+    uniprintln(F, "  <material1 sval=\"w_\~ts\"/>~n"
+                  "        <material2 sval=\"w_\~ts\"/>~n"
                   "        <blend_value fval=\"~.10f\"/>~n",
     foldl(fun ({modulator,Ps}=M, N) when is_list(Ps) ->

xiota commented on 2023-10-22 00:53 (UTC)

Adopted to update / fix. Anyone who wants to comaintain, let me know.

slomomojo commented on 2023-10-21 18:49 (UTC)

Sorry, I've been away most of the year with health issues so I'm no longer maintaining this. I should have released it back into the wild months ago.

ozz commented on 2023-07-21 02:50 (UTC) (edited on 2023-07-21 02:54 (UTC) by ozz)

I flagged this as out-of-date but I don't know if it's maintained any more? It's not really out of date as far as official releases but this official build didn't work. I have been using my own build for a long time and just tried to install this but got an error on file verification (the patch file IIRC). I'm not sure the patch is even needed any more(?). The latest git code seems to run OK but I don't know about the official release. Maybe the fix can be back-ported.

rezder commented on 2022-12-29 21:26 (UTC)

Hi Slomomojo I am looking forward to a solution, So I looked into this even though I am only wings user. Are you sure that the 3d is not causing the problem.

The erlang code is looking for wings not wings3d and often directories is used as packagenames. During make you add the srcdir without the 3d to ERL_LIBS are you sure erlang can finde the installed package without somthing similar at the current location and name.

I believe that erlang only looks in /usr/lib/erlang. I tried to add the 3d directory to ER_LIBS and looked for with code:lib_dir(wings) and code:lib_dir(wings3d) only 3d returned somthing. Feel free to ignore every as I only have time not knowledge. Good luck.

slomomojo commented on 2022-11-07 03:06 (UTC)

No update yet. Still looking for a solution...

slomomojo commented on 2022-10-31 17:11 (UTC)

Bug raised with upstream developer:

Lucky_Luke commented on 2022-10-27 16:51 (UTC) (edited on 2022-10-27 17:03 (UTC) by Lucky_Luke)

Many thangs, wonderful. compiling works. But if i start wings3d an error was showing. The window comes for a short time and then error.

$ wings3d
18:38:50: Debug: "Tab" is not supported as a keyboard accelerator with GTK
18:38:50: Debug: "Shift+Tab" is not supported as a keyboard accelerator with GTK
Using OpenCL via gpu:Name Intel(R) OpenCL:VSN: OpenCL 2.0 
CL setup error: function_clause [{filename,join,
Could not initialize OpenCL: env lighting limited 

The GPU is an intel with driver i915 Intel Corporation HD Graphics 630 
with KMS and and opencl package intel-opencl
Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 2.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
  Platform Extensions function suffix             INTEL

  Platform Name                                   Intel(R) OpenCL
Number of devices                                 2
  Device Name                                     Intel(R) HD Graphics
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.0 
  Driver Version                                  r5.0.63503
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               23
  Max clock frequency                             1000MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     by <unknown> (0x55c400000000)
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256

kind regards Greg

slomomojo commented on 2022-10-26 21:37 (UTC)

Hi Greg, please try it again. A patch has been applied so it should compile now.

Lucky_Luke commented on 2022-10-26 12:19 (UTC)

Building the package does not work. The following error message was displayed:

$ makepkg
==> Erstelle Paket: wings3d 2.2.9-1 (Sa 22 Okt 2022 10:25:29 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> wings-2.2.9.tar.bz2 gefunden
  -> gefunden
==> Überprüfe source Dateien mit b2sums...
    wings-2.2.9.tar.bz2 ... Erfolg ... Erfolg
==> Entpacke Quellen...
  -> Entpacke wings-2.2.9.tar.bz2 mit bsdtar
==> Beginne prepare()...
[wings3d]                         Generating desktop file... ok
==> Beginne build()...
make: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9“ wird betreten
WINGS_VSN = 2.2.9
make TYPE=opt common
make[1]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9“ wird betreten
git -c advice.detachedHead=false clone --depth 1 -b master _deps/libigl
Klone nach '_deps/libigl'...
remote: Enumerating objects: 1404, done.
remote: Counting objects: 100% (1404/1404), done.
remote: Compressing objects: 100% (1302/1302), done.
remote: Total 1404 (delta 301), reused 398 (delta 94), pack-reused 0
Empfange Objekte: 100% (1404/1404), 1.38 MiB | 1.95 MiB/s, fertig.
Löse Unterschiede auf: 100% (301/301), fertig.
git -c advice.detachedHead=false clone --depth 1 -b 3.3.7 _deps/eigen
Klone nach '_deps/eigen'...
remote: Enumerating objects: 1732, done.
remote: Counting objects: 100% (1732/1732), done.
remote: Compressing objects: 100% (1174/1174), done.
remote: Total 1732 (delta 594), reused 958 (delta 507), pack-reused 0
Empfange Objekte: 100% (1732/1732), 2.51 MiB | 2.01 MiB/s, fertig.
Löse Unterschiede auf: 100% (594/594), fertig.
make --directory=c_src opt
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/c_src“ wird betreten
install -d ../priv
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-switch -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC  -I"/usr/lib/erlang/usr/include" -I../_deps/eigen -I../_deps/libigl/include  -o../priv/ libigl.cpp -shared -lstdc++
install -d ../priv
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -I"/usr/lib/erlang/usr/include"  -o ../priv/ wings_pick_nif.c -shared
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/dict.o tess/dict.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/geom.o tess/geom.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/memalloc.o tess/memalloc.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/mesh.o tess/mesh.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/normal.o tess/normal.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/priorityq.o tess/priorityq.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/render.o tess/render.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/sweep.o tess/sweep.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/tess.o tess/tess.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -c -otess/tessmono.o tess/tessmono.c
install -d ../priv
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -O3 -fPIC -I"/usr/lib/erlang/usr/include"  -o../priv/ wings_tess.c tess/dict.o tess/geom.o tess/memalloc.o tess/mesh.o tess/normal.o tess/priorityq.o tess/render.o tess/sweep.o tess/tess.o tess/tessmono.o -shared
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/c_src“ wird verlassen
make --directory=intl_tools opt
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/intl_tools“ wird betreten
make TYPE=opt common
make[3]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/intl_tools“ wird betreten
erlc  -Werror +debug_info +debug_info -o. tools.erl
escript gen_char_hrl
make[3]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/intl_tools“ wird verlassen
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/intl_tools“ wird verlassen
make --directory=e3d opt
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/e3d“ wird betreten
make TYPE=opt common
make[3]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/e3d“ wird betreten
erlc -Werror +debug_info -o../ebin e3d_image.erl
erlc -Werror +debug_info -o../ebin e3d_mesh.erl
erlc -Werror +debug_info -o../ebin e3d_file.erl
erlc -Werror +debug_info -o../ebin e3d_obj.erl
erlc -Werror +debug_info -o../ebin e3d_tds.erl
erlc -Werror +debug_info -o../ebin e3d_transform.erl
erlc -Werror +debug_info -o../ebin e3d_mat.erl
erlc -Werror +debug_info -o../ebin e3d_util.erl
erlc -Werror +debug_info -o../ebin e3d_vec.erl
erlc -Werror +debug_info -o../ebin e3d_q.erl
erlc -Werror +debug_info -o../ebin e3d_bv.erl
erlc -Werror +debug_info -o../ebin e3d_bvh.erl
erlc -Werror +debug_info -o../ebin e3d_kd3.erl
erlc -Werror +debug_info -o../ebin e3d__tri_quad.erl
erlc -Werror +debug_info -o../ebin e3d__meshclean.erl
erlc -Werror +debug_info -o../ebin e3d__bmp.erl
erlc -Werror +debug_info -o../ebin e3d__dds.erl
erlc -Werror +debug_info -o../ebin e3d__tga.erl
erlc -Werror +debug_info -o../ebin e3d__png.erl
erlc -Werror +debug_info -o../ebin e3d__tif.erl
erlc -Werror +debug_info -o../ebin e3d_bzw.erl
make[3]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/e3d“ wird verlassen
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/e3d“ wird verlassen
make --directory=src opt
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/src“ wird betreten
make TYPE=opt common
make[3]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/src“ wird betreten
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_lang.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin libigl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin user_default.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_align.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_body.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_bool.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_camera.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_cl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_cc.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_collapse.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_color.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_console.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_deform.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_develop.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_dialog.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_dissolve.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_dl.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_drag.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_draw.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_draw_setup.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_edge.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_edge_cmd.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_edge_loop.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_export.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_extrude_edge.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_extrude_face.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_face.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_face_cmd.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_facemat.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_file.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_ff_ndo.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_ff_wings.erl
erlc -Werror -I ../.. -I../_deps +debug_info '-Dwings_version="2.2.9"' -pa ../intl_tools -o../ebin wings_frame.erl
wings_frame.erl:40:9: redefining macro 'wxID_OSX_HIDE'
%   40| -define(wxID_OSX_HIDE, 5250).
%     |         ^

wings_frame.erl:41:9: redefining macro 'wxID_OSX_HIDEOTHERS'
%   41| -define(wxID_OSX_HIDEOTHERS, 5251).
%     |         ^

wings_frame.erl:42:9: redefining macro 'wxID_OSX_SHOWALL'
%   42| -define(wxID_OSX_SHOWALL, 5252).
%     |         ^

wings_frame.erl:43:9: redefining macro 'wxID_OSX_MENU_LAST'
%   43| -define(wxID_OSX_MENU_LAST, 5255).
%     |         ^

make[3]: *** [Makefile:176: ../ebin/wings_frame.beam] Fehler 1
make[3]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/src“ wird verlassen
make[2]: *** [Makefile:157: opt] Fehler 2
make[2]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9/src“ wird verlassen
make[1]: *** [Makefile:34: src] Fehler 2
make[1]: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9“ wird verlassen
make: *** [Makefile:27: opt] Fehler 2
make: Verzeichnis „/home/gl/temp/wings3d/src/wings-2.2.9“ wird verlassen
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

Many thangs !! Best regards Greg