PDA

View Full Version : compile issue with guayadeque-0.2.7


TheBigRed
8th October 2010, 09:46 PM
Hi,

I tried to compile guayadeque-0.2.7 on Fedora 13, but this fails with the
following error messages:

+ /usr/bin/make
Scanning dependencies of target guayadeque
[ 0%] Building CXX object src/CMakeFiles/guayadeque.dir/AlListBox.o
In file included from /usr/src/redhat/BUILD/guayadeque-0.2.7/src/ItemListBox.h:25,
from /usr/src/redhat/BUILD/guayadeque-0.2.7/src/AlListBox.h:26,
from /usr/src/redhat/BUILD/guayadeque-0.2.7/src/AlListBox.cpp:22:
/usr/src/redhat/BUILD/guayadeque-0.2.7/src/ListView.h:148: error: ISO C++ forbids declaration of 'wxImageList' with no type
/usr/src/redhat/BUILD/guayadeque-0.2.7/src/ListView.h:148: error: expected ';' before '*' token
/usr/src/redhat/BUILD/guayadeque-0.2.7/src/ListView.h:174: error: 'wxImageList' has not been declared
In file included from /usr/src/redhat/BUILD/guayadeque-0.2.7/src/ItemListBox.h:25,
from /usr/src/redhat/BUILD/guayadeque-0.2.7/src/AlListBox.h:26,
from /usr/src/redhat/BUILD/guayadeque-0.2.7/src/AlListBox.cpp:22:
/usr/src/redhat/BUILD/guayadeque-0.2.7/src/ListView.h:253: error: ISO C++ forbids declaration of 'wxImageList' with no type
/usr/src/redhat/BUILD/guayadeque-0.2.7/src/ListView.h:253: error: expected ';' before '*' token
/usr/src/redhat/BUILD/guayadeque-0.2.7/src/ListView.h:348: error: 'wxImageList' has not been declared

used rpm spec file from https://bugzilla.redhat.com/show_bug.cgi?id=585707
http://dl.dropbox.com/u/146266/Fedora_Packages/guayadeque.spec

installed SW dependencies:

http://fedora.danny.cz/danny-wx/development/SRPMS/wxGTK-30-2.9.0-2.20100118svn63182.fc13.src.rpm

wxBase-30-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-devel-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-media-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-gl-2.9.0-2.20100118svn63182.fc13.x86_64

have someone a idea to preven the error message:
ListView.h:148: error: ISO C++ forbids declaration of 'wxImageList' with no type

picture of a working guayadeque: http://www.ubuntugeek.com/wp-content/uploads/2010/02/Guayadeque225.jpeg
Homepage of guayadeque: http://sourceforge.net/projects/guayadeque/

Seve
9th October 2010, 02:28 AM
Hello:

The dependencies that you need to install are all from the standard Fedora repositories.

yum -y install cmake wxGTK-devel gstreamer-devel flac-devel taglib-devel

It builds fine here using F13, F12 using the spec file that you attached with the dependencies noted above.

+ cmake . -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/g++
-- Check for working CXX compiler: /usr/lib64/ccache/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using install prefix /usr ...
-- Found wxWidgets: TRUE
-- checking for module 'gstreamer-0.10'
-- found gstreamer-0.10, version 0.10.29
-- checking for module 'gstreamer-controller-0.10'
-- found gstreamer-controller-0.10, version 0.10.29
-- checking for module 'sqlite3'
-- found sqlite3, version 3.6.22
-- checking for module 'libcurl'
-- found libcurl, version 7.19.7
-- checking for module 'taglib>=1.6.1'
-- found taglib, version 1.6.3
-- checking for module 'dbus-1'
-- found dbus-1, version 1.2.16
-- checking for module 'flac'
-- found flac, version 1.2.1
Current revision is 1227
-- Configuring done
-- Generating done
-- Build files have been written to: /home/seve/redhat/tmp/guayadeque-0.2.7
+ make -j4
Scanning dependencies of target guayadeque.it.mo
Scanning dependencies of target guayadeque.uk.mo
Scanning dependencies of target guayadeque.es.mo
[ 0%] [ 0%] [ 0%] Generating guayadeque.mo
Generating guayadeque.mo
Generating guayadeque.mo
Scanning dependencies of target guayadeque

The error you are generating is likely from installing:

wxBase-30-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-devel-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-media-2.9.0-2.20100118svn63182.fc13.x86_64
wxGTK-30-gl-2.9.0-2.20100118svn63182.fc13.x86_64

You should remove them as they are not needed to build guayadeque-0.2.7

TheBigRed
9th October 2010, 03:26 PM

Hello:

The dependencies that you need to install are all from the standard Fedora repositories.

yum -y install cmake wxGTK-devel gstreamer-devel flac-devel taglib-devel

It builds fine here using F13, F12 using the spec file that you attached with the dependencies noted above.

Thanks Seve,
works like a charme.:)