got an error with Filter.cpp #175

Open
opened 2014-11-17 13:28:01 +01:00 by rakesh2485 · 3 comments
rakesh2485 commented 2014-11-17 13:28:01 +01:00 (Migrated from github.com)

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.

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 ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6194628-got-an-error-with-filter-cpp?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github). </bountysource-plugin>
Swordfish90 commented 2014-11-17 22:44:58 +01:00 (Migrated from github.com)

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 @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.
rakesh2485 commented 2014-11-18 05:32:05 +01:00 (Migrated from github.com)

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 @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.
exophoric commented 2015-01-07 22:17:43 +01:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#175
No description provided.