[ome-devel] building blitz-cpp

josh.moore at gmx.de josh.moore at gmx.de
Mon Dec 1 16:10:56 GMT 2008


Bernhard Voigt writes:
 > Hi all!

Hi Bernhard,

sorry for the long wait on this. Both the linking and the execution
flag (though I don't think it's needed either) are both really
weaknesses in Java and therefore ant. The only way to force this to
happen is to make calls like <exec>chmod</exec> which we can do if
necessary, but is less than ideal.

If you think the manual linking is odious, please speak up. Obviously,
if it's a pain, we want to make it go away as soon as possible, but
I've been hoping that other build changes (like the move to scons,
etc.) will bring with them some easier way to manage this.

As always, thanks for the feedback.
~Josh.

 > Just a short note (bug?) to the blitz-cpp compilation:
 > It seems the links to the shared libraries libraries from the build
 > directory are not copied to the dist/lib folder. I had to link
 > manually, otherwise I get an error like this, when executing the cpp
 > example from the trac page:
 > error while loading shared libraries: libOMERO_common.so.0: cannot
 > open shared object file: No such file or directory :
 > 
 > Here's the relevant content of the build and the dist folder:
 > bernhard at BBOX:~/devel/omero/Beta_3.1.1/components/tools/target/lib> ll lib*
 > -rw-r--r-- 1 bernhard bernhard  76M 2008-11-28 13:58 libOMERO_client.a
 > -rwxr-xr-x 1 bernhard bernhard 1.2K 2008-11-28 13:58 libOMERO_client.la
 > lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:58
 > libOMERO_client.so -> libOMERO_client.so.0.0.0
 > lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:58
 > libOMERO_client.so.0 -> libOMERO_client.so.0.0.0
 > -rwxr-xr-x 1 bernhard bernhard  30M 2008-11-28 13:58 libOMERO_client.so.0.0.0
 > -rw-r--r-- 1 bernhard bernhard  11K 2008-11-28 13:57 libOMERO_common.a
 > -rwxr-xr-x 1 bernhard bernhard 1.1K 2008-11-28 13:57 libOMERO_common.la
 > lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:57
 > libOMERO_common.so -> libOMERO_common.so.0.0.0
 > lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:57
 > libOMERO_common.so.0 -> libOMERO_common.so.0.0.0
 > -rwxr-xr-x 1 bernhard bernhard  15K 2008-11-28 13:57 libOMERO_common.so.0.0.0
 > 
 > bernhard at BBOX:~/devel/omero/Beta_3.1.1/dist/lib> ll lib*
 > -r--r-- 1 bernhard bernhard  76M 2008-11-28 13:58 libOMERO_client.a
 > -rw-r--r-- 1 bernhard bernhard 1.2K 2008-11-28 13:58 libOMERO_client.la
 > -rw-r--r-- 1 bernhard bernhard  30M 2008-11-28 13:58 libOMERO_client.so.0.0.0
 > -rw-r--r-- 1 bernhard bernhard  11K 2008-11-28 13:58 libOMERO_common.a
 > -rw-r--r-- 1 bernhard bernhard 1.1K 2008-11-28 13:58 libOMERO_common.la
 > -rw-r--r-- 1 bernhard bernhard  15K 2008-11-28 13:58 libOMERO_common.so.0.0.0
 > 
 > Also the execution flags are missing, though not needed, I think.
 > 
 > Best! Bernhard


More information about the ome-devel mailing list