Error installing openWNS

Asked by Mar on 2009-11-09

Hi Sir,
I have problems with installing the openWNS. Please kindly help, thanks!!. The errors generated are as follows:

In file included from framework/library/src/Birthmark.cpp:28:
include/WNS/Birthmark.hpp:82: error: 'int64_t' does not name a type
include/WNS/Birthmark.hpp:87: error: 'int64_t' does not name a type
framework/library/src/Birthmark.cpp:35: error: 'int64_t' does not name a type
framework/library/src/Birthmark.cpp: In constructor 'wns::Birthmark::Birthmark()':
framework/library/src/Birthmark.cpp:39: error: class 'wns::Birthmark' does not have any field named 'id'
framework/library/src/Birthmark.cpp:39: error: 'globalId' was not declared in this scope
framework/library/src/Birthmark.cpp:42: error: 'id' was not declared in this scope
framework/library/src/Birthmark.cpp: In member function 'virtual std::string wns::Birthmark::doToString() const':
framework/library/src/Birthmark.cpp:57: error: 'id' was not declared in this scope
framework/library/src/Birthmark.cpp: In member function 'virtual bool wns::Birthmark::operator==(const wns::Birthmark&) const':
framework/library/src/Birthmark.cpp:65: error: 'id' was not declared in this scope
framework/library/src/Birthmark.cpp:65: error: 'const class wns::Birthmark' has no member named 'id'
framework/library/src/Birthmark.cpp: In member function 'virtual bool wns::Birthmark::operator<(const wns::Birthmark&) const':
framework/library/src/Birthmark.cpp:78: error: 'const class wns::Birthmark' has no member named 'id'
framework/library/src/Birthmark.cpp:78: error: 'const class wns::Birthmark' has no member named 'id'
In file included from include/WNS/geometry/Point.hpp:31,
                 from include/WNS/Position.hpp:32,
                 from include/WNS/Direction.hpp:32,
                 from framework/library/src/Direction.cpp:28:
include/WNS/pyconfig/View.hpp:222: error: 'int64_t' does not name a type
scons: *** [.build/dbg/openwns-library/src/Birthmark.os] Error 1
scons: *** [.build/dbg/openwns-library/src/Direction.os] Error 1
In file included from include/WNS/simulator/ISimulator.hpp:31,
                 from include/WNS/simulator/Main.hpp:32,
                 from framework/application/src/Main.cpp:28:
include/WNS/pyconfig/View.hpp:222: error: 'int64_t' does not name a type
scons: *** [.build/dbg/openwns-application/src/Main.o] Error 1
scons: building terminated because of errors.

Best Regards,
Mar

Question information

Language:
English Edit question
Status:
Answered
For:
openWNS SDK Edit question
Assignee:
No assignee Edit question
Last query:
2009-11-09
Last reply:
2009-11-10

Hi,

could you please provide the output from "cat /etc/*-release" for your
Linux distribution version and "gcc --version" for the version of your
compiler.

This seems to be a problem with a new compiler version. When we know
which version it is and where else we might need to fix it we will do so.

Greats,

Maciej Muehleisen

