-
Q: I'd like to participate. How do I begin?
-
0
i want to port this stack in iPhone device
— nam1cob · 7 years ago -
0
There is some activity going on to port ws4d-gsoap to the iphone: http://stackoverflow.com/questions/4314012/porting-ws4d-gsoap-stack-to-iphone . But I didn't get feedback yet so that i can merge this work in ws4d-gsoap.
But in general it should be straight forward.
To compile ws4d-gsoap for the iphone, we need a toolchain file for the cmake cross compile mode. For other cross compilers the toolchain files are located in the toolchains folder: http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/browser/trunk/toolchains
So you should create a toolchain file in this folder.
There are several examples for a toolchain-file for cmake cross compilation in the net. For example: http://sites.google.com/site/michaelsafyan/coding/resources/how-to-guides/cross-compile-for-the-iphone/how-to-cross-compile-for-the-iphone-using-cmake
After you created such a toolchain file, you should setup a cross build as described in http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/browser/trunk/CROSSCOMPILE . But always create and install a non-cross environment first as ws4d-gsoap contains code generators that can only run when they are not cross compiled!
So this are the steps to cross compile ws4d-gsoap for the iphone. I don't know how experienced in cross compilers and cmake you are, so feel free to ask for further details! I won't be able to reproduce this, as i don't have a mac an as far as i know the iphone sdk
only runs on a mac.
— elmex · 7 years ago -
0
hello elmex,
you are right i was using the cmake to compile the ws4d-gsoap. i was not using not using the any toolchain as such. I was manually enter all the required field of the cmake editor and build. I will explain all my step in detail but these are the abstract of main step i followed.
1. I build the gsoap 2.7 for the iPhone .
2. I build the openssl for the iPhone.
NOTE. The step 1 and 2 are required because ws4d-gsoap is depended on these file and both should be build for same arch.
3. i use ccmake tool to build the ws4d-gsoap lib.I aslo planning to use the toolchain http://sites.google.com/site/michaelsafyan/coding/resources/how-to-guides/cross-compile-for-the-iphone/how-to-cross-compile-for-the-iphone-using-cmake
but some issue while building them so i manually entered the fields of ccmake.
I will send you detail step. Thanks for your help and support.
Regards
Naveen Murthy
— nam1cob · 7 years ago
-
-
Q: Other than writing code, how can I contribute?
-
Q: What's a good bug for a newcomer to tackle?
-
Q: What is a bug or issue with ws4d-gsoap that you've been putting off, neglecting, or just plain avoiding?
About ws4d-gsoap
WS4D-gSOAP is a toolkit for developing Web services consumer and provider being conform to the “Devices Profile for Web Services” (DPWS) in C/C++. The toolkit is implemented as an extension to the well known gSOAP Web services toolkit. Developers can concentrate on the implementation of a device's functionality as WS4D-gSOAP supports code generation on service and device level.
from the profile of elmex
People who want to help (3)
Registered contributors (1)
Volunteer opportunities, etc.
No volunteer opportunities in ws4d-gsoap indexed here yet. Add a bug tracker.
There is 1 person who can mentor in ws4d-gsoap.
There are 169 people who can mentor in C, ws4d-gsoap's primary language.
You can embed the "I want to help" button on your website. (More about this.)