[Developers] Release 1619 fails on Mac OS
Mollie Brooks
mbrooks at ufl.edu
Wed Feb 12 02:30:52 PST 2014
Hi John,
I use a Mac also.
I got versions 1618 and 1620 to compile. I didn’t try 1619.
Maybe you could try again starting from scratch (update and make clean)?
I have OSX Version 10.9.1
My g++ info is as follows
bash-3.2$ g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
Cheers,
Mollie
------------------------
Mollie Brooks, PhD
Postdoctoral Researcher, Population Ecology Research Group http://www.popecol.org
Institute of Evolutionary Biology & Environmental Studies, University of Zürich
On 12 Feb 2014, at 08:32, Jon Schnute <schnutej-dfo at shaw.ca> wrote:
> I recently downloaded the source code for release 1619. The “make” procedure worked with no problem in Windows, using the 64-bit tools posted at http://www.admb-project.org/tools/admb-tools-for-windows. However, when I tried to do the same thing on a Mac (OS X Lion 10.7.5, Xcode 4.2.1), the procedure failed with the final messages shown below. Note that “–oad2csv” appears as an unknown option to g++.
>
> Please let me know when this is fixed. Thanks,
>
> Jon
>
> ###### Final messages from “make” on a Mac:
>
> *** Compile: main.cpp
> g++ -c -g -DSAFE_ALL -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -I. -I"/Users/jon/Downloads/admb1619/build/dist/include" -I"/Users/jon/Downloads/admb1619/build/dist/contrib/include" -omain.obj main.cpp
>
> *** Linking: ad2csv.obj main.obj
> g++ -g -oad2csv ad2csv.obj main.obj "/Users/jon/Downloads/admb1619/build/dist/contrib/lib/libcontrib.a" "/Users/jon/Downloads/admb1619/build/dist/lib/libadmb.a"
> ld: unknown option: -oad2csv
> collect2: ld returned 1 exit status
>
> Error: Could not build ad2csv
>
> make[5]: *** [../../build/dist/contrib/bin/ad2csv] Error 1
> make[4]: *** [contrib-ad2csv] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [g++-contrib] Error 2
> make[1]: *** [g++-all] Error 2
> make: *** [all] Error 2
> _______________________________________________
> Developers mailing list
> Developers at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20140212/9369d76d/attachment.html>
More information about the Developers
mailing list