KDSOAP compile problem
-
Hello,
Today I downloaded KDSoap library. After some command like:
- git clone https://github.com/KDAB/KDSoap.git
- python.exe autogen.py
- configure.bat -shared -release
- mingw32-make.exe
I have a problem:
C:\Users\Rafal\Documents\GitHub\KDSoap [master ? +12 ~0 -0 !]> C:\Qt\Qt5.7.1\Tools\mingw530_32\bin\mingw32-make.exe cd kdwsdl2cpp/ && ( test -e Makefile || C:/Qt/Qt5.7.1/5.7/mingw53_32/bin/qmake C:/Users/Rafal/Documents/GitHub/KDSoap/kdwsdl2cpp/kdwsdl2cpp.pro CONFIG +=release CONFIG-=debug CONFIG-=debug_and_release CONFIG+=shared 'KDSOAP_INSTALL_PREFIX=C:\\KDAB\\KDSoap-1.5.50' VERSION=1.5.50 CONFIG+=kdsoap_target 'KDSOAP_BASE=C:\Users\Rafal\Documents\GitHub\KDSoap' -o Makefile ) && C:/Qt/Qt5.7.1/Tools/mingw530_32/bin/mingw32-make -f Makefile mingw32-make[1]: Entering directory 'C:/Users/Rafal/Documents/GitHub/KDSoap/kdwsdl2cpp' cd libkode/ && ( test -e Makefile || C:/Qt/Qt5.7.1/5.7/mingw53_32/bin/qmake C:/Users/Rafal/Documents/GitHub/KDSoap/kdwsdl2cpp/libkode/libkode.pro CONF IG+=release CONFIG-=debug CONFIG-=debug_and_release CONFIG+=shared 'KDSOAP_INSTALL_PREFIX=C:\\KDAB\\KDSoap-1.5.50' VERSION=1.5.50 CONFIG+=kdsoap_targe t 'KDSOAP_BASE=C:\Users\Rafal\Documents\GitHub\KDSoap' -o Makefile ) && C:/Qt/Qt5.7.1/Tools/mingw530_32/bin/mingw32-make -f Makefile mingw32-make[2]: Entering directory 'C:/Users/Rafal/Documents/GitHub/KDSoap/kdwsdl2cpp/libkode' g++ -c -pipe -fno-keep-inline-dllexport -Wno-long-long -U__STRICT_ANSI__ -pedantic -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer -arith -Wwrite-strings -Wformat -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -O2 -std=gnu++11 -Wall -Wextra -frtti -fexceptions - mthreads -DUNICODE -DUSE_EXCEPTIONS -DQT_FATAL_ASSERT -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../kdwsdl2cpp -IC:/Qt/Qt5.7.1/5.7/mingw53_32/include -IC:/Qt/Qt5.7.1/5.7/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.7.1/5.7/mingw53_32/include/QtCore -I_moc -IC:/Qt/Q t5.7.1/5.7/mingw53_32/mkspecs/win32-g++ -o _obj/code.o code.cpp g++: error: CreateProcess: No such file or directory Makefile:455: recipe for target '_obj/code.o' failed mingw32-make[2]: *** [_obj/code.o] Error 1 mingw32-make[2]: Leaving directory 'C:/Users/Rafal/Documents/GitHub/KDSoap/kdwsdl2cpp/libkode' Makefile:42: recipe for target 'sub-libkode-make_first' failed mingw32-make[1]: *** [sub-libkode-make_first] Error 2 mingw32-make[1]: Leaving directory 'C:/Users/Rafal/Documents/GitHub/KDSoap/kdwsdl2cpp' Makefile:42: recipe for target 'sub-kdwsdl2cpp-make_first' failed mingw32-make: *** [sub-kdwsdl2cpp-make_first] Error 2
Can anybody tell me what I'm doing wrong?
-
Hi! Are you sure mingw's g++ is installed?
-
Yes, after command g++ --version I have this information:
g++.exe (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 5.3.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I start command from powershell, maybe that's the problem?
-
Hi and welcome to devnet,
So you are not using Qt's provided MinGW ?
Can you call g++ from the console where you try to build your application ?
-
Hi,
I'm not sure what do you exactly mean....
Now I have mingw tools in path:
C:\Qt\Qt5.7.1\Tools\mingw530_32\bin
So when I put command g++ --version I get information wrote in my previous post.
KDSoap library to compile is in the path:
C:\Users\Rafal\Documents\GitHub\KDSoap
So without using system environment path I'll do :cd C:\Users\Rafal\Documents\GitHub\KDSoap C:\Qt\Qt5.7.1\Tools\mingw530_32\bin\mingw32-make.exe install
Or using make.exe instead of mingw32-make.exe
I also try to do this under current version of g++ :g++.exe (GCC) 6.3.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
But the result is exacly the same. Any idea?
-
I'd open the kdsoap project in Qt Creator and build it with the correct kit directly there.
-
I downloaded once again by git console the project library. Then I add MinGW provided by Qt to system environment path and build everything by git console. Now everything are build - I have .exe examples and .dll libraries. Still I have no idea what was wrong but thanks for any suggestions and help. Time to build something interesting ...