Search found 337 matches

Go to advanced search

by gawrilow
28 Apr 2022, 17:57
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 21111

Re: Load file from command line, elaborate, print output

"C:" is a windows-specific notation, programs run under Linux subsystem do not understand it. Your home directory is physically located at C:\Users\qweas", it's where you can find your files using Windows tools, like file explorer. However, within your Linux subsystem, the home direct...
by gawrilow
28 Apr 2022, 17:30
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 21111

Re: Load file from command line, elaborate, print output


save_data($p->FACETS, "mypoly.txt");
Also keep in mind that you can specify absolute paths in save() and save_data() commands. You can just type "/ and then use tab completion to navigate through your local disk. Or type "~/ to start within your home directory.
by gawrilow
28 Apr 2022, 16:38
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 21111

Re: Load file from command line, elaborate, print output

I tried to follow your instructions, but nothing came up.. "chdir" should take an argument, a string with a path to a directory where you want to change into. Without arguments, it uses the variable $_, which most probably contained some garbage value, not pointing to any existing directo...
by gawrilow
28 Apr 2022, 16:35
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 21111

Re: Load file from command line, elaborate, print output

Where can I see this txt file? I have no idea what my current working directory is. Your current working directory is where you started your polymake session, until you changed it explicitly using a "chdir" command. You must have entered the "polymake" command in a Linux shell. ...
by gawrilow
28 Apr 2022, 14:52
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 21111

Re: Load file from command line, elaborate, print output

When you are specifying your files by a relative path (not starting with /), they will land in your current working directory. There is nothing special about it in polymake. You can manipulate and query the current working directory from within polymake session or scripts using standard perl command...
by gawrilow
25 Mar 2022, 10:57
Forum: Helpdesk
Topic: Using jReality in Polymake
Replies: 2
Views: 7528

Re: Using jReality in Polymake

Unfortunately, for various technical and legal reasons, Ubuntu packages of polymake do not contain the jReality interface. It's only available in the full source version. But it won't work under Windows either.
You'll have to use a Linux or Mac system.
by gawrilow
06 Mar 2022, 18:10
Forum: Helpdesk
Topic: Static library/Linking Polymake C++ code for windows machine
Replies: 5
Views: 7475

Re: Static library/Linking Polymake C++ code for windows machine

As such it's not forbidden to mix statically and dynamically linked libraries in one executable. I don't think the warning should have dramatic consequences. Just go ahead.
by gawrilow
06 Mar 2022, 09:21
Forum: Helpdesk
Topic: Static library/Linking Polymake C++ code for windows machine
Replies: 5
Views: 7475

Re: Static library/Linking Polymake C++ code for windows machine

When you build polymake (and any other software) on a Linux system, the resulting binary will contain innumerable references to functions defined in C++ runtime environment and system libraries. You can use such a binary only on a system which has all the same libraries in compatible versions. A sta...
by gawrilow
03 Mar 2022, 09:34
Forum: Helpdesk
Topic: Accessing facets and affine hull data structures in C++
Replies: 6
Views: 4030

Re: Accessing facets and affine hull data structures in C++

BigObject operations give() and take() create objects which are conceptually similar to I/O streams. To set a property of a new object, you prepare it in an appropriate data structure and "stream" it into take(). Similarly, to retrieve a property, you "stream" the result of give(...
by gawrilow
02 Mar 2022, 12:52
Forum: Helpdesk
Topic: Running into a compile error on example C++ code
Replies: 11
Views: 6936

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

When you build polymake from sources, the default installation location is /usr/local/{lib,include,bin,share}, not just /usr, unless you have explicitly configured an alternative prefix. What you observe under /usr now are probably some ruins from your previous attempts.

Go to advanced search