Package Details: meshlab 2023.12-4

Git Clone URL: https://aur.archlinux.org/meshlab.git (read-only, click to copy)
Package Base: meshlab
Description: System for processing and editing of unstructured 3D models arising in 3D scanning (qt5 version)
Upstream URL: https://www.meshlab.net
Licenses: GPL2
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 117
Popularity: 0.000008
First Submitted: 2020-09-18 22:35 (UTC)
Last Updated: 2024-04-11 17:36 (UTC)

Dependencies (26)

Required by (0)

Sources (2)

Pinned Comments

bartus commented on 2020-05-30 16:49 (UTC) (edited on 2020-05-30 16:49 (UTC) by bartus)

Some plugins (mainly render ones like SSAO) won't work with new cmake build system, will try to port qmake patches to cmake and fix those.

bartus commented on 2019-04-10 11:42 (UTC) (edited on 2021-08-26 06:58 (UTC) by bartus)

Please report issues and patches to github.com/AUR-meshlab

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 15 Next › Last »

DiV21dSREL commented on 2023-06-15 14:50 (UTC)

Now I just get the errors:

AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:42:15: error: 'int16_t' has not been declared in 'std'
   42 |    using std::int16_t;
      |               ^~~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:43:15: error: 'int32_t' has not been declared in 'std'
   43 |    using std::int32_t;
      |               ^~~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:44:15: error: 'int64_t' has not been declared in 'std'
   44 |    using std::int64_t;
      |               ^~~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:45:15: error: 'int8_t' has not been declared in 'std'
   45 |    using std::int8_t;
      |               ^~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:46:15: error: 'uint16_t' has not been declared in 'std'
   46 |    using std::uint16_t;
      |               ^~~~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:47:15: error: 'uint32_t' has not been declared in 'std'
   47 |    using std::uint32_t;
      |               ^~~~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:48:15: error: 'uint64_t' has not been declared in 'std'
   48 |    using std::uint64_t;
      |               ^~~~~~~~
AUR/meshlab/src/meshlab/src/external/e57/include/E57Format.h:49:15: error: 'uint8_t' has not been declared in 'std'
   49 |    using std::uint8_t;

These I don't know how to fix...

DiV21dSREL commented on 2023-06-15 14:26 (UTC)

Adding the recommended #include <cstdint> in tunstall.cpp fixed the build error...

DiV21dSREL commented on 2023-06-15 14:24 (UTC) (edited on 2023-06-15 14:24 (UTC) by DiV21dSREL)

I get a lot of build errors, shown in full below. The build ultimately fails:

[1/973] Building CXX object external/nexus/src/corto/CMakeFiles/corto.dir/src/tunstall.cpp.o
FAILED: external/nexus/src/corto/CMakeFiles/corto.dir/src/tunstall.cpp.o
/usr/bin/c++  -I<myHomeDir>/AUR/meshlab/src/build/external/nexus/src/corto/corto_autogen/include -I<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/include -I<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/include/corto -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 -O3 -DNDEBUG -std=gnu++11 -fPIC -O2 -W -Wall -c -std=c++11 -pedantic -fPIC -MD -MT external/nexus/src/corto/CMakeFiles/corto.dir/src/tunstall.cpp.o -MF external/nexus/src/corto/CMakeFiles/corto.dir/src/tunstall.cpp.o.d -o external/nexus/src/corto/CMakeFiles/corto.dir/src/tunstall.cpp.o -c <myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp
In file included from <myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:25:
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/include/corto/tunstall.h:75:16: error: 'uint32_t' does not name a type
   75 |         static uint32_t toUint(int i) {
      |                ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/include/corto/tunstall.h:23:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   22 | #include <vector>
  +++ |+#include <cstdint>
   23 |
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/include/corto/tunstall.h:80:26: error: 'uint32_t' has not been declared
   80 |         static int toInt(uint32_t i) {
      |                          ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:33:9: error: 'uint32_t' does not name a type
   33 |         uint32_t probability;
      |         ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:26:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   25 | #include "tunstall.h"
  +++ |+#include <cstdint>
   26 |
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:35:25: error: expected ')' before 'p'
   35 |         TSymbol(uint32_t p, int o, int l): offset(o), length(l), probability(p)  {}
      |                ~        ^~
      |                         )
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp: In member function 'void crt::Tunstall::createDecodingTables2()':
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:126:9: error: 'uint32_t' was not declared in this scope
  126 |         uint32_t n_symbols = probabilities.size();
      |         ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:126:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:127:12: error: 'n_symbols' was not declared in this scope; did you mean 'Symbol'?
  127 |         if(n_symbols <= 1) return;
      |            ^~~~~~~~~
      |            Symbol
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:129:17: error: expected ';' before 'dictionary_size'
  129 |         uint32_t dictionary_size = 1<<wordsize;
      |                 ^~~~~~~~~~~~~~~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:131:24: error: template argument 2 is invalid
  131 |         vector<uint32_t> queues(2*dictionary_size);
      |                        ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:131:35: error: 'dictionary_size' was not declared in this scope; did you mean 'dictionarysize'?
  131 |         vector<uint32_t> queues(2*dictionary_size);
      |                                   ^~~~~~~~~~~~~~~
      |                                   dictionarysize
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:139:17: error: expected ';' before 'pos'
  139 |         uint32_t pos = 0;    //keep track of buffer lenght/
      |                 ^~~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:140:24: error: template argument 2 is invalid
  140 |         vector<uint32_t> starts(n_symbols);
      |                        ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:140:33: error: 'n_symbols' was not declared in this scope; did you mean 'Symbol'?
  140 |         vector<uint32_t> starts(n_symbols);
      |                                 ^~~~~~~~~
      |                                 Symbol
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:142:17: error: expected ';' before 'n_words'
  142 |         uint32_t n_words = 0;
      |                 ^~~~~~~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:144:17: error: expected ';' before 'count'
  144 |         uint32_t count = 2;
      |                 ^~~~~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:145:17: error: expected ';' before 'p0'
  145 |         uint32_t p0 = probabilities[0].probability<<8;
      |                 ^~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:146:17: error: expected ';' before 'p1'
  146 |         uint32_t p1 = probabilities[1].probability<<8;
      |                 ^~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:147:17: error: expected ';' before 'prob'
  147 |         uint32_t prob = (p0*p0)>>16;
      |                 ^~~~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:148:17: error: expected ';' before 'max_count'
  148 |         uint32_t max_count = (dictionary_size - 1)/(n_symbols - 1);
      |                 ^~~~~~~~~~
      |                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:149:15: error: 'prob' was not declared in this scope
  149 |         while(prob > p1 && count < max_count) {
      |               ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:149:22: error: 'p1' was not declared in this scope; did you mean 'y1'?
  149 |         while(prob > p1 && count < max_count) {
      |                      ^~
      |                      y1
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:149:36: error: 'max_count' was not declared in this scope
  149 |         while(prob > p1 && count < max_count) {
      |                                    ^~~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:149:28: error: parse error in template argument list
  149 |         while(prob > p1 && count < max_count) {
      |                            ^~~~~~~~~~~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:150:30: error: 'p0' was not declared in this scope; did you mean 'y0'?
  150 |                 prob = (prob*p0) >> 16;
      |                              ^~
      |                              y0
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:151:22: error: no post-increment operator for type
  151 |                 count++;
      |                      ^~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:154:18: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator>='
  154 |         if(count >= 16) { //Very low entropy results in large tables > 8K.
      |            ~~~~~~^~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:159:24: error: 'pos' was not declared in this scope; did you mean 'pow'?
  159 |                 buffer[pos++] = probabilities[0].symbol;
      |                        ^~~
      |                        pow
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:160:29: error: expected ';' before 'k'
  160 |                 for(uint32_t k = 1; k < n_symbols; k++) {
      |                             ^~
      |                             ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:160:37: error: 'k' was not declared in this scope
  160 |                 for(uint32_t k = 1; k < n_symbols; k++) {
      |                                     ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:161:37: error: expected ';' before 'i'
  161 |                         for(uint32_t i = 0; i < count-1; i++)
      |                                     ^~
      |                                     ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:161:45: error: 'i' was not declared in this scope
  161 |                         for(uint32_t i = 0; i < count-1; i++)
      |                                             ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:161:54: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator-'
  161 |                         for(uint32_t i = 0; i < count-1; i++)
      |                                                 ~~~~~^~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:165:23: error: invalid types 'int[int]' for array subscript
  165 |                 starts[0] = (count-1)*n_symbols;
      |                       ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:165:35: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator-'
  165 |                 starts[0] = (count-1)*n_symbols;
      |                              ~~~~~^~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:166:29: error: expected ';' before 'k'
  166 |                 for(uint32_t k = 1; k < n_symbols; k++)
      |                             ^~
      |                             ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:166:37: error: 'k' was not declared in this scope
  166 |                 for(uint32_t k = 1; k < n_symbols; k++)
      |                                     ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:169:29: error: expected ';' before 'col'
  169 |                 for(uint32_t col = 0; col < count; col++) {
      |                             ^~~~
      |                             ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:169:39: error: 'col' was not declared in this scope; did you mean 'cosl'?
  169 |                 for(uint32_t col = 0; col < count; col++) {
      |                                       ^~~
      |                                       cosl
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:170:37: error: expected ';' before 'row'
  170 |                         for(uint32_t row = 1; row < n_symbols; row++) {
      |                                     ^~~~
      |                                     ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:170:47: error: 'row' was not declared in this scope; did you mean 'pow'?
  170 |                         for(uint32_t row = 1; row < n_symbols; row++) {
      |                                               ^~~
      |                                               pow
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:171:41: error: expected ';' before 'dest'
  171 |                                 uint32_t dest = row + col*n_symbols;
      |                                         ^~~~~
      |                                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:172:43: error: 'probability' was not declared in this scope; did you mean 'probabilities'?
  172 |                                 uint32_t &probability = queues[dest];
      |                                           ^~~~~~~~~~~
      |                                           probabilities
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:172:64: error: 'dest' was not declared in this scope
  172 |                                 uint32_t &probability = queues[dest];
      |                                                                ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:176:56: error: 'prob' was not declared in this scope
  176 |                                         probability = (prob * (probabilities[row].probability<<8)) >> 16;
      |                                                        ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:181:33: error: 'prob' was not declared in this scope
  181 |                                 prob = p0;
      |                                 ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:181:40: error: 'p0' was not declared in this scope; did you mean 'y0'?
  181 |                                 prob = p0;
      |                                        ^~
      |                                        y0
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:183:33: error: 'prob' was not declared in this scope
  183 |                                 prob = (prob*p0) >> 16;
      |                                 ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:183:46: error: 'p0' was not declared in this scope; did you mean 'y0'?
  183 |                                 prob = (prob*p0) >> 16;
      |                                              ^~
      |                                              y0
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:186:25: error: expected ';' before 'first'
  186 |                 uint32_t first = (count-1)*n_symbols;
      |                         ^~~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:188:24: error: 'first' was not declared in this scope
  188 |                 queues[first] = prob;
      |                        ^~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:188:33: error: 'prob' was not declared in this scope
  188 |                 queues[first] = prob;
      |                                 ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:191:17: error: 'n_words' was not declared in this scope
  191 |                 n_words = 1 + count*(n_symbols - 1);
      |                 ^~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:196:17: error: 'n_words' was not declared in this scope
  196 |                 n_words = n_symbols;
      |                 ^~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:198:29: error: expected ';' before 'i'
  198 |                 for(uint32_t i = 0; i < n_symbols; i++) {
      |                             ^~
      |                             ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:198:37: error: 'i' was not declared in this scope
  198 |                 for(uint32_t i = 0; i < n_symbols; i++) {
      |                                     ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:200:31: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
  200 |                         queues[end] = (uint32_t)(probabilities[i].probability<<8);
      |                               ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:201:38: error: 'pos' was not declared in this scope; did you mean 'pow'?
  201 |                         index[end] = pos;
      |                                      ^~~
      |                                      pow
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:207:15: error: 'n_words' was not declared in this scope
  207 |         while(n_words < dictionary_size) {
      |               ^~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:209:25: error: expected ';' before 'best'
  209 |                 uint32_t best = 0;
      |                         ^~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:210:25: error: expected ';' before 'max_prob'
  210 |                 uint32_t max_prob = 0;
      |                         ^~~~~~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:211:29: error: expected ';' before 'i'
  211 |                 for(uint32_t i = 0; i < n_symbols; i++) {
      |                             ^~
      |                             ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:211:37: error: 'i' was not declared in this scope
  211 |                 for(uint32_t i = 0; i < n_symbols; i++) {
      |                                     ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:212:33: error: expected ';' before 'p'
  212 |                         uint32_t p = queues[starts[i]];
      |                                 ^~
      |                                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:213:28: error: 'p' was not declared in this scope
  213 |                         if(p > max_prob) {
      |                            ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:213:32: error: 'max_prob' was not declared in this scope
  213 |                         if(p > max_prob) {
      |                                ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:214:33: error: 'best' was not declared in this scope
  214 |                                 best = i;
      |                                 ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:218:25: error: expected ';' before 'symbol'
  218 |                 uint32_t symbol = starts[best];
      |                         ^~~~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:219:25: error: expected ';' before 'probability'
  219 |                 uint32_t probability = queues[symbol];
      |                         ^~~~~~~~~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:220:25: error: expected ';' before 'offset'
  220 |                 uint32_t offset = index[symbol];
      |                         ^~~~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:221:25: error: expected ';' before 'length'
  221 |                 uint32_t length = lengths[symbol];
      |                         ^~~~~~~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:222:25: error: expected ';' before 'r'
  222 |                 uint32_t r = 0;
      |                         ^~
      |                         ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:223:23: error: 'r' was not declared in this scope
  223 |                 for(; r < n_symbols; r++) {
      |                       ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:224:33: error: expected ';' before 'p'
  224 |                         uint32_t p = probabilities[r].probability;
      |                                 ^~
      |                                 ;
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:225:31: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
  225 |                         queues[end] = ( (probability * (unsigned int)(p<<8) )>>16);
      |                               ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:225:42: error: 'probability' was not declared in this scope; did you mean 'probabilities'?
  225 |                         queues[end] = ( (probability * (unsigned int)(p<<8) )>>16);
      |                                          ^~~~~~~~~~~
      |                                          probabilities
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:225:71: error: 'p' was not declared in this scope
  225 |                         queues[end] = ( (probability * (unsigned int)(p<<8) )>>16);
      |                                                                       ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:226:38: error: 'pos' was not declared in this scope; did you mean 'pow'?
  226 |                         index[end] = pos;
      |                                      ^~~
      |                                      pow
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:227:42: error: 'length' was not declared in this scope; did you mean 'lengths'?
  227 |                         lengths[end++] = length + 1;
      |                                          ^~~~~~
      |                                          lengths
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:230:54: error: 'offset' was not declared in this scope; did you mean 'offsets'?
  230 |                         memcpy(&buffer[pos], &buffer[offset], length);
      |                                                      ^~~~~~
      |                                                      offsets
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:237:20: error: 'r' was not declared in this scope
  237 |                 if(r == n_symbols)
      |                    ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:238:32: error: 'best' was not declared in this scope
  238 |                         starts[best] += n_symbols; //remove word only if all other rows expanded.
      |                                ^~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:247:26: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
  247 |                 if(starts[row] > i)
      |                          ^
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp: In member function 'void crt::Tunstall::createDecodingTables()':
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:268:19: error: 'struct TSymbol' has no member named 'probability'
  268 |                 s.probability = (uint32_t)(probabilities[i].probability<<8);
      |                   ^~~~~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:268:34: error: 'uint32_t' was not declared in this scope
  268 |                 s.probability = (uint32_t)(probabilities[i].probability<<8);
      |                                  ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:268:34: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:283:53: error: '__gnu_cxx::__alloc_traits<std::allocator<TSymbol>, TSymbol>::value_type' {aka 'struct TSymbol'} has no member named 'probability'
  283 |                         float p = queues[i].front().probability ;
      |                                                     ^~~~~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:295:25: error: 'uint32_t' was not declared in this scope
  295 |                         uint32_t p = probabilities[i].probability;
      |                         ^~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:295:25: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:298:27: error: 'struct TSymbol' has no member named 'probability'
  298 |                         s.probability = ( ( symbol.probability * (unsigned int)(p<<8) )>>16); //probabilities[i].probability*symbol.probability;
      |                           ^~~~~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:298:52: error: 'struct TSymbol' has no member named 'probability'
  298 |                         s.probability = ( ( symbol.probability * (unsigned int)(p<<8) )>>16); //probabilities[i].probability*symbol.probability;
      |                                                    ^~~~~~~~~~~
<myHomeDir>/AUR/meshlab/src/meshlab/src/external/nexus/src/corto/src/tunstall.cpp:298:81: error: 'p' was not declared in this scope
  298 |                         s.probability = ( ( symbol.probability * (unsigned int)(p<<8) )>>16); //probabilities[i].probability*symbol.probability;
      |                                                                                 ^
ninja: build stopped: subcommand failed.

frankspace commented on 2022-11-08 02:35 (UTC)

This needs to have the "git: allow 'file' protocol" changes from the meshlab-git package applied. Beyond that, however, why does this depend on openssl-1.0 specifically? I've tested it, and it seems to compile (in a chroot) and run just fine with the current openssl 3.0.7 installed. I have no clue what it even needs ssl for, but it does successfully check for updates. Openssl 1.0 is end-of-life'd, and unless there is some reason why meshlab specifically needs an obsolete version, may I respectfully suggest considering dropping that in favor of regular openssl?

mosgerila commented on 2022-01-05 09:44 (UTC)

Need update. Current version is 2021.10

bartus commented on 2021-08-26 07:04 (UTC) (edited on 2021-08-26 07:05 (UTC) by bartus)

@mahjong @winksaville: There's a simple trick to check if your home config files have any negative effect, run meshlab from console with altered $HOME e.g: HOME=/tmp/home meshlab 〜( ̄▽ ̄〜)

wrvsrx commented on 2021-08-26 06:57 (UTC) (edited on 2021-08-26 07:06 (UTC) by wrvsrx)

I met the situation @mahjong said. But I fix by following method (I don't know which part solves the problem or why it works, but the white margin just disappears.)

Reboot. Log out from display. Connect to the PC by vnc (here white margin has disappeared). Log out from vnc. Remove kde config files. Log in to display.

I hope that can helps you.

mahjong commented on 2021-05-26 04:01 (UTC)

Does anyone else get that white area around mesh area (the area that has blue background)? https://imgur.com/6ZHMThA

Why am I getting it?

winksaville commented on 2020-07-02 23:19 (UTC)

I used pacman to install eigen:


sudo pacman -Syu eigen

But, I was still getting an error that eigen3 was missing:


$ makepkg -sir
==> Making package: meshlab 2020.06-1 (Thu 02 Jul 2020 01:16:09 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: eigen3
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> eigen3
==> ERROR: Could not resolve all dependencies.

So I changed "eigen3" to "eigen" in "makedepends" to get it working:


$ git diff PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 55b2e73..de27d91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
 url="http://www.meshlab.net"
 license=('GPL2')
 depends=('bzip2' 'glew' 'glu' 'openssl-1.0' 'qt5-base' 'qt5-declarative' 'qt5-script' 'qt5-xmlpatterns')
-makedepends=('cmake' 'eigen3' 'ninja' 'git' 'muparser' 'levmar' 'lib3ds' 'mpir')
+makedepends=('cmake' 'eigen' 'ninja' 'git' 'muparser' 'levmar' 'lib3ds' 'mpir')
 optdepends=('u3d: for U3D and IDTF file support'
             'lib3ds: for Autodesk`s 3D-Studio r3 and r4 .3DS file support'
             'levmar: for isoparametrization and mutualcorrs plugins'