Skip to content

Trouble trying to build on Ubuntu 15.04 64 bit #1

@stuaxo

Description

@stuaxo

Hi,
I had trouble building this on Ubuntu 15.04 64 bit

$ make
Making all in lib
make[1]: Entering directory '/mnt/data/home/stu/projects/external/Carve/lib'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve  -I../include   -g -O2 -MT aabb.lo -MD -MP -MF .deps/aabb.Tpo -c -o aabb.lo aabb.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../include -g -O2 -MT aabb.lo -MD -MP -MF .deps/aabb.Tpo -c aabb.cpp  -fPIC -DPIC -o .libs/aabb.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/aabb.hpp:19,
                 from aabb.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 \
  ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../include -g -O2 -MT aabb.lo -MD -MP -MF .deps/aabb.Tpo -c aabb.cpp -o aabb.o >/dev/null 2>&1
mv -f .deps/aabb.Tpo .deps/aabb.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve  -I../include   -g -O2 -MT carve.lo -MD -MP -MF .deps/carve.Tpo -c -o carve.lo carve.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../include -g -O2 -MT carve.lo -MD -MP -MF .deps/carve.Tpo -c carve.cpp  -fPIC -DPIC -o .libs/carve.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 carve.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 \
  ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../include -g -O2 -MT carve.lo -MD -MP -MF .deps/carve.Tpo -c carve.cpp -o carve.o >/dev/null 2>&1
mv -f .deps/carve.Tpo .deps/carve.Plo
/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 '/mnt/data/home/stu/projects/external/Carve/lib'
Makefile:405: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions