<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Josh,<br><br>the first step;<br><br>python ./build.py<br><br>succeeds with the build.. but when i try either <br><br>python ./build.py build-cpp <br>or<br>python ./build.py build-all<br><br>these fail, here is the error for the build-all....<br><br>ld: symbol(s) not found<br>collect2: ld returned 1 exit status<br>scons: *** [libomero_client.dylib] Error 1<br><br>BUILD FAILED<br>/Users/ut/Documents/SVN/omero-4.2.0/build.xml:140: The following error occurred while executing this line:<br>/Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:109: The following error occurred while executing this line:<br>/Users/ut/Documents/SVN/omero-4.2.0/components/tools/build.xml:27: The following error occurred while executing this line:<br>/Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:109: The following error occurred while executing this line:<br>/Users/ut/Documents/SVN/omero-4.2.0/components/tools/OmeroCpp/build.xml:67: The following error occurred while executing this line:<br>/Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:231: exec returned: 2<br><br>Total time: 2 minutes 49 seconds<br><br>not sure what else to try... alternatively is there anywhere I can get access to pre-built libraries?<br><br>thanks,<br><br>Jerome.<br><br>> Subject: Re: [ome-devel] Building omero-cpp under Mac OS X.<br>> From: josh@glencoesoftware.com<br>> Date: Thu, 28 Oct 2010 19:42:14 +0200<br>> CC: ome-devel@lists.openmicroscopy.org.uk<br>> To: jeromeavondo@msn.com<br>> <br>> Hi Jerome,<br>> <br>> 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:<br>> <br>> ~/code/omero.git $ unzip -l target/OMERO.cpp-4.2.1-DEV-gcc-4.2.1-64dbg.zip | grep dylib<br>> 82189080 10-28-10 18:37 OMERO.cpp-4.2.1-DEV-gcc-4.2.1-64dbg/lib/libomero_client.dylib<br>> <br>> ~Josh<br>> <br>> On Oct 28, 2010, at 9:57 AM, Jerome Avondo wrote:<br>> <br>> > <br>> > Hi all,<br>> > <br>> > Seem to be getting stuck when trying to build the omero-cpp library under Mac OS X.<br>> > This is the point where it seems to choke.<br>> > <br>> > ld: symbol(s) not found<br>> > collect2: ld returned 1 exit status<br>> > scons: *** [libomero_client.dylib] Error 1<br>> > <br>> > BUILD FAILED<br>> > /Users/ut/Documents/SVN/omero-4.2.0/build.xml:169: The following error occurred while executing this line:<br>> > /Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:109: The following error occurred while executing this line:<br>> > /Users/ut/Documents/SVN/omero-4.2.0/components/tools/OmeroCpp/build.xml:67: The following error occurred while executing this line:<br>> > /Users/ut/Documents/SVN/omero-4.2.0/components/antlib/resources/global.xml:231: exec returned: 2<br>> > <br>> > <br>> > Anyone?<br>> > Thanks for your time....<br>> > <br>> > J.<br>> <br>                                            </body>
</html>