Installation OpenWNS-SDK

Asked by kharny on 2009-06-08

Hello,
I´m able to downlaod openWNS, but neither the execution of it through "./playground.py install --flavour=dbg" nor through "./playground.py install" works properly. I get error messages like:

"scons: building terminated because of errors"
and most of the errors are such as:
"expected initializer(or ' ; ') before '<' (or ' * ') token"
"ISO C++ forbids declaration of ''ResetSignal" with no type"

Would you please help to fix this problem?
Thanks
Marco

Question information

Language:
English Edit question
Status:
Solved
For:
openWNS SDK Edit question
Assignee:
No assignee Edit question
Solved by:
kharny
Solved:
2009-06-12
Last query:
2009-06-12
Last reply:
2009-06-12

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Marco,

could it be possible that you have not installed all of the
prerequisites? My guess is that you have not installed the signals
library of libboost.

Check if you have installed libboost-signals-dev. Try:

sudo apt-get install libboost-signals-dev

If it still does not work let me know and please send the full compiler
output.

Best Regards,
  Daniel

marco wrote:
> New question #73642 on openWNS SDK:
> https://answers.launchpad.net/openwns-sdk/+question/73642
>
>
>
> Hello,
> I´m able to downlaod openWNS, but neither the execution of it through "./playground.py install --flavour=dbg" nor through "./playground.py install" works properly. I get error messages like:
>
> "scons: building terminated because of errors"
> and most of the errors are such as:
> "expected initializer(or ' ; ') before '<' (or ' * ') token"
> "ISO C++ forbids declaration of ''ResetSignal" with no type"
>
> Would you please help to fix this problem?
> Thanks
> Marco
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkot+4wACgkQf9Vu/ReRkeBTMACgpGsX+5wg5+wflWPMNpKbD1CR
0t0Ani7KcRzbaPUsI76hnP6Q6LPYLauk
=6HUK
-----END PGP SIGNATURE-----

Hendrik (mostricht) said : #2

Hi everybody,
downloading and installing the prerequisites worked out pretty well (i guess) and even the compiling routine seemed to do the job, but only up to a certain point...
After about 30 minutes of compiling time, an error occured saying:

---------------------------------------------------------------------------------------
In file included from modules/dll/wimac/src/Utilities.cpp:28:
include/WIMAC/Utilities.hpp:44: error: 'uint' has not been declared
modules/dll/wimac/src/Utilities.cpp:33: error: 'std::string wimac::Utilities::printip' is not a static member of 'class wimac::Utilities'
modules/dll/wimac/src/Utilities.cpp:33: error: 'uint' was not declared in this scope
modules/dll/wimac/src/Utilities.cpp:34: error: expected ',' or ';' before '{' token
scons: *** [.build/dbg/openwns-wimac/wimac--main--1.0/src/Utilities.os] Error 1
scons: building terminated because of errors
---------------------------------------------------------------------------------------

Did i do something wrong or did i miss any prerequisite (which is btw a pita to pronounce :-))?

Thanks for your help!
Regards

Mohammad Siddique (mms-hbc) said : #3

adding the following line

#include <WNS/ldk/Command.hpp>

in modules/dll/wimac/src/Utilities.hpp

might help.

br,
mms

Hendrik wrote:
> Question #73642 on openWNS SDK changed:
> https://answers.launchpad.net/openwns-sdk/+question/73642
>
> Hendrik proposed the following answer:
> Hi everybody,
> downloading and installing the prerequisites worked out pretty well (i guess) and even the compiling routine seemed to do the job, but only up to a certain point...
> After about 30 minutes of compiling time, an error occured saying:
>
> ---------------------------------------------------------------------------------------
> In file included from modules/dll/wimac/src/Utilities.cpp:28:
> include/WIMAC/Utilities.hpp:44: error: 'uint' has not been declared
> modules/dll/wimac/src/Utilities.cpp:33: error: 'std::string wimac::Utilities::printip' is not a static member of 'class wimac::Utilities'
> modules/dll/wimac/src/Utilities.cpp:33: error: 'uint' was not declared in this scope
> modules/dll/wimac/src/Utilities.cpp:34: error: expected ',' or ';' before '{' token
> scons: *** [.build/dbg/openwns-wimac/wimac--main--1.0/src/Utilities.os] Error 1
> scons: building terminated because of errors
> ---------------------------------------------------------------------------------------
>
> Did i do something wrong or did i miss any prerequisite (which is btw a
> pita to pronounce :-))?
>
> Thanks for your help!
> Regards
>

kharny (kharny) said : #4

Hi guys,
somehow all perequisites were not installed. Thanks for the hint.
Actually I got the following error during the insallation of the WROWSER:

--------------------------------------------------------
scons: Reading SConscript files ...
Checking for PyQt4...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
pyuic4 ui/Dialogues_ColumnSelect.ui -o wrowser/ui/Dialogues_ColumnSelect_ui.py
sh: pyuic4: not found
scons: *** [wrowser/ui/Dialogues_ColumnSelect_ui.py] Error 127
scons: building terminated because of errors.
--------------------------------------------------------

Anyone an idea?
Thanks
Marco

Sebastian Max (smx-comnets) said : #5

Hi Marco,

If pyuic4 cannot be found this (again) sounds like missing prerequisites. The wrowser-section of the installation guide lists the following:
        * python-qt4 A comprehensive set of Python bindings for the Qt cross-platform GUI/XML/SQL C++ framework from Qt Software
        * python-qt4-dev Tools Development tools for python-qt4
        * python-matplotlib A python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.
        * python-tk Python’s de-facto standard GUI (Graphical User Interface) package.

Did you install all of them (all available e.g. as rpm)? The pyuic4 is either part of the python-qt4 or python-qt4-dev package.

BR,
Sebastian

kharny (kharny) said : #6

Hi everybody,
everything is ok now! got to update the "qt4-designer" and needed some packages like:
pyqt4-dev-tool
or/and
qt4-dev-tools

Thanks
Marco

Hendrik (mostricht) said : #7

Hi,
thanks for the valuable support!
The installationprocess takes some time, but shows promise by now!

One (hopefully) last issue deals with the createUser.py script:
After executing the script, an error occurs saying UserName is not defined (see error message below).

I did not declare a username by now, should I and when yes, where?

--------------------------------------------------------
Traceback (most recent call last):
  File "./createUser.py", line 50, in <module>
    fullName = pwd.getpwnam(userName)[4]
NameError: name 'userName' is not defined
--------------------------------------------------------

Cheers
Hendrik

Hendrik (mostricht) said : #8

P.S.
This goes to the "Installing the PostgreSQL database section" when "Adding a database user"

atevewr (atevewr) said : #9

For the Last post by Kharni
"
Hi everybody,
everything is ok now! got to update the "qt4-designer" and needed some packages like:
pyqt4-dev-tool
or/and
qt4-dev-tools

Thanks
Marco"

Its pyqt4-dev-tools and qt4-dev-tools

That worked for me.
Thank you all