help-octave
[Top][All Lists]
Advanced

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

Re: Octave-3.3.54-source build on Cygwin


From: Kai Habel
Subject: Re: Octave-3.3.54-source build on Cygwin
Date: Mon, 03 Jan 2011 19:45:33 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 SUSE/3.1.4 Lightning/1.0b2 Thunderbird/3.1.4

 On 03.01.2011 17:49, Stewart Dickson wrote:
Hello,

In attempting to build the octave-3.3.54, source tarball, on
System, CYGWIN_NT-6.1-WOW64 ... 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
g++ seems to be silently missing a header file include.  Any ideas?

Thanks,

-Stewart Dickson, HDF Group

./configure --prefix=/usr/local --with-amd-libdir=/usr/local/lib --with-camd-libdir=/usr/local/lib --with-colamd-libdir=/usr/local/lib --with-ccolamd-libdir=/usr/local/lib --with-cholmod-libdir=/usr/local/lib --with-umfpack-libdir=/usr/local/lib --with-magick=/usr/local/lib
...
make[3]: Entering directory `/usr/local/src/octave-3.3.54/src'
...
making oct-conf.h from oct-conf.h.in
oct-conf.h is unchanged
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I.. /libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/local/include -I/usr /local/include/FL/images -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRAN T -g -O2 -DHAVE_CONFIG_H -mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-sty le-cast -Wformat -g -O2 -g -O2 -MT DLD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend. lo -MD -MP -MF DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.Tpo -c -o DLD-F UNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo `test -f 'DLD-FUNCTIONS/fltk_backend.c
c' || echo './'`DLD-FUNCTIONS/fltk_backend.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I ../liboctave -I../liboctave -I. -I. -I/usr/local/include -I/usr/local/include/FL/images -D_LA RGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -g -O2 -DHAVE_CONFIG_H -miee e-fp -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 -g -O2 -MT D LD-FUNCTIONS/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.lo -MD -MP -MF DLD-FUNCTIONS/.deps/DL D_FUNCTIONS_fltk_backend_la-fltk_backend.Tpo -c DLD-FUNCTIONS/fltk_backend.cc -DDLL_EXPORT -
DPIC -o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.o
In file included from ../liboctave/lo-mappers.h:30,
                 from ../liboctave/oct-inttypes.h:35,
                 from ../liboctave/idx-vector.h:35,
                 from ../liboctave/Array.h:37,
                 from ../liboctave/str-vec.h:32,
                 from ../liboctave/cmd-edit.h:32,
                 from DLD-FUNCTIONS/fltk_backend.cc:57:
../liboctave/oct-cmplx.h:30: error: expected unqualified-id before numeric constant

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave

Hello,

do you use fltk1.3? In that case you can find an explanation here:

http://octave.1599824.n4.nabble.com/octave-build-issue-error-in-fltk-backend-td2309879.html#a3027373

Maybe, we should undefine Complex (from X.h) before we define it ourself. But I am not sure what should be done in this case, otherwise I would have proposed an patch already.

Kai


reply via email to

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