Compiling ClipGrab 3.9.5 on 14.2 64-bit
by Jeebizz from LinuxQuestions.org on (#5B9BE)
So can anyone successfully compile ClipGrab 3.9.5? I keep running into this error:
Code:./video.h: In member function 'virtual QVariant DownloadListModel::data(const QModelIndex&, int) const':
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:95:21: error: within this context
case video::state::downloading: {
^
download_list_model.cpp:95:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:105:21: error: within this context
case video::state::converting:
^
download_list_model.cpp:105:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:107:21: error: within this context
case video::state::finished:
^
download_list_model.cpp:107:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:109:21: error: within this context
case video::state::paused:
^
download_list_model.cpp:109:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:111:21: error: within this context
case video::state::canceled:
^
download_list_model.cpp:111:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:113:21: error: within this context
case video::state::unfetched:
^
download_list_model.cpp:113:21: error: 'video::state' is not a class, namespace, or enumeration
Makefile:964: recipe for target 'download_list_model.o' failed
make: *** [download_list_model.o] Error 1I am also using the slackbuilds script from slackbuilds.org - the only modification I made was the version:
Code:PRGNAM=clipgrab
VERSION=${VERSION:-3.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}Just running standard Slackware 14.2 64-Bit.


Code:./video.h: In member function 'virtual QVariant DownloadListModel::data(const QModelIndex&, int) const':
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:95:21: error: within this context
case video::state::downloading: {
^
download_list_model.cpp:95:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:105:21: error: within this context
case video::state::converting:
^
download_list_model.cpp:105:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:107:21: error: within this context
case video::state::finished:
^
download_list_model.cpp:107:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:109:21: error: within this context
case video::state::paused:
^
download_list_model.cpp:109:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:111:21: error: within this context
case video::state::canceled:
^
download_list_model.cpp:111:21: error: 'video::state' is not a class, namespace, or enumeration
In file included from download_list_model.h:7:0,
from download_list_model.cpp:1:
./video.h:125:18: error: 'video::state video::state' is protected
video::state state;
^
download_list_model.cpp:113:21: error: within this context
case video::state::unfetched:
^
download_list_model.cpp:113:21: error: 'video::state' is not a class, namespace, or enumeration
Makefile:964: recipe for target 'download_list_model.o' failed
make: *** [download_list_model.o] Error 1I am also using the slackbuilds script from slackbuilds.org - the only modification I made was the version:
Code:PRGNAM=clipgrab
VERSION=${VERSION:-3.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}Just running standard Slackware 14.2 64-Bit.