Package Details: plater 1.0.0-2

Git Clone URL: https://aur.archlinux.org/plater.git (read-only, click to copy)
Package Base: plater
Description: 3D-printer parts placer and plate generator
Upstream URL: https://github.com/Rhoban/Plater
Licenses: custom:CC BY-NC
Submitter: jtdowney
Maintainer: jtdowney
Last Packager: jtdowney
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-03 18:11 (UTC)
Last Updated: 2024-08-28 00:39 (UTC)

Latest Comments

jtdowney commented on 2024-08-28 00:41 (UTC)

Thanks for letting me know. There is an issue compiling the upstream with newer GCC versions. I added a simple patch that fixes the issue and will look to open a PR with the upstream.

jamincollins commented on 2024-08-26 01:37 (UTC) (edited on 2024-08-26 01:38 (UTC) by jamincollins)

-- Build files have been written to: /tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/build
[  4%] Building CXX object CMakeFiles/libplater.dir/stl/Point3.cpp.o
[ 13%] Building CXX object CMakeFiles/libplater.dir/stl/Volume.cpp.o
[ 13%] Building CXX object CMakeFiles/libplater.dir/stl/Face.cpp.o
[ 18%] Building CXX object CMakeFiles/libplater.dir/stl/Model.cpp.o
[ 22%] Building CXX object CMakeFiles/libplater.dir/stl/StlFactory.cpp.o
[ 27%] Building CXX object CMakeFiles/libplater.dir/Bitmap.cpp.o
[ 31%] Building CXX object CMakeFiles/libplater.dir/PlacedPart.cpp.o
[ 36%] Building CXX object CMakeFiles/libplater.dir/Placer.cpp.o
[ 40%] Building CXX object CMakeFiles/libplater.dir/Plate.cpp.o
[ 45%] Building CXX object CMakeFiles/libplater.dir/Part.cpp.o
[ 50%] Building CXX object CMakeFiles/libplater.dir/QuadTree.cpp.o
[ 54%] Building CXX object CMakeFiles/libplater.dir/Rectangle.cpp.o
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp: In function ‘void saveModelToFileBinary(const char*, Plater::Model*)’:
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:132:5: error: ‘uint32_t’ was not declared in this scope
  132 |     uint32_t faceCount = 0;
      |     ^~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:19:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   18 | #include "StlFactory.h"
  +++ |+#include <cstdint>
   19 | 
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:134:9: error: ‘faceCount’ was not declared in this scope
  134 |         faceCount += volume.faces.size();
      |         ^~~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:136:25: error: ‘faceCount’ was not declared in this scope
  136 |     ofile.write((char*)&faceCount, sizeof(uint32_t));
      |                         ^~~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:152:13: error: ‘uint16_t’ was not declared in this scope
  152 |             uint16_t flags = 0;
      |             ^~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:152:13: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:153:33: error: ‘flags’ was not declared in this scope
  153 |             ofile.write((char*)&flags, sizeof(uint16_t));
      |                                 ^~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp: In function ‘Plater::Model loadModelSTL_binary(const char*)’:
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:172:5: error: ‘uint32_t’ was not declared in this scope
  172 |     uint32_t faceCount;
      |     ^~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:172:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:180:16: error: ‘faceCount’ was not declared in this scope
  180 |     if (fread(&faceCount, sizeof(uint32_t), 1, f) != 1)
      |                ^~~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:194:28: error: ‘faceCount’ was not declared in this scope
  194 |     for(unsigned int i=0;i<faceCount;i++)
      |                            ^~~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:211:34: error: ‘uint16_t’ was not declared in this scope
  211 |         if (fread(buffer, sizeof(uint16_t), 1, f) != 1)
      |                                  ^~~~~~~~
/tmp/yaourt-tmp-jamin/aur-plater/src/Plater-1.0.0/plater/stl/StlFactory.cpp:211:34: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
make[2]: *** [CMakeFiles/libplater.dir/build.make:132: CMakeFiles/libplater.dir/stl/StlFactory.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/libplater.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...