<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>Yes I did, same link error was produced..<br><br>J.<br><br>> Subject: Re: [ome-devel] Building omero-cpp under Mac OS X.<br>> From: josh@glencoesoftware.com<br>> Date: Fri, 29 Oct 2010 16:18:18 +0200<br>> CC: ome-devel@lists.openmicroscopy.org.uk<br>> To: jeromeavondo@msn.com<br>> <br>> Hi Jerome,<br>> <br>> did you also try with a "./build.py clean" first?<br>> <br>> ~Josh.<br>> <br>> On Oct 29, 2010, at 4:02 PM, Jerome Avondo wrote:<br>> <br>> > <br>> > Hi Josh,<br>> > <br>> > Here is some more info about my environment... <br>> > I'm using the 4.2 tagged version of omero.<br>> > <br>> > g++ path & version....<br>> > <br>> > /usr/bin/g++<br>> > i686-apple-darwin10-g++-4.2.1<br>> > <br>> > and here is the contents of the shell script I use to compile...<br>> > <br>> > export PATH=/opt/Ice-3.3/bin:$PATH<br>> > export ICE_HOME=/opt/Ice-3.3<br>> > export DYLD_LIBRARY_PATH=/opt/Ice-3.3/lib:/opt/Ice-3.3/python:<br>> > python ./build.py<br>> > python ./build.py build-cpp<br>> > <br>> > And I've attached the .log files as requested too...<br>> > Thanks for looking into this...<br>> > <br>> > Jerome.<br>> > <br>> >> Subject: Re: [ome-devel] Building omero-cpp under Mac OS X.<br>> >> From: josh@glencoesoftware.com<br>> >> Date: Fri, 29 Oct 2010 13:11:54 +0200<br>> >> CC: ome-devel@lists.openmicroscopy.org.uk<br>> >> To: jeromeavondo@msn.com<br>> >> <br>> >> Hi Jerome,<br>> >> <br>> >> ok. I just tried these steps and succeeded, so if you have time, could we try to track down where things differ?<br>> >> <br>> >> First off, I'm on version 8436 of trunk.<br>> >> <br>> >> Then, my environment includes this:<br>> >> <br>> >> ~ $ echo $DYLD_LIBRARY_PATH<br>> >> /opt/Ice-3.3.1-64/lib:/opt/Ice-3.3.1-64/python:<br>> >> <br>> >> And I'm building with:<br>> >> <br>> >> ~ $ which g++<br>> >> /usr/bin/g++<br>> >> ~ $ g++ --version<br>> >> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)<br>> >> <br>> >> on a 10.6.4 Mac OSX box.<br>> >> <br>> >> I run:<br>> >> <br>> >> ./build.py clean<br>> >> ./build.py<br>> >> ./build.py build-cpp<br>> >> <br>> >> and get a zip under OMERO_HOME/target/. Could you try that and send the console output along with the contents of the OmeroCpp/*.log files?<br>> >> <br>> >> ~/code/git $ ls components/tools/OmeroCpp/*.log<br>> >> components/tools/OmeroCpp/compiler.log<br>> >> components/tools/OmeroCpp/config.log<br>> >> components/tools/OmeroCpp/scons.log<br>> >> <br>> >> <br>> >> Thanks,<br>> >> ~Josh.<br>> >> <br>> >> <br>> >> On Oct 29, 2010, at 11:36 AM, Jerome Avondo wrote:<br>> >> <br>> >>> <br>> >>> 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>