Hi,

I've just checked in code needed for the new endian-safe Collage 
(https://github.com/Eyescale/Equalizer/issues/146). The DataIStream needs an 
implementation of lunchbox::byteswap for each user-defined type. 

If you get unresolved symbols, you have two options:

- #define CO_IGNORE_ENDIANNESS if you don't care about this feature
- Implement the missing template specializations, e.g.:

namespace lunchbox                                                              
 
{                                                                               
 
template<> inline void byteswap( eq::fabric::Projection& value )                
 
{                                                                               
 
    byteswap( value.origin );                                                   
 
    byteswap( value.distance );                                                 
 
    byteswap( value.fov );                                                      
 
    byteswap( value.hpr );                                                      
 
}                                                                               
 
}                                                                               
 

The full feature will take some time to implement, feel free to monitor the 
aforementioned issue.

As usual, don't be afraid to ask questions if you run into trouble.


Cheers,

Stefan.


_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to