[eq-dev] Equalizer on Ubuntu 13.04

106 views
Skip to first unread message

Simon

unread,
May 31, 2013, 1:29:41 PM5/31/13
to eq-...@equalizergraphics.com
Hello everybody,

Unfortunatly I'm unsuccessfull to compile a project using equalizer that has
compiled on Ubuntu 12.10 on Ubuntu 13.04.

On 12.10 I easily could install using your PPA
https://launchpad.net/~eilemann/+archive/equalizer/.
On 13.04 it does not work anymore, saying equalizer140 was not found.
Do you offer Equalizer for Ubuntu 13.04?

My second try was to compile equalizer by myself, but I got some weird cmake
problems.
When I cmake everything goes fine until this:

-- checking for module 'hwloc>=1.3'
-- package 'hwloc>=1.3' not found
-- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
-- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
-- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY
OPENTHREADS_INCLUDE_DIR)
-- Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENSCENEGRAPH_INCLUDE_DIR) (Required is at least version "3.0")

Full:
http://pastebin.com/TeUGcfxk

The strange is that I have installed hwloc and openscenegraph using apt-get
install.

I can make and make install Equalizer without those packages. (I do not use
openscenegraph in the project so its ok).

When I generate my Project, cmake finds Equalizer Version 1.5.1.

When I try to build and run the project the compiler gets two problems that
did not come on Ubuntu 12.10 using Equalizer 1.4.1.

The Code is:

void InitData::getInstanceData(co::DataOStream &os)
{
os.write(&data, sizeof(data));
os << _nodeNames;
os << _types;
os << _positions_x;
os << _positions_y;
os << _positions_z;
...
}
void InitData::applyInstanceData(co::DataIStream &is)
{
is.read(&data, sizeof(data));
is >> _nodeNames;
is >> _types;
is >> _positions_x;
is >> _positions_y;
is >> _positions_z;
...
}

And the erros the compiler throws are:

/home/simon/myProject/src/initdata.cpp:22:12: error: 'class co::DataOStream'
has no member named 'write'
/home/simon/myProject/src/initdata.cpp: In member function 'virtual void
vr::InitData::applyInstanceData(co::DataIStream&)':
/home/simon/myProject/src/initdata.cpp:43:12: error: 'class co::DataIStream'
has no member named 'read'

I checked out the current git branch. I would like to try to build Equalizer
1.4.1, because this version worked with the project.
But git gives me 1.5.1 and the site gives me 1.3.6.

Thanks in advance for any help.

Simon




--
View this message in context: http://software.1713.n2.nabble.com/Equalizer-on-Ubuntu-13-04-tp7583320.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
May 31, 2013, 1:37:35 PM5/31/13
to eq-...@equalizergraphics.com
Hi Simon,

On 31. May 2013, at 19:29, "Simon [via Software]" <ml-node+s17...@n2.nabble.com> wrote:

> Unfortunatly I'm unsuccessfull to compile a project using equalizer that has compiled on Ubuntu 12.10 on Ubuntu 13.04.
>
> On 12.10 I easily could install using your PPA https://launchpad.net/~eilemann/+archive/equalizer/.
> On 13.04 it does not work anymore, saying equalizer140 was not found.
> Do you offer Equalizer for Ubuntu 13.04?

Equalizer 1.4 predates Ubuntu 13.04. I can try uploading a source package on Monday, though that might not work. In any case, we'll release Equalizer 1.6 in a couple of weeks.

> My second try was to compile equalizer by myself, but I got some weird cmake problems.
> When I cmake everything goes fine until this:
>
> -- checking for module 'hwloc>=1.3'
> -- package 'hwloc>=1.3' not found
> -- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
> -- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
> -- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
> -- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
> -- Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES OPENSCENEGRAPH_INCLUDE_DIR) (Required is at least version "3.0")
>
> Full:
> http://pastebin.com/TeUGcfxk
>
> The strange is that I have installed hwloc and openscenegraph using apt-get install.

Don't worry, they are optional dependencies. Equalizer will compile without them at slightly reduced functionality.

> I can make and make install Equalizer without those packages. (I do not use openscenegraph in the project so its ok).

Ah. :)

> /home/simon/myProject/src/initdata.cpp:22:12: error: 'class co::DataOStream' has no member named 'write'
> /home/simon/myProject/src/initdata.cpp: In member function 'virtual void vr::InitData::applyInstanceData(co::DataIStream&)':
> /home/simon/myProject/src/initdata.cpp:43:12: error: 'class co::DataIStream' has no member named 'read'

27/Jul/2012
Made co::DataIStream::read private. Use 'is >> co::Array< T >( ptr, num )'
instead.

The same applies to write().

> I checked out the current git branch. I would like to try to build Equalizer 1.4.1, because this version worked with the project.
> But git gives me 1.5.1 and the site gives me 1.3.6.

git checkout 1.4


HTH,

Stefan.






--
View this message in context: http://software.1713.n2.nabble.com/Equalizer-on-Ubuntu-13-04-tp7583320p7583321.html
Reply all
Reply to author
Forward
0 new messages