-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on compiling #21
Comments
would you please give more info about the compiler version and your os? |
The version of QMake is QMake version 3.0 I am using linux lite 2.4 64 bit On Mon, Sep 5, 2016 at 11:41 AM, amir zamani [email protected]
|
under Ubuntu and ArchLinux, I have tried |
OK , let me update my compiler to see if something change On Mon, Sep 5, 2016 at 6:18 PM, amir zamani [email protected]
|
I have updated my compiler to 6.2 and a new error has occurred instead . r::HttpRequestParser() [with TImpl = On Mon, Sep 5, 2016 at 6:21 PM, William Kibira [email protected]
|
it simply says that the toolchain has not configured to compile please make sure // shall return QByteArray
auto foo() {
return QString("unicode").toUtf8();
} |
specifying common dirsDEFINES *= QHTTP_HAS_CLIENT Qt5.5.1 on OSX needs both c++11 and c++14!! the c++14 is not enoughCONFIG += c++11 c++14 unix { win32 { DESTDIR = $$PRJDIR/xbin INCLUDEPATH += . $$PRJDIR/src $$PRJDIR/3rdparty It is enabled On Mon, Sep 5, 2016 at 7:50 PM, amir zamani [email protected]
|
Just tested this include int main(){ return 0; and it compiled and ran. On Mon, Sep 5, 2016 at 7:56 PM, William Kibira [email protected]
|
Hello, i encountered this issue when i was trying to compile qhttp on my machine .
private/httpwriter.hxx:87:55: note: qhttp::details::HttpWriter<TBase, TImpl>::writeHeaders(bool) [with TBase = qhttp::details::HttpResponseBase; TImpl = qhttp::server::QHttpResponsePrivate]::__lambda0
TBase::iheaders.forEach([this](const auto& cit) {
^
private/httpwriter.hxx:87:55: note: candidate expects 0 arguments, 1 provided
make[1]: *** [../tmp/unix/qhttp/qhttpserverresponse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../tmp/unix/qhttp/qhttpserverconnection.o] Error 1
make[1]: Leaving directory `/home/william/Desktop/BUS_BUDDY_DESKTOP/qhttp/src'
make: *** [sub-src-make_first] Error 2
Any help in resolving this issue would be greatly appreciated .
The text was updated successfully, but these errors were encountered: