Search found 337 matches

Go to advanced search

by gawrilow
02 Mar 2022, 09:26
Forum: Helpdesk
Topic: Running into a compile error on example C++ code
Replies: 11
Views: 6900

Re: Running into a compile error on example C++ code

Thanks for the detailed report! The warnings are harmless, they come from third-party components bundled with polymake. However, I can't imagine the reason why this /shared symlink is missing. We are constantly monitoring the health of the callable library in our CI pipeline, which includes building...
by gawrilow
01 Mar 2022, 19:30
Forum: Helpdesk
Topic: Running into a compile error on example C++ code
Replies: 11
Views: 6900

Re: Running into a compile error on example C++ code

It looks indeed like the package is wrongly composed, there should be a symlink shared -> ../../share/polymake Please create such a link manually. The most probable reason for the sad fact that nobody reported this error before is that the rare brave hearts who dare to develop own C++ code using pol...
by gawrilow
01 Mar 2022, 10:36
Forum: Helpdesk
Topic: Running into a compile error on example C++ code
Replies: 11
Views: 6900

Re: Running into a compile error on example C++ code

You should add the polymake callable library and all relevant link flags to the link command. With your makefile, this should help:

LDLIBSOPTIONS := $(shell polymake-config --ldflags) $(shell polymake-config --libs)
by gawrilow
01 Mar 2022, 00:37
Forum: Helpdesk
Topic: Running into a compile error on example C++ code
Replies: 11
Views: 6900

Re: Running into a compile error on example C++ code

This is quite an old presentation, some things have been changed and/or renamed since then.
In case of this example, you should replace "polymake::perl::Object" with "BigObject" without namespace prefixes.
by gawrilow
11 Nov 2021, 13:20
Forum: Helpdesk
Topic: Running out of RAM when compiling on Ubuntu
Replies: 3
Views: 3078

Re: Running out of RAM when compiling on Ubuntu

After your first session, a directory structure named ~/.polymake/wrappers.0 or similar should have appeared in your home directory. How many files with a suffix ".cpperl" are there in total? Use the `find` command to list them all, they reside in deeper subdirectories. If there are just o...
by gawrilow
10 Nov 2021, 23:29
Forum: Helpdesk
Topic: Running out of RAM when compiling on Ubuntu
Replies: 3
Views: 3078

Re: Running out of RAM when compiling on Ubuntu

When you install an official package via apt, there should be no need in recompilation, everything is ready to use. What exactly were you trying to do that caused the compilation?
by gawrilow
14 Aug 2021, 11:58
Forum: Helpdesk
Topic: how to avoid ERROR: No random access
Replies: 5
Views: 6327

Re: Declare and initialize Array or Vector in two steps

One word "array" has so many different meanings, it's indeed confusing and needs a more thorough documentation. I'll try to address all your recent questions at one place. There are at least five different entities that can be called "an array". The old plain C/C++ array, as in y...
by gawrilow
31 Jul 2021, 23:00
Forum: Helpdesk
Topic: how to use polymake other than command line?
Replies: 2
Views: 5145

Re: how to use polymake other than command line?

You can also use the scripting facilities, as described here: https://polymake.org/doku.php/user_guide/howto/scripting . You can put your frequently used functions in separate script files, if needed, because the script command can be used in other scripts too. Just think of starting every script fi...
by gawrilow
19 Jun 2021, 00:04
Forum: Installing polymake
Topic: polymake on FreeBSD -- some questions and help needed
Replies: 10
Views: 21730

Re: polymake on FreeBSD -- some questions and help needed

PREFIX determines where the port will be installed, by default it's set to /usr/local. On FreeBSD, DESTDIR specifies a complete alternative environment, which might be a jail or a complete system mounted somewhere other than /. The actual location a port installs to is therefore DESTDIR/PREFIX. I n...
by gawrilow
18 Jun 2021, 12:15
Forum: Installing polymake
Topic: polymake on FreeBSD -- some questions and help needed
Replies: 10
Views: 21730

Re: polymake on FreeBSD -- some questions and help needed

Hi, since Ben has already perfectly explained almost everything, I'd just like to provide some details. installation paths Out of the box, polymake is not relocatable after the installation: It must know where to find its components (application modules, rule files, etc.) The locations are configure...

Go to advanced search