octave-maintainers
[Top][All Lists]
Advanced

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

Re: general c++ question


From: John W. Eaton
Subject: Re: general c++ question
Date: Thu, 06 Sep 2007 19:49:12 -0400

On  7-Sep-2007, David Bateman wrote:

| John W. Eaton wrote:
| 
| > After updating, you'll need to update the src/Makefile, be sure that
| > src/graphics.h is no longer in your source tree, and maybe also remove
| > any src/*.d files that mention the old location of the graphics.h
| > header file.
| 
| 
| I did an
| 
| autogen.sh; configure; make clean; make
| 
| and it failed with the error
| 
| g++ -c  -fPIC -I. -I../../octave/src -I.. -I../liboctave -I../src
| -I../libcruft/
| misc -I../../octave -I../../octave/liboctave -I../../octave/src
| -I../../octave/l
| ibcruft/misc   -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
| -Wold-style-cast -g -
| O2 ../../octave/src/graphics.cc -o pic/graphics.o
| ../../octave/src/graphics.cc:38:22: error: graphics.h: No such file or
| directory
| ../../octave/src/graphics.cc:53: error: 'radio_values' has not been declared
| ../../octave/src/graphics.cc:53: error: ISO C++ forbids declaration of
| 'radio_va
| lues' with no type
| 
| and then 1000s of other lines of errors. IS there a build target of
| graphics.h from graphics.h.in?

The current src/Makefile.in file has this:

  graphics.h: graphics.h.in genprops.awk
          @echo making $@
          @awk -f $(srcdir)/genprops.awk $< > address@hidden
          @$(simple-move-if-change-rule)

it seems to work for me.

jwe


reply via email to

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