Trying to compile on debian stable - have compile successfully in the past - but now:
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/Callback.o src/Callback.cc
src/Callback.cc: In static member function â:
src/Callback.cc:86: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
src/Callback.cc:86: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/CardWidget.o src/CardWidget.cc
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/EmbedWindow.o src/EmbedWindow.cc
src/EmbedWindow.cc: In member function â:
src/EmbedWindow.cc:332: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
src/EmbedWindow.cc:332: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/ExtractWindow.o src/ExtractWindow.cc
src/ExtractWindow.cc: In member function â:
src/ExtractWindow.cc:157: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
src/ExtractWindow.cc:157: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/ImgWidget.o src/ImgWidget.cc
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/MsgWindow.o src/MsgWindow.cc
src/MsgWindow.cc: In constructor â:
src/MsgWindow.cc:53: error: â was not declared in this scope
ftk ver
ii libfltk1.1 1.1.9-6 Fast Light Toolkit - shared libraries
ii libfltk1.1-dev 1.1.9-6 Fast Light Toolkit - development files
Any help would be appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not sure why symbols (function names in this case) wouldn't be printed correctly in your output and I don't have a Debian stable to test with at the moment, however I can reproduce the error and it seems to be caused by a call to the 'exit' function in MsgWindow.cc.
Adding the #include <cstdlib> directive on top of the file fixes it for me. I'd like to eventually revise the project and upgrade it to newer FLTK libraries, but for now let me know if this lets you progress.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(sabayon- Gentoo)
sabayon@sabayon ~ $ cvs -z3 -d:pserver:anonymous@stegui.cvs.sourceforge.net:/cvsroot/stegui co -P stegui
cvs checkout: warning: failed to open /home/sabayon/.cvspass for reading: No such file or directory
? stegui/aclocal.m4
? stegui/autom4te.cache
? stegui/config.log
? stegui/configure
cvs checkout: Updating stegui
cvs checkout: Updating stegui/bin
cvs checkout: Updating stegui/src
cvs checkout: Updating stegui/src/pstreams
sabayon@sabayon ~ $ cd stegui
sabayon@sabayon ~/stegui $ ls
aclocal.m4 BUGS config.log COPYING INSTALL missing TODO
AUTHORS ChangeLog configure CVS install-sh README
autom4te.cache compile configure.ac depcomp Makefile.am src
sabayon@sabayon ~/stegui $ su
Password:
sabayon stegui # ./cnfigure
bash: ./cnfigure: No such file or directory
sabayon stegui # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether make sets $(MAKE)... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for snd_pcm_open in -lasound... yes
checking for pthread_create in -lpthread... yes
checking for fl_display in -lfltk... no
configure: error: libfltk missing
sabayon stegui # equo install fltk
╠ @@ Calculating dependencies...
╠ ## [R][sabayonlinux.org] x11-libs/fltk-1.3.2_p10088|0 [1.3.2_p10088|0]
╠ @@ Packages needing to be installed/updated/downgraded: 1
╠ @@ Packages needing to be removed: 0
╠ @@ Download size: 0b
╠ @@ Freed disk space: 0.0b
╠ @@ You need at least: 4.3MB of free space
╠ ::: >>> (1/1) 1 package
╠ ## Downloading: 1 package
╠ ## ( mirror #1 ) [x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2] @ http://mirror.clarkson.edu
╠ ## Aggregated download: 1 item
╠ # [1] mirror.clarkson.edu => x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2
╠ ## Checking package checksum...
╠ ## ( mirror #1 ) [x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2] success @ http://mirror.clarkson.edu
╠ +++ >>> (1/1) x11-libs/fltk-1.3.2_p10088
╠ ## Unpacking: x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2
╠ ## Installing package: x11-libs/fltk-1.3.2_p10088
╠ ## [C++ user interface toolkit for X and OpenGL]
╠ ## Updating installed packages repository: x11-libs/fltk-1.3.2_p10088
╠ ## Cleaning previously installed application data.
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Regenerating /etc/ld.so.cache...
╠ ## Package phase: postremove
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
* Updating desktop mime database ...
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Regenerating /etc/ld.so.cache...
╠ ## Package phase: postinstall
* Updating desktop mime database ...
╠ ## Cleaning: x11-libs/fltk-1.3.2_p10088
╠ @@ Installation complete.
╠ @@ Scanning configuration files to update!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
╠ @@ No configuration files to update.
☛ There are 6 preserved libraries on the system
╠ /usr/lib64/libgnutls.so.26 [libgnutls.so.26:2 -> net-libs/gnutls-2.12.23-r4]
╠ /usr/lib64/libgcrypt.so.11 [libgcrypt.so.11:2 -> dev-libs/libgcrypt-1.5.4-r100]
╠ /usr/lib64/librazorqxt.so.0 [librazorqxt.so.0:2 -> razorqt-base/razorqt-libs-0.5.2]
╠ /usr/lib64/librazorqt.so.0 [librazorqt.so.0:2 -> razorqt-base/razorqt-libs-0.5.2]
╠ /usr/lib64/librazormount.so.0 [librazormount.so.0:2 -> razorqt-base/razorqt-libs-0.5.2]
╠ /usr/lib64/libperl.so.5.16 [libperl.so.5.16:2 -> dev-lang/perl-5.16.3]
sabayon stegui #
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Trying to compile on debian stable - have compile successfully in the past - but now:
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/Callback.o src/Callback.cc
src/Callback.cc: In static member function â:
src/Callback.cc:86: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
src/Callback.cc:86: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/CardWidget.o src/CardWidget.cc
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/EmbedWindow.o src/EmbedWindow.cc
src/EmbedWindow.cc: In member function â:
src/EmbedWindow.cc:332: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
src/EmbedWindow.cc:332: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/ExtractWindow.o src/ExtractWindow.cc
src/ExtractWindow.cc: In member function â:
src/ExtractWindow.cc:157: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
src/ExtractWindow.cc:157: warning: â is deprecated (declared at /usr/include/FL/fl_ask.H:59)
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/ImgWidget.o src/ImgWidget.cc
g++ -Wall -pedantic -O2 `fltk-config -cxxflags` -c -o src/MsgWindow.o src/MsgWindow.cc
src/MsgWindow.cc: In constructor â:
src/MsgWindow.cc:53: error: â was not declared in this scope
ftk ver
ii libfltk1.1 1.1.9-6 Fast Light Toolkit - shared libraries
ii libfltk1.1-dev 1.1.9-6 Fast Light Toolkit - development files
Any help would be appreciated
Not sure why symbols (function names in this case) wouldn't be printed correctly in your output and I don't have a Debian stable to test with at the moment, however I can reproduce the error and it seems to be caused by a call to the 'exit' function in MsgWindow.cc.
Adding the #include <cstdlib> directive on top of the file fixes it for me. I'd like to eventually revise the project and upgrade it to newer FLTK libraries, but for now let me know if this lets you progress.
(sabayon- Gentoo)
sabayon@sabayon ~ $ cvs -z3 -d:pserver:anonymous@stegui.cvs.sourceforge.net:/cvsroot/stegui co -P stegui
cvs checkout: warning: failed to open /home/sabayon/.cvspass for reading: No such file or directory
? stegui/aclocal.m4
? stegui/autom4te.cache
? stegui/config.log
? stegui/configure
cvs checkout: Updating stegui
cvs checkout: Updating stegui/bin
cvs checkout: Updating stegui/src
cvs checkout: Updating stegui/src/pstreams
sabayon@sabayon ~ $ cd stegui
sabayon@sabayon ~/stegui $ ls
aclocal.m4 BUGS config.log COPYING INSTALL missing TODO
AUTHORS ChangeLog configure CVS install-sh README
autom4te.cache compile configure.ac depcomp Makefile.am src
sabayon@sabayon ~/stegui $ su
Password:
sabayon stegui # ./cnfigure
bash: ./cnfigure: No such file or directory
sabayon stegui # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether make sets $(MAKE)... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for snd_pcm_open in -lasound... yes
checking for pthread_create in -lpthread... yes
checking for fl_display in -lfltk... no
configure: error: libfltk missing
sabayon stegui # equo install fltk
╠ @@ Calculating dependencies...
╠ ## [R] [sabayonlinux.org] x11-libs/fltk-1.3.2_p10088|0 [1.3.2_p10088|0]
╠ @@ Packages needing to be installed/updated/downgraded: 1
╠ @@ Packages needing to be removed: 0
╠ @@ Download size: 0b
╠ @@ Freed disk space: 0.0b
╠ @@ You need at least: 4.3MB of free space
╠ ::: >>> (1/1) 1 package
╠ ## Downloading: 1 package
╠ ## ( mirror #1 ) [x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2] @ http://mirror.clarkson.edu
╠ ## Aggregated download: 1 item
╠ # [1] mirror.clarkson.edu => x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2
╠ ## Checking package checksum...
╠ ## ( mirror #1 ) [x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2] success @ http://mirror.clarkson.edu
╠ +++ >>> (1/1) x11-libs/fltk-1.3.2_p10088
╠ ## Unpacking: x11-libs:fltk-1.3.2_p10088.831a07d4a1b5d818aecc53c8baefea0f625f939d~0.tbz2
╠ ## Installing package: x11-libs/fltk-1.3.2_p10088
╠ ## [C++ user interface toolkit for X and OpenGL]
╠ ## Updating installed packages repository: x11-libs/fltk-1.3.2_p10088
╠ ## Cleaning previously installed application data.
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
FTLK is installed however a no go on detection n Gentoo type of systems...
https://drive.google.com/folderview?id=0B7h4nAzaZ10_cWJtVVB5a3psbG8&usp=sharing
VM keep in mind Sabayon is optimized for Bleeding Edge...
3-8 gigs to run the VM and 2-4 cores....
Last edit: Michael R. Lawrence 2014-10-09