Re: Compiling qtstalker 0.36 in lenny.
- To: debian-user@lists.debian.org
- Subject: Re: Compiling qtstalker 0.36 in lenny.
- From: oneirik <oneirik@gmail.com>
- Date: Tue, 10 Mar 2009 11:04:40 -0700 (PDT)
- Message-id: <[🔎] 22440156.post@talk.nabble.com>
- In-reply-to: <20081201012203.GB17989@bluemoon.alumni.iitm.ac.in>
- References: <d559b4c0811300725g7b24c527u1486ce0eb30ad0ae@mail.gmail.com> <20081130161738.GA11279@bluemoon.alumni.iitm.ac.in> <d559b4c0811301616m166cc797y9e0f755adee011d1@mail.gmail.com> <20081201012203.GB17989@bluemoon.alumni.iitm.ac.in>
On Mon, Dec 01, 2008 at 05:46:00AM +0530, L.V.Gandhi wrote:
> > UpgradeMessage.cpp: In member function �void
> UpgradeMessage::copyFiles()�:
> > UpgradeMessage.cpp:447: error: �system� was not declared in this
> scope
> > UpgradeMessage.cpp:454: error: �system� was not declared in this
> scope
> > UpgradeMessage.cpp:466: error: �system� was not declared in this
> scope
> > UpgradeMessage.cpp:472: error: �system� was not declared in this
> scope
> > UpgradeMessage.cpp:484: error: �system� was not declared in this
> scope
> > UpgradeMessage.cpp:496: error: �system� was not declared in this
> scope
> > make[1]: *** [UpgradeMessage.o] Error 1
> >
> > I searched google for �system� was not declared in this scope.
> But
> I
> > couldn't get any link.
>
> Try adding #include <cstdlib> in the top of the file, along with the
> other #include lines.
>
> Thanks.
> Do you refer to configure file?
It worked for me:
vim lib/UpgradeMessage.h
add there in the includes section #include <cstdlib>
you will have to do it for anther file:
vim src/IndicatorPage.h
and again add #include <cstdlib> among the other includes.
Thank you guys.
--
View this message in context: http://www.nabble.com/Compiling-qtstalker-0.36-in-lenny.-tp20758639p22440156.html
Sent from the Debian User mailing list archive at Nabble.com.
Reply to: