octave-maintainers
[Top][All Lists]
Advanced

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

OS X 10.9 Build errors


From: Robinson, Melvin D
Subject: OS X 10.9 Build errors
Date: Tue, 8 Jul 2014 05:56:31 +0000
User-agent: Microsoft-MacOutlook/14.4.2.140509

Trying to build from default I get the following errors:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -D_THREAD_SAFE -pthread -MT dldfcn/dldfcn___init_fltk___la-__init_fltk__.lo -MD -MP -MF dldfcn/.deps/dldfcn___init_fltk___la-__init_fltk__.Tpo -c dldfcn/__init_fltk__.cc  -fno-common -DPIC -o dldfcn/.libs/dldfcn___init_fltk___la-__init_fltk__.o

In file included from /opt/local/include/FL/x.H:43:0,

                 from /opt/local/include/FL/fl_draw.H:27,

                 from dldfcn/__init_fltk__.cc:69:

/opt/local/include/FL/mac.H:32:32: error: conflicting declaration 'typedef class FLWindow_opaque* Window'

 typedef class FLWindow_opaque *Window; // pointer to the FLWindow objective-c class

                                ^

In file included from /opt/local/include/X11/Xlib.h:44:0,

                 from dldfcn/__init_fltk__.cc:46:

/opt/local/include/X11/X.h:96:13: error: 'Window' has a previous declaration as 'typedef XID Window'

 typedef XID Window;

             ^

dldfcn/__init_fltk__.cc: In member function 'void OpenGL_fltk::overlay()':

dldfcn/__init_fltk__.cc:230:5: warning: 'void gluOrtho2D(GLdouble, GLdouble, GLdouble, GLdouble)' is deprecated (declared at /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276): "Use GLKMatrix4MakeOrtho" [-Wdeprecated-declarations]

     gluOrtho2D (0.0, w (), 0.0, h ());

     ^

dldfcn/__init_fltk__.cc:230:37: warning: 'void gluOrtho2D(GLdouble, GLdouble, GLdouble, GLdouble)' is deprecated (declared at /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276): "Use GLKMatrix4MakeOrtho" [-Wdeprecated-declarations]

     gluOrtho2D (0.0, w (), 0.0, h ());

                                     ^

make[3]: *** [dldfcn/dldfcn___init_fltk___la-__init_fltk__.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2


Here is my version of FLTK

butterfly:octave melrobin$ port list fltk-devel

fltk-devel                     @1.3.x-r10201   aqua/fltk-devel



I’m not sure how to fix this one.  Please help.



reply via email to

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