stamaimer / crawler Goto Github PK
View Code? Open in Web Editor NEWcrawl the price of merchadises from newegg, walmart, bestbuy, synnex
crawl the price of merchadises from newegg, walmart, bestbuy, synnex
Hi,
I am trying to compile the newegg folder using qmake command the make command and I get error
'''
In file included from utility.cpp:1:0:
utility.h: In constructor ‘Utility::Utility(std::ostream&, QTextEdit_)’:
utility.h:17:5: error: uninitialized reference member ‘Utility::out_stream’ [-fpermissive]
Utility(std::ostream& out_stream, QTextEdit_ console)
^
utility.h:19:26: error: use of deleted function ‘std::basic_ostream& std::basic_ostream::operator=(const std::basic_ostream&)’
this->out_stream = out_stream;
^
In file included from /usr/include/c++/4.8/iostream:39:0,
from utility.h:5,
from utility.cpp:1:
/usr/include/c++/4.8/ostream:58:11: note: ‘std::basic_ostream& std::basic_ostream::operator=(const std::basic_ostream&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_ostream : virtual public basic_ios<CharT, Traits>
^
/usr/include/c++/4.8/ostream:58:11: error: use of deleted function ‘std::basic_ios& std::basic_ios::operator=(const std::basic_ios&)’
In file included from /usr/include/c++/4.8/ios:44:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from utility.h:5,
from utility.cpp:1:
/usr/include/c++/4.8/bits/basic_ios.h:66:11: note: ‘std::basic_ios& std::basic_ios::operator=(const std::basic_ios&)’ is implicitly deleted because the default definition would be ill-formed:
class basic_ios : public ios_base
^
In file included from /usr/include/c++/4.8/streambuf:41:0,
from utility.h:4,
from utility.cpp:1:
/usr/include/c++/4.8/bits/ios_base.h:789:5: error: ‘std::ios_base& std::ios_base::operator=(const std::ios_base&)’ is private
operator=(const ios_base&);
^
In file included from /usr/include/c++/4.8/ios:44:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from utility.h:5,
from utility.cpp:1:
/usr/include/c++/4.8/bits/basic_ios.h:66:11: error: within this context
class basic_ios : public ios_base
^
In file included from utility.cpp:1:0:
utility.h: In static member function ‘static void Utility::redirect()’:
utility.h:32:32: error: too few arguments to function ‘void (* qInstallMessageHandler(QtMessageHandler))(QtMsgType, const QMessageLogContext&, const QString&)’
qInstallMessageHandler();
^
In file included from /usr/include/qt5/QtCore/qglobal.h:1037:0,
from /usr/include/qt5/QtGui/qwindowdefs.h:45,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:45,
from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:45,
from /usr/include/qt5/QtWidgets/qtextedit.h:45,
from /usr/include/qt5/QtWidgets/QTextEdit:1,
from utility.h:8,
from utility.cpp:1:
/usr/include/qt5/QtCore/qlogging.h:150:32: note: declared here
Q_CORE_EXPORT QtMessageHandler qInstallMessageHandler(QtMessageHandler);
^
utility.cpp: At global scope:
utility.cpp:3:1: error: prototype for ‘Utility::Utility()’ does not match any in class ‘Utility’
Utility::Utility()
^
In file included from utility.cpp:1:0:
utility.h:10:7: error: candidates are: Utility::Utility(const Utility&)
class Utility : public std::basic_streambuf
^
utility.h:17:5: error: Utility::Utility(std::ostream&, QTextEdit)
Utility(std::ostream& out_stream, QTextEdit console)
^
make: *** [utility.o] Error 1
'''
I am using Ubuntu 14.04 LTS and QT4. Can you please help me and let me know whats wrong?
Regards,
Tarun
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.