octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47886] Do not link against libraries without


From: Rik
Subject: [Octave-bug-tracker] [bug #47886] Do not link against libraries without OpenGL
Date: Thu, 10 Nov 2016 21:52:41 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #10, bug #47886 (project octave):

Aren't gl2ps functions used in just a single file: gl2ps-print.cc?  If that is
the case then I think this would be easy to address this as Mike suggested in
comment #7 by adding an extra #ifdef check.

The current code is


// Both header files are required outside of HAVE_GLP2S_H
#include "errwarn.h"
#include "gl2ps-print.h"

#if defined (HAVE_GL2PS_H)


@Dan: Try changing this line to


#if defined (HAVE_GL2PS_H) && defined (HAVE_OPENGL)


and see if that works.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47886>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]