octave-maintainers
[Top][All Lists]
Advanced

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

Complie error of gl-render.cc (MinGW build : concerning to uimenu?)


From: Tatsuro MATSUOKA
Subject: Complie error of gl-render.cc (MinGW build : concerning to uimenu?)
Date: Tue, 2 Nov 2010 10:45:32 +0900 (JST)

Hello

I have tried to compile the recent source on the development branch.

Mon Nov 01 06:54:43 2010 -0400 


I have met the following error,
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -shared-libgcc 
-DHAVE_CONFIG_H -I.
-I../../../hg/octave-work/src -I..  -I/c/Programs/gpnewlib/include 
-I/c/Programs/OctaveLibs/include
-I/GnuWin32/include -I../libgnu -I../../../hg/octave-work/libgnu
-I../../../hg/octave-work/libcruft/misc -I../liboctave 
-I../../../hg/octave-work/liboctave -I.
-I../../../hg/octave-work/src  -I/c/Programs/gpnewlib/include 
-I/c/Programs/OctaveLibs/include
-I/GnuWin32/include -O3  -DHAVE_CONFIG_H -mieee-fp 
-IC:/Programs/GnuWin32/include
-Ic:/Programs/gpnewlib/include/freetype2 -Ic:/Programs/gpnewlib/include 
-IC:/Programs/gpnewlib/include
  -Wall -W -Wshadow -Wold-style-cast -Wformat -O3  -O3 -MT 
liboctinterp_la-gl-render.lo -MD -MP -MF
.deps/liboctinterp_la-gl-render.Tpo -c -o liboctinterp_la-gl-render.lo `test -f 
'gl-render.cc' || echo
'../../../hg/octave-work/src/'`gl-render.cc
libtool: compile:  g++ -shared-libgcc -DHAVE_CONFIG_H -I. 
-I../../../hg/octave-work/src -I..
-I/c/Programs/gpnewlib/include -I/c/Programs/OctaveLibs/include 
-I/GnuWin32/include -I../libgnu
-I../../../hg/octave-work/libgnu -I../../../hg/octave-work/libcruft/misc 
-I../liboctave
-I../../../hg/octave-work/liboctave -I. -I../../../hg/octave-work/src 
-I/c/Programs/gpnewlib/include
-I/c/Programs/OctaveLibs/include -I/GnuWin32/include -O3 -DHAVE_CONFIG_H 
-mieee-fp
-IC:/Programs/GnuWin32/include -Ic:/Programs/gpnewlib/include/freetype2 
-Ic:/Programs/gpnewlib/include
-IC:/Programs/gpnewlib/include -Wall -W -Wshadow -Wold-style-cast -Wformat -O3 
-O3 -MT
liboctinterp_la-gl-render.lo -MD -MP -MF .deps/liboctinterp_la-gl-render.Tpo -c
../../../hg/octave-work/src/gl-render.cc  -DDLL_EXPORT -DPIC -o 
.libs/liboctinterp_la-gl-render.o
In file included from ../../../hg/octave-work/src/gl-render.h:43:0,
                 from ../../../hg/octave-work/src/gl-render.cc:33:
