[ome-devel] Building omero-cpp under Mac OS X.

Jerome Avondo jeromeavondo at msn.com
Fri Oct 29 10:36:45 BST 2010


Hi Josh,

the first step;

python ./build.py

succeeds with the build.. but when i try either 

python ./build.py build-cpp 
or
python ./build.py build-all

these fail, here is the error for the build-all....

ld: symbol(s) not found
collect2: ld returned 1 exit status
scons: *** [libomero_client.dylib] Error 1

BUILD FAILED
/Users/ut/Documents/SVN/omero-4.2.0/build.xml:140: The following error occurred while executing this line:
/Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:109: The following error occurred while executing this line:
/Users/ut/Documents/SVN/omero-4.2.0/components/tools/build.xml:27: The following error occurred while executing this line:
/Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:109: The following error occurred while executing this line:
/Users/ut/Documents/SVN/omero-4.2.0/components/tools/OmeroCpp/build.xml:67: The following error occurred while executing this line:
/Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:231: exec returned: 2

Total time: 2 minutes 49 seconds

not sure what else to try... alternatively is there anywhere I can get access to pre-built libraries?

thanks,

Jerome.

> Subject: Re: [ome-devel] Building omero-cpp under Mac OS X.
> From: josh at glencoesoftware.com
> Date: Thu, 28 Oct 2010 19:42:14 +0200
> CC: ome-devel at lists.openmicroscopy.org.uk
> To: jeromeavondo at msn.com
> 
> Hi Jerome,
> 
> which build target/command are you using? I've seen the "symbol(s) not found" error before, and always assumed I had done something wrong locally. If you're seeing it, however, it's a larger issue. That being said, I just did "./build.py build-all" from the top-level and the dylib built fine:
> 
> ~/code/omero.git $ unzip -l target/OMERO.cpp-4.2.1-DEV-gcc-4.2.1-64dbg.zip | grep dylib
>  82189080  10-28-10 18:37   OMERO.cpp-4.2.1-DEV-gcc-4.2.1-64dbg/lib/libomero_client.dylib
> 
> ~Josh
> 
> On Oct 28, 2010, at 9:57 AM, Jerome Avondo wrote:
> 
> > 
> > Hi all,
> > 
> > Seem to be getting stuck when trying to build the omero-cpp library under Mac OS X.
> > This is the point where it seems to choke.
> > 
> > ld: symbol(s) not found
> > collect2: ld returned 1 exit status
> > scons: *** [libomero_client.dylib] Error 1
> > 
> > BUILD FAILED
> > /Users/ut/Documents/SVN/omero-4.2.0/build.xml:169: The following error occurred while executing this line:
> > /Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:109: The following error occurred while executing this line:
> > /Users/ut/Documents/SVN/omero-4.2.0/components/tools/OmeroCpp/build.xml:67: The following error occurred while executing this line:
> > /Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:231: exec returned: 2
> > 
> > 
> > Anyone?
> > Thanks for your time....
> > 
> > J.
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20101029/09d1250a/attachment.html>


More information about the ome-devel mailing list