soapcpp2 -i bike.h
问题:
** The gSOAP code generator for C and C++, soapcpp2 release 2.8.17r
** Copyright (C) 2000-2013, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The soapcpp2 tool is released under one of the following licenses:
** GPL or the commercial license by Genivia Inc.
Critical error: #import: Cannot open file "stlvector.h" for reading.
Hint: use option -I (for example -Igsoap/import:gsoap/custom:.)
mkdir import
从gsoap源码中拷贝需要的头文件过来
cp ~/download/gsoap-2.8/gsoap/import/stlvector.h ./import
其他soap12.h xmime5.h xop.h这几个头文件也拷贝过来
作者:帅得不敢出门 程序员群:31843264