./graphics.h:9387:5: error: expected identifier before '__attribute__'
./graphics.h:9387:5: error: expected '}' before '__attribute__'
./graphics.h:9387:5: warning: '__stdcall__' attribute only applies to function 
types
./graphics.h:9387:14: error: expected unqualified-id before '=' token
./graphics.h: In member function 'std::string uimenu::get_accelerator() const':
./graphics.h:9397:53: error: 'accelerator' was not declared in this scope
./graphics.h: In member function 'void uimenu::execute_callback(const 
octave_value&) const':
./graphics.h:9399:78: error: 'callback' was not declared in this scope
./graphics.h: In member function 'octave_value uimenu::get_callback() const':
./graphics.h:9400:51: error: 'callback' was not declared in this scope
./graphics.h: In member function 'bool uimenu::is_checked() const':
./graphics.h:9402:41: error: 'checked' was not declared in this scope
./graphics.h: In member function 'std::string uimenu::get_checked() const':
./graphics.h:9403:49: error: 'checked' was not declared in this scope
./graphics.h: In member function 'bool uimenu::is_enable() const':
./graphics.h:9405:40: error: 'enable' was not declared in this scope
./graphics.h: In member function 'std::string uimenu::get_enable() const':
./graphics.h:9406:48: error: 'enable' was not declared in this scope
./graphics.h: In member function 'bool uimenu::foregroundcolor_is_rgb() const':
./graphics.h:9408:53: error: 'foregroundcolor' was not declared in this scope
./graphics.h: In member function 'bool uimenu::foregroundcolor_is(const 
std::string&) const':
./graphics.h:9409:65: error: 'foregroundcolor' was not declared in this scope
./graphics.h: In member function 'Matrix uimenu::get_foregroundcolor_rgb() 
const':
./graphics.h:9410:57: error: 'foregroundcolor' was not declared in this scope
./graphics.h: In member function 'octave_value uimenu::get_foregroundcolor() 
const':
./graphics.h:9411:58: error: 'foregroundcolor' was not declared in this scope
./graphics.h: In member function 'std::string uimenu::get_label() const':
./graphics.h:9413:47: error: 'label' was not declared in this scope
./graphics.h: In member function 'double uimenu::get_position() const':
./graphics.h:9415:45: error: 'position' was not declared in this scope
./graphics.h: In member function 'bool uimenu::is_separator() const':
./graphics.h:9417:43: error: 'separator' was not declared in this scope
./graphics.h: In member function 'std::string uimenu::get_separator() const':
./graphics.h:9418:51: error: 'separator' was not declared in this scope
./graphics.h: In member function 'std::string uimenu::get_fltk_label() const':
./graphics.h:9420:52: error: 'fltk_label' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_accelerator(const 
octave_value&)':
./graphics.h:9427:13: error: 'accelerator' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_callback(const 
octave_value&)':
./graphics.h:9438:13: error: 'callback' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_checked(const 
octave_value&)':
./graphics.h:9449:13: error: 'checked' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_enable(const octave_value&)':
./graphics.h:9460:13: error: 'enable' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_foregroundcolor(const 
octave_value&)':
./graphics.h:9471:13: error: 'foregroundcolor' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_label(const octave_value&)':
./graphics.h:9482:13: error: 'label' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_position(const 
octave_value&)':
./graphics.h:9493:13: error: 'position' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_separator(const 
octave_value&)':
./graphics.h:9504:13: error: 'separator' was not declared in this scope
./graphics.h: In member function 'void uimenu::set_fltk_label(const 
octave_value&)':
./graphics.h:9515:13: error: 'fltk_label' was not declared in this scope
./graphics.h: At global scope:
./graphics.h:9528:1: error: expected unqualified-id before 'private'
./graphics.h:9531:1: error: expected unqualified-id before 'public'
./graphics.h:9538:16: error: declaration of '~uimenu' as non-member
./graphics.h: In function 'base_properties& get_properties()':
./graphics.h:9540:51: error: 'xproperties' was not declared in this scope
./graphics.h: At global scope:
./graphics.h:9542:48: error: non-member function 'const base_properties& 
get_properties()' cannot have
cv-qualifier
./graphics.h: In function 'const base_properties& get_properties()':
./graphics.h:9542:48: error: new declaration 'const base_properties& 
get_properties()'
./graphics.h:9540:20: error: ambiguates old declaration 'base_properties& 
get_properties()'
./graphics.h:9542:63: error: 'xproperties' was not declared in this scope
./graphics.h: At global scope:
./graphics.h:9544:28: error: non-member function 'bool valid_object()' cannot 
have cv-qualifier
./graphics.h:9546:1: error: expected declaration before '}' token
./graphics.h: In function 'const base_properties& get_properties()':
./graphics.h:9542:76: warning: control reaches end of non-void function
./graphics.h: In function 'base_properties& get_properties()':
./graphics.h:9540:64: warning: control reaches end of non-void function
make[3]: *** [liboctinterp_la-gl-render.lo] Error 1
make[3]: Leaving directory `/home/octaves/OctBuild/hg-devel/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/octaves/OctBuild/hg-devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/octaves/OctBuild/hg-devel'
make: *** [all] Error 2

For the fltk, I have used fltk-1.3.x-r7613 built myself.

Any suggestions?

Regards

Tatsuro

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

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