Discussion:
Non-session-manager build fails: ../FL/x.H:68: error: expected initializer before ‘*’ token
Diego Simak
2012-07-27 18:41:31 UTC
Permalink
Hi Jonathan,
Sorry for the noise but I'm still trying to build NSM from git but the it
fails with the following error:

***@ruidosa:~/Downloads/non2$ git clone git://
git.tuxfamily.org/gitroot/non/daw.git
Initialized empty Git repository in /home/diego/Downloads/non2/daw/.git/
remote: Counting objects: 9433, done.
remote: Compressing objects: 100% (3314/3314), done.
remote: Total 9433 (delta 7338), reused 7800 (delta 6017)
Receiving objects: 100% (9433/9433), 7.60 MiB | 1006 KiB/s, done.
Resolving deltas: 100% (7338/7338), done.
***@ruidosa:~/Downloads/non2$
***@ruidosa:~/Downloads/non2$ cd daw/
***@ruidosa:~/Downloads/non2/daw$
***@ruidosa:~/Downloads/non2/daw$ git checkout --track -b next origin/next
Branch next set up to track remote branch next from origin.
Switched to a new branch 'next'
***@ruidosa:~/Downloads/non2/daw$
***@ruidosa:~/Downloads/non2/daw$ git submodule init
Submodule 'lib/ntk' (git://git.tuxfamily.org/gitroot/non/fltk.git)
registered for path 'lib/ntk'
***@ruidosa:~/Downloads/non2/daw$ git submodule update
Initialized empty Git repository in
/home/diego/Downloads/non2/daw/lib/ntk/.git/
remote: Counting objects: 1876, done.
remote: Compressing objects: 100% (1102/1102), done.
remote: Total 1876 (delta 848), reused 1746 (delta 751)
Receiving objects: 100% (1876/1876), 4.30 MiB | 942 KiB/s, done.
Resolving deltas: 100% (848/848), done.
Submodule path 'lib/ntk': checked out
'118604d6382956e793ec6bed06f654426bb6affd'
***@ruidosa:~/Downloads/non2/daw$
***@ruidosa:~/Downloads/non2/daw$
***@ruidosa:~/Downloads/non2/daw$ make -C lib


[SNIP]


make[1]: Entering directory `/home/diego/Downloads/non2/daw/lib/ntk'
=== making src ===
make[2]: Entering directory `/home/diego/Downloads/non2/daw/lib/ntk/src'
Compiling Fl_Cairo_Graphics_Driver.cxx...
In file included from Fl_Cairo_Graphics_Driver.cxx:98:
../FL/x.H:68: error: expected initializer before ‘*’ token
../FL/x.H:93: error: variable or field ‘fl_clip_region’ declared void
../FL/x.H:93: error: ‘Fl_Region’ was not declared in this scope
../FL/x.H:94: error: ‘Fl_Region’ does not name a type
../FL/x.H:131: error: ‘Fl_Region’ does not name a type
../FL/x.H:173: error: ‘Fl_Region’ does not name a type
In file included from ../FL/fl_draw.H:39,
from Fl_Cairo_Graphics_Driver.cxx:101:
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
In file included from Fl_Cairo_Graphics_Driver.cxx:101:
../FL/fl_draw.H:145: error: variable or field ‘fl_clip_region’ declared void
../FL/fl_draw.H:145: error: ‘Fl_Region’ was not declared in this scope
../FL/fl_draw.H:149: error: ‘Fl_Region’ does not name a type
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::pop_matrix()’:
Fl_Cairo_Graphics_Driver.cxx:172: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::translate(double, double)’:
Fl_Cairo_Graphics_Driver.cxx:184: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::scale(double, double)’:
Fl_Cairo_Graphics_Driver.cxx:192: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::rotate(double)’:
Fl_Cairo_Graphics_Driver.cxx:200: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::mult_matrix(double, double, double, double,
double, double)’:
Fl_Cairo_Graphics_Driver.cxx:208: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In function ‘void fl_set_antialias(int)’:
Fl_Cairo_Graphics_Driver.cxx:308: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: At global scope:
Fl_Cairo_Graphics_Driver.cxx:107: warning: ‘aa’ defined but not used
make[2]: *** [Fl_Cairo_Graphics_Driver.o] Error 1
make[2]: Leaving directory `/home/diego/Downloads/non2/daw/lib/ntk/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/diego/Downloads/non2/daw/lib/ntk'
make: *** [ntk/src/Cairo_Theme.cxx] Error 2
make: Leaving directory `/home/diego/Downloads/non2/daw/lib'


Don't really know if this error depends on the FLTK version installed
(1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.

Thank you
Diego
James Morris
2012-07-27 19:08:07 UTC
Permalink
On 27/07/12 Diego Simak <***@gmail.com> wrote:
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version installed
(1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Diego Simak
2012-07-27 19:28:54 UTC
Permalink
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version installed
(1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with fltk-1.3.0 I
had the same error and some other side effects (yoshimi needs 1.1.0 it
doesn't build with 1.3.0)

***@ruidosa:~/Downloads/non2/daw$ make -C lib
make: Entering directory `/home/diego/Downloads/non2/daw/lib'
Building NTK
make -C ntk
make[1]: Entering directory `/home/diego/Downloads/non2/daw/lib/ntk'
=== making src ===
make[2]: Entering directory `/home/diego/Downloads/non2/daw/lib/ntk/src'
Compiling Fl_Cairo_Graphics_Driver.cxx...
In file included from Fl_Cairo_Graphics_Driver.cxx:98:
../FL/x.H:68: error: expected initializer before ‘*’ token
../FL/x.H:93: error: variable or field ‘fl_clip_region’ declared void
../FL/x.H:93: error: ‘Fl_Region’ was not declared in this scope
../FL/x.H:94: error: ‘Fl_Region’ does not name a type
../FL/x.H:131: error: ‘Fl_Region’ does not name a type
../FL/x.H:173: error: ‘Fl_Region’ does not name a type
In file included from ../FL/fl_draw.H:39,
from Fl_Cairo_Graphics_Driver.cxx:101:
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
In file included from Fl_Cairo_Graphics_Driver.cxx:101:
../FL/fl_draw.H:145: error: variable or field ‘fl_clip_region’ declared void
../FL/fl_draw.H:145: error: ‘Fl_Region’ was not declared in this scope
../FL/fl_draw.H:149: error: ‘Fl_Region’ does not name a type
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::pop_matrix()’:
Fl_Cairo_Graphics_Driver.cxx:172: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::translate(double, double)’:
Fl_Cairo_Graphics_Driver.cxx:184: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::scale(double, double)’:
Fl_Cairo_Graphics_Driver.cxx:192: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::rotate(double)’:
Fl_Cairo_Graphics_Driver.cxx:200: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In member function ‘virtual void
Fl_Cairo_Graphics_Driver::mult_matrix(double, double, double, double,
double, double)’:
Fl_Cairo_Graphics_Driver.cxx:208: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: In function ‘void fl_set_antialias(int)’:
Fl_Cairo_Graphics_Driver.cxx:308: warning: unused variable ‘cr’
Fl_Cairo_Graphics_Driver.cxx: At global scope:
Fl_Cairo_Graphics_Driver.cxx:107: warning: ‘aa’ defined but not used
make[2]: *** [Fl_Cairo_Graphics_Driver.o] Error 1
make[2]: Leaving directory `/home/diego/Downloads/non2/daw/lib/ntk/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/diego/Downloads/non2/daw/lib/ntk'
make: *** [ntk/src/Cairo_Theme.cxx] Error 2
make: Leaving directory `/home/diego/Downloads/non2/daw/lib'
***@ruidosa:~/Downloads/non2/daw$
***@ruidosa:~/Downloads/non2/daw$
***@ruidosa:~/Downloads/non2/daw$ fltk-config --version
1.3.0


Thank you
James Morris
2012-07-27 19:41:35 UTC
Permalink
Post by Diego Simak
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version
installed (1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with
fltk-1.3.0 I had the same error and some other side effects (yoshimi
needs 1.1.0 it doesn't build with 1.3.0)
So do you now have both fltk version 1.1 and 1.3 installed
simultaneously now then?

How did you try rebuilding ntk?

Did you try cd lib/ntk
./configure
make

Try it. If it does not work... Perhaps there's a way to force
ntk to find fltk1.3 rather than 1.1 when both exist?

BTW, Yoshimi-1.0.0 builds with fltk 1.3.

James.
J. Liles
2012-07-27 19:50:10 UTC
Permalink
Post by James Morris
Post by Diego Simak
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version
installed (1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with
fltk-1.3.0 I had the same error and some other side effects (yoshimi
needs 1.1.0 it doesn't build with 1.3.0)
So do you now have both fltk version 1.1 and 1.3 installed
simultaneously now then?
How did you try rebuilding ntk?
Did you try cd lib/ntk
./configure
make
Try it. If it does not work... Perhaps there's a way to force
ntk to find fltk1.3 rather than 1.1 when both exist?
BTW, Yoshimi-1.0.0 builds with fltk 1.3.
James.
The installed version of FLTK is irrelevant. NTK doesn't depend on it, and
the build scripts will never install NTK (although you *can* install it if
you want to e.g. use my NTK enabled version of ZynAddSubFX).

The *only* way to build NTK properly is (from a clean checkout):

make -C lib

Anything else (e.i. attempting to run the NTK configure script manually)
will just confuse the build system and make things difficult.

You can use: (cd lib/ntk; git clean -xdf) to clean the NTK checkout, but
you have to also delete the file lib/.built to get things back to a clean
state and then run make -C lib as instructed.

Yes, I know it's too complicated, but I haven't had the time to make this
part of the build more user friendly yet.
Diego Simak
2012-07-27 20:01:43 UTC
Permalink
Post by J. Liles
Post by James Morris
Post by Diego Simak
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version
installed (1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with
fltk-1.3.0 I had the same error and some other side effects (yoshimi
needs 1.1.0 it doesn't build with 1.3.0)
So do you now have both fltk version 1.1 and 1.3 installed
simultaneously now then?
How did you try rebuilding ntk?
Did you try cd lib/ntk
./configure
make
Try it. If it does not work... Perhaps there's a way to force
ntk to find fltk1.3 rather than 1.1 when both exist?
BTW, Yoshimi-1.0.0 builds with fltk 1.3.
James.
The installed version of FLTK is irrelevant. NTK doesn't depend on it, and
the build scripts will never install NTK (although you *can* install it if
you want to e.g. use my NTK enabled version of ZynAddSubFX).
OK, good to know this.
Post by J. Liles
make -C lib
Anything else (e.i. attempting to run the NTK configure script manually)
will just confuse the build system and make things difficult.
That was actually what I did, but I'm getting the related error:
In file included from Fl_Cairo_Graphics_Driver.cxx:
98:
../FL/x.H:68: error: expected initializer before ‘*’ token
Post by J. Liles
You can use: (cd lib/ntk; git clean -xdf) to clean the NTK checkout, but
you have to also delete the file lib/.built to get things back to a clean
state and then run make -C lib as instructed.
Yes, I know it's too complicated, but I haven't had the time to make this
part of the build more user friendly yet.
Thank you very much for your explanation.
I guees that I need to dedicate more time to understand this.

Thansk again,
Diego
J. Liles
2012-07-27 20:04:30 UTC
Permalink
Post by Diego Simak
Post by J. Liles
Post by James Morris
Post by Diego Simak
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version
installed (1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with
fltk-1.3.0 I had the same error and some other side effects (yoshimi
needs 1.1.0 it doesn't build with 1.3.0)
So do you now have both fltk version 1.1 and 1.3 installed
simultaneously now then?
How did you try rebuilding ntk?
Did you try cd lib/ntk
./configure
make
Try it. If it does not work... Perhaps there's a way to force
ntk to find fltk1.3 rather than 1.1 when both exist?
BTW, Yoshimi-1.0.0 builds with fltk 1.3.
James.
The installed version of FLTK is irrelevant. NTK doesn't depend on it,
and the build scripts will never install NTK (although you *can* install it
if you want to e.g. use my NTK enabled version of ZynAddSubFX).
OK, good to know this.
Post by J. Liles
make -C lib
Anything else (e.i. attempting to run the NTK configure script manually)
will just confuse the build system and make things difficult.
../FL/x.H:68: error: expected initializer before ‘*’ token
What version of gcc is this?
Post by Diego Simak
Post by J. Liles
You can use: (cd lib/ntk; git clean -xdf) to clean the NTK checkout, but
you have to also delete the file lib/.built to get things back to a clean
state and then run make -C lib as instructed.
Yes, I know it's too complicated, but I haven't had the time to make this
part of the build more user friendly yet.
Thank you very much for your explanation.
I guees that I need to dedicate more time to understand this.
Thansk again,
Diego
Diego Simak
2012-07-27 20:05:15 UTC
Permalink
Post by J. Liles
Post by Diego Simak
Post by J. Liles
Post by James Morris
Post by Diego Simak
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version
installed (1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with
fltk-1.3.0 I had the same error and some other side effects (yoshimi
needs 1.1.0 it doesn't build with 1.3.0)
So do you now have both fltk version 1.1 and 1.3 installed
simultaneously now then?
How did you try rebuilding ntk?
Did you try cd lib/ntk
./configure
make
Try it. If it does not work... Perhaps there's a way to force
ntk to find fltk1.3 rather than 1.1 when both exist?
BTW, Yoshimi-1.0.0 builds with fltk 1.3.
James.
The installed version of FLTK is irrelevant. NTK doesn't depend on it,
and the build scripts will never install NTK (although you *can* install it
if you want to e.g. use my NTK enabled version of ZynAddSubFX).
OK, good to know this.
Post by J. Liles
make -C lib
Anything else (e.i. attempting to run the NTK configure script manually)
will just confuse the build system and make things difficult.
../FL/x.H:68: error: expected initializer before ‘*’ token
What version of gcc is this?
Post by Diego Simak
Post by J. Liles
You can use: (cd lib/ntk; git clean -xdf) to clean the NTK checkout, but
you have to also delete the file lib/.built to get things back to a clean
state and then run make -C lib as instructed.
Yes, I know it's too complicated, but I haven't had the time to make
this part of the build more user friendly yet.
Thank you very much for your explanation.
I guees that I need to dedicate more time to understand this.
Thansk again,
Diego
***@ruidosa:~$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
J. Liles
2012-07-27 20:08:48 UTC
Permalink
Post by Diego Simak
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Hmm. Well, that is kind of old. I'm on 4.7.1. You might have better luck
with a newer gcc.
Diego Simak
2012-07-27 20:11:08 UTC
Permalink
Post by J. Liles
Post by Diego Simak
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Hmm. Well, that is kind of old. I'm on 4.7.1. You might have better luck
with a newer gcc.
Yes, It's very old
(installed by ubuntu repos)

OK I will go for 4.7.1, wish me luck ;-)

Thank you very much.

Diego
Diego Simak
2012-07-27 19:55:30 UTC
Permalink
Post by James Morris
Post by Diego Simak
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version
installed (1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
Yes, I guessed that, and actually I installed it but... with
fltk-1.3.0 I had the same error and some other side effects (yoshimi
needs 1.1.0 it doesn't build with 1.3.0)
So do you now have both fltk version 1.1 and 1.3 installed
simultaneously now then?
No, only 1.3.
1.1 was removed.
Post by James Morris
How did you try rebuilding ntk?
Did you try cd lib/ntk
./configure
make
Yes, I did it and I having this error but nevermind:

Fl_Double_Window.cxx: In member function ‘void
Fl_Double_Window::flush(int)’:
Fl_Double_Window.cxx:328: error: ‘class Fl_X’ has no member named ‘other_cs’


Try it. If it does not work... Perhaps there's a way to force
Post by James Morris
ntk to find fltk1.3 rather than 1.1 when both exist?
BTW, Yoshimi-1.0.0 builds with fltk 1.3.
James.
Maybe I need to double check how fltk 1.3 was installed, need to work on
this
Thanks as always James,
Dominique Michel
2012-07-28 08:39:12 UTC
Permalink
Le Fri, 27 Jul 2012 20:08:07 +0100,
Post by James Morris
[...]
Post by Diego Simak
In file included from ../FL/fl_draw.H:39,
../FL/Fl_Device.H:137: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:220: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:221: error: ‘Fl_Region’ has not been declared
../FL/Fl_Device.H:347: error: ‘Fl_Region’ does not name a type
../FL/Fl_Device.H:349: error: ‘Fl_Region’ has not been declared
[...]
Post by Diego Simak
Don't really know if this error depends on the FLTK version installed
(1.1.0) or it is something else?
I'm using Ubuntu 10.04 LTS.
Thank you
Diego
From these errors it looks like you need fltk-1.3.
I get the same issue on gentoo.
In scripts/Makefile, replace

CXXFLAGS := $(CFLAGS) $(CXXFLAGS)

by

CXXFLAGS := $(CFLAGS) $(CXXFLAGS) $(FLTK_CFLAGS)

Ciao,
Dominique
--
"We have the heroes we deserve."
Loading...