Autor Tópico: Problema na Instalação do Carve CSG  (Lida 1253 vezes)

Offline socramjr

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Problema na Instalação do Carve CSG
« Online: 26 de Outubro de 2015, 16:45 »
no github tem um outro cara com o mesmo problema, e ele postou la em julho e até agora ninguém resolveu.
 se puderem me ajudar
Ubuntu 15.04 64 bit
https://github.com/VTREEM/Carve

jackdinos@jackdinos-Aspire-5733:~/Downloads/carve-master$ make
Making all in lib
make[1]: Entering directory '/home/jackdinos/Downloads/carve-master/lib'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve  -I../include   -g -O2 -MT convex_hull.lo -MD -MP -MF .deps/convex_hull.Tpo -c -o convex_hull.lo convex_hull.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../include -g -O2 -MT convex_hull.lo -MD -MP -MF .deps/convex_hull.Tpo -c convex_hull.cpp  -fPIC -DPIC -o .libs/convex_hull.o
In file included from /usr/include/c++/4.9/ext/hash_map:60:0,
                 from ../include/carve/collection/unordered/libstdcpp_impl.hpp:19,
                 from ../include/carve/collection/unordered.hpp:33,
                 from ../include/carve/collection.hpp:20,
                 from ../include/carve/carve.hpp:51,
                 from ../include/carve/csg.hpp:24,
                 from convex_hull.cpp:22:
/usr/include/c++/4.9/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^
In file included from ../include/carve/mesh.hpp:27:0,
                 from ../include/carve/csg.hpp:28,
                 from convex_hull.cpp:22:
../include/carve/rtree.hpp:230:29: error: 'uint32_t' has not been declared
                             uint32_t dim_mask,
                             ^
In file included from ../include/carve/mesh.hpp:874:0,
                 from ../include/carve/csg.hpp:28,
                 from convex_hull.cpp:22:
../include/carve/mesh_impl.hpp:37:17: error: 'ptrdiff_t' does not name a type
         typedef ptrdiff_t                       difference_type;
                 ^
In file included from ../include/carve/csg.hpp:32:0,
                 from convex_hull.cpp:22:
../include/carve/iobj.hpp:36:9: error: 'intptr_t' does not name a type
         intptr_t val;
         ^
../include/carve/iobj.hpp: In constructor 'carve::csg::IObj::IObj()':
../include/carve/iobj.hpp:39:37: error: class 'carve::csg::IObj' does not have any field named 'val'
       IObj() : obtype(OBTYPE_NONE), val(0) { }
                                     ^
../include/carve/iobj.hpp: In member function 'size_t carve::csg::IObj_hash::operator()(const carve::csg::IObj&) const':
../include/carve/iobj.hpp:50:26: error: 'const struct carve::csg::IObj' has no member named 'val'
         return (size_t)i.val;
                          ^
../include/carve/iobj.hpp: In member function 'size_t carve::csg::IObj_hash::operator()(const std::pair<const carve::csg::IObj, const carve::csg::IObj>&) const':
../include/carve/iobj.hpp:53:32: error: 'const struct carve::csg::IObj' has no member named 'val'
         return (size_t)i.first.val ^ (size_t)i.second.val;
                                ^
../include/carve/iobj.hpp:53:55: error: 'const struct carve::csg::IObj' has no member named 'val'
         return (size_t)i.first.val ^ (size_t)i.second.val;
                                                       ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator==(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:71:40: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype == b.obtype && a.val == b.val;
                                        ^
../include/carve/iobj.hpp:71:49: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype == b.obtype && a.val == b.val;
                                                 ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator!=(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:75:40: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype != b.obtype || a.val != b.val;
                                        ^
../include/carve/iobj.hpp:75:49: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype != b.obtype || a.val != b.val;
                                                 ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator<(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:79:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val < b.val);
                                                                ^
../include/carve/iobj.hpp:79:72: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val < b.val);
                                                                        ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator<=(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:83:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val <= b.val);
                                                                ^
../include/carve/iobj.hpp:83:73: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val <= b.val);
                                                                         ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator>(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:87:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val > b.val);
                                                                ^
../include/carve/iobj.hpp:87:72: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val > b.val);
                                                                        ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator>=(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:91:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val >= b.val);
                                                                ^
../include/carve/iobj.hpp:91:73: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val >= b.val);
                                                                         ^
Makefile:470: recipe for target 'convex_hull.lo' failed
make[1]: *** [convex_hull.lo] Error 1
make[1]: Leaving directory '/home/jackdinos/Downloads/carve-master/lib'
Makefile:405: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
jackdinos@jackdinos-Aspire-5733:~/Downloads/carve-master$ ^C
jackdinos@jackdinos-Aspire-5733:~/Downloads/carve-master$ make
Making all in lib
make[1]: Entering directory '/home/jackdinos/Downloads/carve-master/lib'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve  -I../include   -g -O2 -MT convex_hull.lo -MD -MP -MF .deps/convex_hull.Tpo -c -o convex_hull.lo convex_hull.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../include -g -O2 -MT convex_hull.lo -MD -MP -MF .deps/convex_hull.Tpo -c convex_hull.cpp  -fPIC -DPIC -o .libs/convex_hull.o
In file included from /usr/include/c++/4.9/ext/hash_map:60:0,
                 from ../include/carve/collection/unordered/libstdcpp_impl.hpp:19,
                 from ../include/carve/collection/unordered.hpp:33,
                 from ../include/carve/collection.hpp:20,
                 from ../include/carve/carve.hpp:51,
                 from ../include/carve/csg.hpp:24,
                 from convex_hull.cpp:22:
/usr/include/c++/4.9/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^
In file included from ../include/carve/mesh.hpp:27:0,
                 from ../include/carve/csg.hpp:28,
                 from convex_hull.cpp:22:
../include/carve/rtree.hpp:230:29: error: 'uint32_t' has not been declared
                             uint32_t dim_mask,
                             ^
In file included from ../include/carve/mesh.hpp:874:0,
                 from ../include/carve/csg.hpp:28,
                 from convex_hull.cpp:22:
../include/carve/mesh_impl.hpp:37:17: error: 'ptrdiff_t' does not name a type
         typedef ptrdiff_t                       difference_type;
                 ^
In file included from ../include/carve/csg.hpp:32:0,
                 from convex_hull.cpp:22:
../include/carve/iobj.hpp:36:9: error: 'intptr_t' does not name a type
         intptr_t val;
         ^
../include/carve/iobj.hpp: In constructor 'carve::csg::IObj::IObj()':
../include/carve/iobj.hpp:39:37: error: class 'carve::csg::IObj' does not have any field named 'val'
       IObj() : obtype(OBTYPE_NONE), val(0) { }
                                     ^
../include/carve/iobj.hpp: In member function 'size_t carve::csg::IObj_hash::operator()(const carve::csg::IObj&) const':
../include/carve/iobj.hpp:50:26: error: 'const struct carve::csg::IObj' has no member named 'val'
         return (size_t)i.val;
                          ^
../include/carve/iobj.hpp: In member function 'size_t carve::csg::IObj_hash::operator()(const std::pair<const carve::csg::IObj, const carve::csg::IObj>&) const':
../include/carve/iobj.hpp:53:32: error: 'const struct carve::csg::IObj' has no member named 'val'
         return (size_t)i.first.val ^ (size_t)i.second.val;
                                ^
../include/carve/iobj.hpp:53:55: error: 'const struct carve::csg::IObj' has no member named 'val'
         return (size_t)i.first.val ^ (size_t)i.second.val;
                                                       ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator==(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:71:40: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype == b.obtype && a.val == b.val;
                                        ^
../include/carve/iobj.hpp:71:49: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype == b.obtype && a.val == b.val;
                                                 ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator!=(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:75:40: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype != b.obtype || a.val != b.val;
                                        ^
../include/carve/iobj.hpp:75:49: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype != b.obtype || a.val != b.val;
                                                 ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator<(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:79:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val < b.val);
                                                                ^
../include/carve/iobj.hpp:79:72: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val < b.val);
                                                                        ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator<=(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:83:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val <= b.val);
                                                                ^
../include/carve/iobj.hpp:83:73: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype < b.obtype || (a.obtype == b.obtype && a.val <= b.val);
                                                                         ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator>(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:87:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val > b.val);
                                                                ^
../include/carve/iobj.hpp:87:72: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val > b.val);
                                                                        ^
../include/carve/iobj.hpp: In function 'bool carve::csg::operator>=(const carve::csg::IObj&, const carve::csg::IObj&)':
../include/carve/iobj.hpp:91:64: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val >= b.val);
                                                                ^
../include/carve/iobj.hpp:91:73: error: 'const struct carve::csg::IObj' has no member named 'val'
       return a.obtype > b.obtype || (a.obtype == b.obtype && a.val >= b.val);
                                                                         ^
Makefile:470: recipe for target 'convex_hull.lo' failed
make[1]: *** [convex_hull.lo] Error 1
make[1]: Leaving directory '/home/jackdinos/Downloads/carve-master/lib'
Makefile:405: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1