[ome-devel] building omero cpp ice on windows

Bernhard Voigt bernhard.voigt at gmail.com
Mon Feb 2 15:59:41 GMT 2009


hi mario!

no it's not a debug version, this would be 360mb. however, i'm compiling to
a static lib rather than a shared dll.

thanks! bernhard







On Mon, Feb 2, 2009 at 2:45 PM, Mario Valle <mvalle at cscs.ch> wrote:

> 300MB?
> On Mac OSX 10.4 the libraries are:
> cd omero-cpp/Beta3.2/dist/lib
> ls -l *.d*
> -rw-r--r--   1 mvalle  mvalle  35291724 Jan 13 14:10
> libOMERO_client.0.dylib
> -rw-r--r--   1 mvalle  mvalle     17304 Jan 13 14:10
> libOMERO_common.0.dylib
> -rw-r--r--   1 mvalle  mvalle    405488 Jan 13 14:11
> libOMERO_licenses.0.dylib
>
> Are you sure they are not compiled debug?
> Hope it helps!
>                  mario
>
> Bernhard Voigt wrote:
>
>> hi all!
>>
>> i will need a windows build of the ice/cpp omero library. i could get it
>> going using the generated sources from the linux build of omero-cpp. i just
>> copied all header and cpp files from components/tools/OmeroCpp/{src,target}
>> and put them into folders omero and omero/model. the build with Visual
>> Studio 2008 went quite well, with minor hickups eg. client.cpp uses long
>> types, these should be Ice::Long or Ice::Int64 to be platform independent.
>>
>> howerver, the resulting lib is roughly 300MB and that's not really
>> convenient to work with. before i start looking into splitting this library
>> into several bits, i wanted to whether the will be an official windows build
>> of the cpp client libs for windows in the near future?
>>
>> by the way, is it at all ossible to split the lib into parts and only use
>> a small fraction? e.g. if i'm only accessing a few classes like the
>> services, image, experimenter,... can i only compile and link those into a
>> small lib and link against this?
>>
>> thanks! bernhard
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> ome-devel mailing list
>> ome-devel at lists.openmicroscopy.org.uk
>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>>
>>
>
>
> --
> Ing. Mario Valle
> Data Analysis Group                              |
> http://www.cscs.ch/~mvalle <http://www.cscs.ch/%7Emvalle>
> Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
> v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20090202/a11c2562/attachment-0001.htm 


More information about the ome-devel mailing list