got an error with Filter.cpp #175
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I got this error for qmake & make
lib/Filter.cpp:93: error: reference to ‘Filter’ is ambiguous
lib/Filter.h:394: error: candidates are: typedef class Konsole::Filter Filter
lib/Filter.h:58: error: class Konsole::Filter
lib/Filter.cpp:93: error: expected constructor, destructor, or type conversion before ‘’ token
make[1]: ** [Filter.o] Error 1
make[1]: Leaving directory `/home/++++/cool-retro-term/qmltermwidget'
make: *** [sub-qmltermwidget-make_first-ordered] Error 2
Please help me,
thanks
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Hi @rakesh2485 sorry for the late response. It looks an issue with the compiler but I need more information to help you. Which OS are you running (name and version)? Which version of the compiler and of Qt are you using? The more information you give the better.
Hi @Swordfish90. Thanks for the reply.
I would like you to know that I am new to Linux and cool-retro-term worked on my Ubuntu, but later I installed certain stuffs to make my 32 bit applications work on my 64 bit machine and I am getting the error now. Please let me know if you need more info.
$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
$ qmake --version:
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
$ make --version
GNU Make 3.81
This program built for x86_64-pc-linux-gnu
Thanks.
Hi,
I got the same error on CentOS 6.6 (with a old GCC 4.4.7). I compiled the project successfully by replacing "Filter::" by "Konsole::Filter::" in "Filter.cpp".
The "using namespace Konsole" call doesn't seem to work well for some obscure reasons.