Mar wrote:
> New question #89292 on openWNS SDK:
> https://answers.launchpad.net/openwns-sdk/+question/89292
>
> Hi Sir,
> I have problems with installing the openWNS. Please kindly help, thanks!!. The errors generated are as follows:
>
> In file included from framework/library/src/Birthmark.cpp:28:
> include/WNS/Birthmark.hpp:82: error: 'int64_t' does not name a type
> include/WNS/Birthmark.hpp:87: error: 'int64_t' does not name a type
> framework/library/src/Birthmark.cpp:35: error: 'int64_t' does not name a type
> framework/library/src/Birthmark.cpp: In constructor 'wns::Birthmark::Birthmark()':
> framework/library/src/Birthmark.cpp:39: error: class 'wns::Birthmark' does not have any field named 'id'
> framework/library/src/Birthmark.cpp:39: error: 'globalId' was not declared in this scope
> framework/library/src/Birthmark.cpp:42: error: 'id' was not declared in this scope
> framework/library/src/Birthmark.cpp: In member function 'virtual std::string wns::Birthmark::doToString() const':
> framework/library/src/Birthmark.cpp:57: error: 'id' was not declared in this scope
> framework/library/src/Birthmark.cpp: In member function 'virtual bool wns::Birthmark::operator==(const wns::Birthmark&) const':
> framework/library/src/Birthmark.cpp:65: error: 'id' was not declared in this scope
> framework/library/src/Birthmark.cpp:65: error: 'const class wns::Birthmark' has no member named 'id'
> framework/library/src/Birthmark.cpp: In member function 'virtual bool wns::Birthmark::operator<(const wns::Birthmark&) const':
> framework/library/src/Birthmark.cpp:78: error: 'const class wns::Birthmark' has no member named 'id'
> framework/library/src/Birthmark.cpp:78: error: 'const class wns::Birthmark' has no member named 'id'
> In file included from include/WNS/geometry/Point.hpp:31,
> from include/WNS/Position.hpp:32,
> from include/WNS/Direction.hpp:32,
> from framework/library/src/Direction.cpp:28:
> include/WNS/pyconfig/View.hpp:222: error: 'int64_t' does not name a type
> scons: *** [.build/dbg/openwns-library/src/Birthmark.os] Error 1
> scons: *** [.build/dbg/openwns-library/src/Direction.os] Error 1
> In file included from include/WNS/simulator/ISimulator.hpp:31,
> from include/WNS/simulator/Main.hpp:32,
> from framework/application/src/Main.cpp:28:
> include/WNS/pyconfig/View.hpp:222: error: 'int64_t' does not name a type
> scons: *** [.build/dbg/openwns-application/src/Main.o] Error 1
> scons: building terminated because of errors.
>
> Best Regards,
> Mar
>
>
>

Mar (chmar) said : #2

Hi Sir,
As requested, these are the outputs respectively:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 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.

Thanks for the prompt reply.
Best Regards,
Mar

Hi,

this Ubuntu version was just released (end of October). We need some
more time to do required changes for compatibility. If you cannot wait I
would suggest you install an older Ubuntu version. Go to this link
http://www.ubuntu.com/getubuntu/download and click "***Alternative
download options, including Ubuntu installer for Windows
<http://www.ubuntu.com/getubuntu/download#>".

Select 8.04 and click "Begin download"

Greats,

Maciej Mühleisen
*
Mar wrote:
> Question #89292 on openWNS SDK changed:
> https://answers.launchpad.net/openwns-sdk/+question/89292
>
> Mar posted a new comment:
> Hi Sir,
> As requested, these are the outputs respectively:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=9.10
> DISTRIB_CODENAME=karmic
> DISTRIB_DESCRIPTION="Ubuntu 9.10"
>
> gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
> Copyright (C) 2009 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.
>
> Thanks for the prompt reply.
> Best Regards,
> Mar
>
>

Hi,

some quick fixes have been committed to enable compiling under Ubuntu
9.10. There is still a lot of warnings when compiling.

Use "./playground.py upgrade" to get the fixes.

Greats,

Maciej Muehleisen

Mar wrote:
> Question #89292 on openWNS SDK changed:
> https://answers.launchpad.net/openwns-sdk/+question/89292
>
> Mar posted a new comment:
> Hi Sir,
> As requested, these are the outputs respectively:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=9.10
> DISTRIB_CODENAME=karmic
> DISTRIB_DESCRIPTION="Ubuntu 9.10"
>
> gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
> Copyright (C) 2009 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.
>
> Thanks for the prompt reply.
> Best Regards,
> Mar
>
>

Can you help with this problem?

Provide an answer of your own, or ask Mar for more information if necessary.

To post a message you must log in.