"out-of-line definition ... " error on compiling

Discussions on installation issues go here.
gdavtor
Posts: 4
Joined: 30 Jul 2020, 19:29

"out-of-line definition ... " error on compiling

Postby gdavtor » 30 Jul 2020, 19:34

I jut ran

Code: Select all

ninja -C build/Opt -j2 install to
to build polymake 4.1 and it returned the following error:

Code: Select all

/Users/David/Downloads/polymake-4.1/lib/core/src/perl/BigObject.cc:357:17: error: out-of-line definition of 'start_add' does not match any declaration in 'pm::perl::BigObject' void BigObject::start_add(const AnyString& prop_name, property_kind t, const AnyString& sub_name, SV* sub_obj, size_t add_args) const ^~~~~~~~~ /Users/David/Downloads/polymake-4.1/lib/core/src/perl/BigObject.cc:373:16: error: out-of-line definition of 'finish_add' does not match any declaration in 'pm::perl::BigObject' SV* BigObject::finish_add() ^~~~~~~~~~ /Users/David/Downloads/polymake-4.1/lib/core/src/perl/BigObject.cc:516:17: error: out-of-line definition of 'start_construction' does not match any declaration in 'pm::perl::BigObject' void BigObject::start_construction(const BigObjectType& type, const AnyString& name, size_t add_args) ^~~~~~~~~~~~~~~~~~ /Users/David/Downloads/polymake-4.1/lib/core/src/perl/BigObject.cc:526:16: error: out-of-line definition of 'finish_construction' does not match any declaration in 'pm::perl::BigObject' SV* BigObject::finish_construction(bool with_props) ^~~~~~~~~~~~~~~~~~~ /Users/David/Downloads/polymake-4.1/lib/core/src/perl/BigObject.cc:532:17: error: out-of-line definition of 'pass_property' does not match any declaration in 'pm::perl::BigObject' void BigObject::pass_property(const AnyString& prop_name, Value& val) ^~~~~~~~~~~~~ 5 errors generated. [12/32] COMPILE /Users/David/Downloads/polymake-4.1/build/Opt/lib/callable/fake.o ninja: build stopped: subcommand failed.
It looks pm::perl::BigObject is missing some declarations? Or could there be something wrong on my end?

Return to “Installing polymake”