problem when doing cmake for ws4d-gsoap

104 views
Skip to first unread message

ManiInn

unread,
Sep 22, 2010, 5:32:19 AM9/22/10
to WS4D-gSOAP Users
Am new to ws4d. I tried the following command:

cmake -DGSOAP_PATH:PATH=/home/mani/smartenergy/gsoap-2.8 -
DCMAKE_INSTALL_PREFIX:PATH=/home/mani/smartenergy/ws4d-gsoap-install /
home/mani/smartenergy/ws4d-gsoap-0.8.src

Getting the following error. Please help in fixing this issue.
-- Buildversion: 0.8
-- Found gSOAP in: /home/mani/smartenergy/gsoap-2.8
-- Looking for doxygen...
-- Looking for doxygen... - found /usr/bin/doxygen
-- Looking for dot tool...
-- Looking for dot tool... - found /usr/bin/dot
-- Could NOT find SystemTap Development Tools! See http://sourceware.org/systemtap/
for details. (missing: DTRACE_EXECUTABLE)
-- Choosing target is: device - none specified
-- Will build documentation
-- Will build pdf documentation
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
DPWS-CMT_LIBRARIES (ADVANCED)

Elmar Zeeb

unread,
Sep 22, 2010, 8:20:54 AM9/22/10
to ws4d-gso...@googlegroups.com
Am 22.09.2010 11:32, schrieb ManiInn:
Am new to ws4d. I tried the following command:

cmake -DGSOAP_PATH:PATH=/home/mani/smartenergy/gsoap-2.8 -
DCMAKE_INSTALL_PREFIX:PATH=/home/mani/smartenergy/ws4d-gsoap-install /
home/mani/smartenergy/ws4d-gsoap-0.8.src

Getting the following error. Please help in fixing this issue.
-- Buildversion: 0.8
-- Found gSOAP in: /home/mani/smartenergy/gsoap-2.8
  
At the moment ws4d-gsoap doesn't support the latest version of gsoap. See http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/wiki/SupportedFeatures#SupportedgSOAPVersions for more information. I will try to work on the gsoap support soon.

Regards,
Elmar

ManiInn

unread,
Sep 23, 2010, 2:30:36 AM9/23/10
to WS4D-gSOAP Users
Hi Elmar,

Thanks. As you said I have taken ws4d-gsoap-0.7 and gsoap-2.7.13. But
I am facing few other issues.
Please help me in resolving this issues. FYI. I am using cmake version
2.4-patch 7.

CMake Error: Error in cmake code at
/home/mani/smartenergy/ws4d-gsoap-0.7.src/WS:213:
LIST does not recognize sub-command FIND
Current CMake stack:
[1]/home/mani/smartenergy/ws4d-gsoap-0.7.src/src/tools/CMakeLists.txt


CMake Error: Error in cmake code at
/home/mani/smartenergy/ws4d-gsoap-0.7.src/WS:240:
SET_SOURCE_FILES_PROPERTIES called with incorrect number of
arguments.
Current CMake stack:
[1]/home/mani/smartenergy/ws4d-gsoap-0.7.src/src/tools/CMakeLists.txt



CMake Error: Error in cmake code at
/home/mani/smartenergy/ws4d-gsoap-0.7.src/CMakeLists.txt:200:
ADD_SUBDIRECTORY given source "bin" which is not an existing
directory.
Current CMake stack:
[1]/home/mani/smartenergy/ws4d-gsoap-0.7.src/CMakeLists.txt

Regards,
Mani


On Sep 22, 5:20 pm, Elmar Zeeb <elmar.z...@googlemail.com> wrote:
> Am 22.09.2010 11:32, schrieb ManiInn:> Am new to ws4d. I tried the following command:
>
> > cmake -DGSOAP_PATH:PATH=/home/mani/smartenergy/gsoap-2.8 -
> > DCMAKE_INSTALL_PREFIX:PATH=/home/mani/smartenergy/ws4d-gsoap-install /
> > home/mani/smartenergy/ws4d-gsoap-0.8.src
>
> > Getting the following error. Please help in fixing this issue.
> > -- Buildversion: 0.8
> > -- Found gSOAP in: /home/mani/smartenergy/gsoap-2.8
>
> At the moment ws4d-gsoap doesn't support the latest version of gsoap.
> Seehttp://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/wiki/Support...
> for more information. I will try to work on the gsoap support soon.
>
> Regards,
> Elmar
> <http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/wiki/Support...>
>
> > -- Looking for doxygen...
> > -- Looking for doxygen... - found /usr/bin/doxygen
> > -- Looking for dot tool...
> > -- Looking for dot tool... - found /usr/bin/dot
> > -- Could NOT find SystemTap Development Tools! Seehttp://sourceware.org/systemtap/

Elmar Zeeb

unread,
Sep 23, 2010, 4:43:34 AM9/23/10
to ws4d-gso...@googlegroups.com
Oh, I'm sorry ws4d-gsoap 0.8.x is missing on
http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/wiki/SupportedFeatures
. I added 0.8.x. So you should use ws4d-gsoap 0.8 and gsoap 2.7.13 at
them moment. This should work. Otherwise there is a bug in the build system.

It looks like there is a bug in the build system of version 0.7. What
kind of system do you use?

Regards,
Elmar


--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik
Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

ManiInn

unread,
Sep 23, 2010, 10:50:09 AM9/23/10
to WS4D-gSOAP Users
Am using Ubuntu 8.04. I will apply the latest patch and test with ws4d-
gsoap-0.8 version.

You mentioned to use ws4d-gsoap-0.8 and gsoap 2.7.13... But i could
see there is a gsoap-2.7.17 patch for ws4d-gsoap-0.8.
Please clarify which version of gsoap to use.

Regards,
Mani

On Sep 23, 1:43 pm, Elmar Zeeb <elmar.z...@uni-rostock.de> wrote:
> Oh, I'm sorry ws4d-gsoap 0.8.x is missing onhttp://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/wiki/Support...
> Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik
> Institut f. Angewandte Mikroelektronik und Datentechnik
> University of Rostock, Faculty of CS and EE
> Institute of Applied Microelectronics and Computer Engineering,
> 18051 Rostock
> Deutschland/Germany
> Tel. : ++49 (0)381 498 - 7262
> Fax : ++49 (0)381 498 - 7252
> Email: elmar.z...@uni-rostock.de
> www :http://www.imd.uni-rostock.de/,http://www.ws4d.org/
> *******************************************************************************

Elmar Zeeb

unread,
Sep 23, 2010, 11:42:10 AM9/23/10
to ws4d-gso...@googlegroups.com
Am 23.09.2010 16:50, schrieb ManiInn:
> Am using Ubuntu 8.04. I will apply the latest patch and test with ws4d-
> gsoap-0.8 version.
>
> You mentioned to use ws4d-gsoap-0.8 and gsoap 2.7.13... But i could
> see there is a gsoap-2.7.17 patch for ws4d-gsoap-0.8.
> Please clarify which version of gsoap to use.
Yeah, i posted this patch just a few minutes ago. You can use this patch
also. The only problem here is that it is not so straight forward to use
(patching the sources)

Regards,
Elmar

>> Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik


>> Institut f. Angewandte Mikroelektronik und Datentechnik
>> University of Rostock, Faculty of CS and EE
>> Institute of Applied Microelectronics and Computer Engineering,
>> 18051 Rostock
>> Deutschland/Germany
>> Tel. : ++49 (0)381 498 - 7262
>> Fax : ++49 (0)381 498 - 7252
>> Email: elmar.z...@uni-rostock.de
>> www :http://www.imd.uni-rostock.de/,http://www.ws4d.org/
>> *******************************************************************************
>


--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik


Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252

ManiInn

unread,
Sep 24, 2010, 2:51:42 AM9/24/10
to WS4D-gSOAP Users
Hi Elmar,

I have tried as per your instructions.
ws4d-gsoap-0.8 and gsoap-2.7.17 with patch and ws4d-gsoap-0.8 with
gsoap-2.7.13.
I get the following error:

CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
DPWS-CMT_LIBRARIES (ADVANCED)


But when i tried with ws4d-gsoap-0.7 and gsoap-2.7.17, i get the same
error reported above:

CMake Error: Error in cmake code at
c++:213:
LIST does not recognize sub-command FIND
Current CMake stack:
[1]/home/mani/smartenergy/ws4d-gsoap-0.7.src/src/tools/CMakeLists.txt

Please help.

Can you please share the working setup details you have:
Please provide the details like, cmake version, ws4d-gsoap version,
gsoap version, ubuntu linux version etc.,
So that i will cross check if anything wrong with my end.

Regards,
Mani
> >>     Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik
> >>     Institut f. Angewandte Mikroelektronik und Datentechnik
> >>     University of Rostock, Faculty of CS and EE
> >>     Institute of Applied Microelectronics and Computer Engineering,
> >>     18051 Rostock
> >>     Deutschland/Germany
> >>     Tel. : ++49 (0)381 498 - 7262
> >>     Fax  : ++49 (0)381 498 - 7252
> >>     Email: elmar.z...@uni-rostock.de
> >>     www  :http://www.imd.uni-rostock.de/,http://www.ws4d.org/
> >> *******************************************************************************
>
> --
>
> *******************************************************************************
>    Dipl.-Inf. Elmar Zeeb
>    Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik

Elmar Zeeb

unread,
Sep 24, 2010, 6:13:24 AM9/24/10
to ws4d-gso...@googlegroups.com
Am 24.09.2010 08:51, schrieb ManiInn:
> Hi Elmar,
>
> I have tried as per your instructions.
> ws4d-gsoap-0.8 and gsoap-2.7.17 with patch and ws4d-gsoap-0.8 with
> gsoap-2.7.13.
> I get the following error:
>
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> DPWS-CMT_LIBRARIES (ADVANCED)
>
>
> But when i tried with ws4d-gsoap-0.7 and gsoap-2.7.17, i get the same
> error reported above:
>
> CMake Error: Error in cmake code at
> c++:213:
> LIST does not recognize sub-command FIND
> Current CMake stack:
> [1]/home/mani/smartenergy/ws4d-gsoap-0.7.src/src/tools/CMakeLists.txt
>
> Please help.
OK, then there is a bug in ws4d-gsoaps build system. Could you please
file a ticket for version 0.8 under
http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/newticket. I
first have to figue out, what the problem is. I assume the problem is
the cmake version in ubuntu 8.04.

Ubuntu 8.04 has a newer version of cmake (2.6.2) in the backports
package repository. This version should work.

>
> Can you please share the working setup details you have:
> Please provide the details like, cmake version, ws4d-gsoap version,
> gsoap version, ubuntu linux version etc.,
> So that i will cross check if anything wrong with my end.

I use ubuntu 10.04 with cmake version 2.8.1 and tested ws4d-gsoap 0.8
with gsoap 2.7.17 and 2.7.13

>>>> Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik


>>>> Institut f. Angewandte Mikroelektronik und Datentechnik
>>>> University of Rostock, Faculty of CS and EE
>>>> Institute of Applied Microelectronics and Computer Engineering,
>>>> 18051 Rostock
>>>> Deutschland/Germany
>>>> Tel. : ++49 (0)381 498 - 7262
>>>> Fax : ++49 (0)381 498 - 7252
>>>> Email: elmar.z...@uni-rostock.de
>>>> www :http://www.imd.uni-rostock.de/,http://www.ws4d.org/
>>>> *******************************************************************************
>>
>> --
>>
>> *******************************************************************************
>> Dipl.-Inf. Elmar Zeeb

>> Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik


>> Institut f. Angewandte Mikroelektronik und Datentechnik
>> University of Rostock, Faculty of CS and EE
>> Institute of Applied Microelectronics and Computer Engineering,
>> 18051 Rostock
>> Deutschland/Germany
>> Tel. : ++49 (0)381 498 - 7262
>> Fax : ++49 (0)381 498 - 7252
>> Email: elmar.z...@uni-rostock.de
>> www :http://www.imd.uni-rostock.de/,http://www.ws4d.org/
>> *******************************************************************************
>


--
*******************************************************************************
Dipl.-Inf. Elmar Zeeb

Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik


Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252

ManiInn

unread,
Oct 11, 2010, 11:25:43 AM10/11/10
to WS4D-gSOAP Users
Hi Elmar,

The issue is resolved after using Ubuntu10.04, cmake2.8, ws4d-
gsoap-0.8 and gsoap2.7.
I am able to compile and run the AC client and controller in my Ubuntu
machine.

But I am not able to cross compile for ARM. I am trying to compile for
Android.
I have used prebuilt ARM-EABI-4.2.1 present in Android ndk1.6.
Please let me know if any configuration needs to be done in cmake
build system for this.

Regards,
ManiInn

On Sep 24, 3:13 pm, Elmar Zeeb <elmar.z...@uni-rostock.de> wrote:
> Am 24.09.2010 08:51, schrieb ManiInn:
>
> > Hi Elmar,
>
> > I have tried as per your instructions.
> > ws4d-gsoap-0.8 and gsoap-2.7.17 with patch and ws4d-gsoap-0.8 with
> > gsoap-2.7.13.
> > I get the following error:
>
> > CMake Error: This project requires some variables to be set,
> > and cmake can not find them.
> > Please set the following variables:
> > DPWS-CMT_LIBRARIES (ADVANCED)
>
> > But when i tried with ws4d-gsoap-0.7 and gsoap-2.7.17, i get the same
> > error reported above:
>
> > CMake Error: Error in cmake code at
> > c++:213:
> > LIST does not recognize sub-command FIND
> > Current CMake stack:
> > [1]/home/mani/smartenergy/ws4d-gsoap-0.7.src/src/tools/CMakeLists.txt
>
> > Please help.
>
> OK, then there is a bug in ws4d-gsoaps build system. Could you please
> file a ticket for version 0.8 underhttp://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/newticket. I

Elmar Zeeb

unread,
Oct 11, 2010, 2:37:16 PM10/11/10
to ws4d-gso...@googlegroups.com
Great. I already could reproduce the problem with the cmake version 2.4 that is coming with ubuntu hardy. At the moment the fix consists in installing the version from the backports.

Considering your need to cross compile for android ndk: the right way to do this is to create a proper toolchain file for this environment. I looked at the latest android ndk and it looks like a complicated cross compiler toolchain. I can help you to create a toolchain file but i first have to figure out how to exactly call the cross compiler that is part of the ndk. Do you have a simple hello world c programm, where i can easily see with which parameters the compiler is called?

Regards,
Elmar

--

*******************************************************************************
   Dipl.-Inf. Elmar Zeeb
   Universität Rostock, Fakultät f. Informatik und Elektrotechnik

   Institut f. Angewandte Mikroelektronik und Datentechnik
   University of Rostock, Faculty of CS and EE
   Institute of Applied Microelectronics and Computer Engineering,
   18051 Rostock
   Deutschland/Germany
   Tel. : ++49 (0)381 498 - 7262
   Fax  : ++49 (0)381 498 - 7252
   Email: elmar...@uni-rostock.de
   www  : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************
--
You received this message because you are subscribed to the Google Groups "WS4D-gSOAP Users" group.
To post to this group, send email to ws4d-gso...@googlegroups.com.
To unsubscribe from this group, send email to ws4d-gsoap-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ws4d-gsoap-users?hl=en.

ManiInn

unread,
Oct 12, 2010, 7:40:54 AM10/12/10
to WS4D-gSOAP Users
Hi Elmar,

I have sent a mail to your mail id (elmar...@uni-rostock.de). The
mail has the sample helloworld program for android,.
Kindly request you to check my mail and help me in resolving the cross
compilation issue.

Regards,
ManiInn

On Oct 11, 11:37 pm, Elmar Zeeb <elmar.z...@uni-rostock.de> wrote:
> Great. I already could reproduce the problem with the cmake version 2.4 that is coming with ubuntu hardy. At the moment the fix consists in installing the version from the backports.
>
> Considering your need to cross compile for android ndk: the right way to do this is to create a proper toolchain file for this environment. I looked at the latest android ndk and it looks like a complicated cross compiler toolchain. I can help you to create a toolchain file but i first have to figure out how to exactly call the cross compiler that is part of the ndk. Do you have a simple hello world c programm, where i can easily see with which parameters the compiler is called?
>
> Regards,
> Elmar
>
> --
>
> *******************************************************************************
> Dipl.-Inf. Elmar Zeeb
> Universität Rostock, Fakultät f. Informatik und Elektrotechnik
> Institut f. Angewandte Mikroelektronik und Datentechnik
> University of Rostock, Faculty of CS and EE
> Institute of Applied Microelectronics and Computer Engineering,
> 18051 Rostock
> Deutschland/Germany
> Tel. : ++49 (0)381 498 - 7262
> Fax : ++49 (0)381 498 - 7252
> Email: elmar.z...@uni-rostock.de
> www :http://www.imd.uni-rostock.de/,http://www.ws4d.org/
> *******************************************************************************
>
> ________________________________
> To unsubscribe from this group, send email to ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages