Tue 10 May 2016 01:22:30 PM UTC, comment #11:
I did not mean to hijack this bug report.
As suggested, I opened a new bug report.
|
Mon 09 May 2016 04:05:06 PM UTC, comment #10:
I think Marcus may have a point, but it should be discussed as a fresh issue. Marcus, please report a new bug with your compiler error, also which distribution and compiler you are building with.
|
Mon 09 May 2016 03:55:02 PM UTC, comment #9:
This works for me.
I ran
This was with cset 1683:54fa4dcba730.
|
Mon 09 May 2016 04:23:07 AM UTC, comment #8:
I'd prefer to leave the checks as they are and fix the conditionals in the C++ code to properly reflect what is actually needed. So if the code is using OpenGL features but not checking to see that OpenGL is available, then that seems to be the real bug.
|
Mon 09 May 2016 03:07:32 AM UTC, comment #7:
1487a68a496a seems to case a link error when configure script is given --without-opengl.
As best I can tell, without OpenGL, gl2ps, fontconfig, and freetype are not needed.
Attached is a proposed modification to configure.ac.
(file #37107)
|
Tue 01 Mar 2016 04:14:29 PM UTC, comment #6:
Fixed! Closing report.
|
Mon 29 Feb 2016 08:24:04 PM UTC, comment #5:
Thanks, I was remembering the way things worked in the past and didn't check before I modified the text. Fixed here:
http://hg.savannah.gnu.org/hgweb/octave/rev/1233bf2a03a5
|
Mon 29 Feb 2016 12:25:24 PM UTC, comment #4:
@John: I see the following sentence in your last changeset:
"The toolkit used for a given figure may not be changed once the figure is initialized"
I think this is wrong as graphics_toolkit lets you switch from one toolkit to another as you like:
|
Mon 29 Feb 2016 04:28:08 AM UTC, comment #3:
I checked in this changeset for the documentation:
http://hg.savannah.gnu.org/hgweb/octave/rev/e5fd5bc5fd90
|
Mon 29 Feb 2016 04:19:27 AM UTC, comment #2:
I checked in the following changeset. It seems to fix the problem for me.
http://hg.savannah.gnu.org/hgweb/octave/rev/1487a68a496a
I missed the part about the documentation. I'll fix that separately unless someone else does it first.
|
Thu 25 Feb 2016 10:14:53 PM UTC, comment #1:
Confirmed on a build with "--without-fltk". The configure scripts reports that "native graphics will be disabled". Octave builds but the doc plots fail to build. Qt is an available toolkit and is the default, but trying to print a figure to a file aborts Octave.
Configure still groups a bunch of things together into the umbrella of "native graphics" from the days when FLTK was the only option. Missing any of the libs along the way turns off the "native graphics" bit and bypasses further tests.
|
Thu 25 Feb 2016 08:17:02 PM UTC, original submission:
Plotting with qt graphics backend requires gl2ps. However, the configure scripts only links to gl2ps if compiled with FLTK support.
This should also be fixed in the doc: "OpenGL to PostScript printing library (http://www.geuz.org/gl2ps/). gl2ps is required for printing when using the FLTK toolkit.", see https://www.gnu.org/software/octave/doc/interpreter/External-Packages.html
|