<div dir="ltr">I am using the Python 2.7 that comes with Anaconda:<div><b><br></b></div><div>
<p class="gmail-p1"><span class="gmail-s1"><b>Mississippis-Mac-Pro:~ hm568$ python</b></span></p>
<p class="gmail-p1"><span class="gmail-s1"><b>Python 2.7.12 |Anaconda 4.0.0 (x86_64)| (default, Jul 2 2016, 17:43:17) </b></span></p>
<p class="gmail-p1"><span class="gmail-s1"><b>[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin</b></span></p>
<p class="gmail-p1"><span class="gmail-s1"><b>Type "help", "copyright", "credits" or "license" for more information.</b></span></p>
<p class="gmail-p1"><span class="gmail-s1"><b>Anaconda is brought to you by Continuum Analytics.</b></span></p>
<p class="gmail-p1"><span class="gmail-s1"><b>Please check out: <a href="http://continuum.io/thanks">http://continuum.io/thanks</a> and <a href="https://anaconda.org">https://anaconda.org</a></b></span></p>
<p class="gmail-p1"><span class="gmail-s1"><b>>>> </b></span></p><p class="gmail-p1">I have gotten it to work with homebrew in the past, but I would like to get it to work with Anaconda. It would be great if we could put dippy on conda-forge! I could maybe help with that.</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 4, 2016 at 11:34 AM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">I can't replicate the behavior you're seeing because my version of Python (which I installed with Homebrew) is using clang to build the extension as well, so everything works fine. What python are you using?
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Ted </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span class="">On Sun, Sep 4, 2016 at 3:51 PM, Ted Ralphs <span dir="ltr">
<<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<div dir="ltr">My guess is that this has to do with Dip being built with clang and Python trying to use gcc. Do you have homebreww gcc installed? Can you try to configure Dip with CC=gcc CXX=g++. In the meantime, I'll try to replicate on my own machine.
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Ted</div>
</div>
</span><div class="gmail_extra"><br>
<div class="gmail_quote"><span class="">
<div>
<div>On Wed, Aug 31, 2016 at 4:50 PM, Hugh Medal <span dir="ltr"><<a href="mailto:hugh.medal@msstate.edu" target="_blank">hugh.medal@msstate.edu</a>></span> wrote:<br>
</div>
</div>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am trying to install dippy to my anaconda distribution of python (/anaconda/bin/python). I am running Mac OS X.</div>
<div><br>
</div>
<div>Here is the steps I have followed:</div>
<div><br>
</div>
<div>1. installed Dip to /Users/hm568/git/Dip-0.92/ usi<wbr>ng:</div>
<div><br>
</div>
<div>cd /Users/hm568/git/</div>
<div>
<div>git clone --branch=stable/0.92 <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_coin-2Dor_Dip&d=CwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=rnUB298ByR5BGgo6vv2b6g&m=kXWT_HHgzq4YoNtmQlEDTyfXT_d9TY6ezwOxO5hHRqY&s=mLiiUil8mhqUbq0E3r7M48P_KFMhWpd7-O1BRMI2HyM&e=" target="_blank">
https://github.com/coin-or/Dip</a> Dip-0.92</div>
<div>cd Dip-0.92</div>
<div>git clone --branch=stable/0.8 <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_coin-2Dor-2Dtools_BuildTools_&d=CwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=rnUB298ByR5BGgo6vv2b6g&m=kXWT_HHgzq4YoNtmQlEDTyfXT_d9TY6ezwOxO5hHRqY&s=F2fe-IyBQvJDpw61VYJZ00paJYrHu73UBvd9d-6NHWs&e=" target="_blank">
https://github.com/coin-or-too<wbr>ls/BuildTools/</a></div>
<div>BuildTools/get.dependencies fetch</div>
</div>
<div>
<div>./configure --enable-static --disable-shared</div>
<div>make</div>
<div>make install</div>
</div>
<div><br>
</div>
<div>2. installed dippy by doing the following</div>
<div>
<p><span>ws106-17:Dip hm568$ COIN_INSTALL_DIR=/Users/hm568/<wbr>git/Dip-0.92/ /anaconda/bin/python setup.py install</span></p>
<p><span>running install</span></p>
<p><span>running bdist_egg</span></p>
<p><span>running egg_info</span></p>
<p><span>writing requirements to coinor.dippy.egg-info/requires<wbr>.txt</span></p>
<p><span>writing coinor.dippy.egg-info/PKG-INFO</span></p>
<p><span>writing namespace_packages to coinor.dippy.egg-info/namespac<wbr>e_packages.txt</span></p>
<p><span>writing top-level names to coinor.dippy.egg-info/top_leve<wbr>l.txt</span></p>
<p><span>writing dependency_links to coinor.dippy.egg-info/dependen<wbr>cy_links.txt</span></p>
<p><span>reading manifest file 'coinor.dippy.egg-info/SOURCES<wbr>.txt'</span></p>
<p><span>writing manifest file 'coinor.dippy.egg-info/SOURCES<wbr>.txt'</span></p>
<p><span>installing library code to build/bdist.macosx-10.6-x86_64<wbr>/egg</span></p>
<p><span>running install_lib</span></p>
<p><span>running build_py</span></p>
<p><span>running build_ext</span></p>
<p><span>building '_dippy' extension</span></p>
<p><span>gcc -fno-strict-aliasing -I//anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D__DECOMP_LP_CLP__ -I/Users/hm568/git/Dip-0.92/in<wbr>clude/coin -I/usr/local/gurobi/linux64/in<wbr>clude -I/usr/local/cplex/include/ilc<wbr>plex
-I/anaconda/include/python2.7 -c src/dippy/DippyDecompAlgo.cpp -o build/temp.macosx-10.6-x86_64-<wbr>2.7/src/dippy/DippyDecompAlgo.<wbr>o</span></p>
<p><span>In file included from src/dippy/DippyDecompAlgo.cpp:<wbr>3:</span></p>
<p><span>In file included from src/dippy/DippyDecompAlgo.h:4:</span></p>
<p><span>In file included from /Users/hm568/git/Dip-0.92/incl<wbr>ude/coin/Decomp.h:55:</span></p>
<p><span>In file included from /Users/hm568/git/Dip-0.92/incl<wbr>ude/coin/CoinPackedMatrix.hpp:<wbr>10:</span></p>
<p><span>/Users/hm568/git/Dip-0.92/incl<wbr>ude/coin/CoinTypes.hpp:15:10: </span>
<span>fatal error: </span><span>'cstdint' file not found</span></p>
<p><span>#include <cstdint></span></p>
<p><span> ^</span></p>
<p><span>1 error generated.</span></p>
<p><span>error: command 'gcc' failed with exit status 1</span></p>
<p><span><br>
</span></p>
<p><span>Can you provide any guidance on this error?</span></p>
<p><span><br>
</span></p>
<p><span>Thanks,</span></p>
<p><span>Hugh</span></p>
<span><font color="#888888">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr"><font color="#660000"><b><font face="comic sans ms, sans-serif">Hugh Medal</font></b><br>
Assistant Professor<br>
Industrial and Systems Engineering<br>
Mississippi State University<br>
</font>
<div><font color="#660000">Office: 260K McCain</font></div>
<div><font color="#660000">Office: <a href="tel:662-325-3923" value="+16623253923" target="_blank">
662-325-3923</a><br>
Email: <a href="mailto:hmedal@uark.edu" target="_blank">hmedal@i</a><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__se.msstate.edu_&d=CwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=rnUB298ByR5BGgo6vv2b6g&m=kXWT_HHgzq4YoNtmQlEDTyfXT_d9TY6ezwOxO5hHRqY&s=xBlUgPCbwLTlTLQ27VxalW1z5pRUoBwEMsYr1Ah7dhk&e=" target="_blank">se.msstate.edu</a></font></div>
<div><font color="#660000">Website: </font><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__hm568.ise.msstate.edu_&d=CwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=rnUB298ByR5BGgo6vv2b6g&m=kXWT_HHgzq4YoNtmQlEDTyfXT_d9TY6ezwOxO5hHRqY&s=XG-KaqzwB4FsdsjYTjZxByVkh6ssDTq2TAhTnjemxZg&e=" target="_blank">hm568.ise.msstate.edu</a><br>
<font color="#660000">Office hours: </font>hughmedal "dot" youcanbook "dot" me<br>
</div>
</div>
</div>
</font></span></div>
</div>
<br>
</div>
</div></div></div><span class="">
______________________________<wbr>_________________<br>
Dip mailing list<br>
<a href="mailto:Dip@list.coin-or.org" target="_blank">Dip@list.coin-or.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org_mailman_listinfo_dip&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=rnUB298ByR5BGgo6vv2b6g&m=kXWT_HHgzq4YoNtmQlEDTyfXT_d9TY6ezwOxO5hHRqY&s=1YdaF6Hv3QZbwPsK3G0LBfYFh_gH77-ieRdoAAjqqHY&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__list.coi<wbr>n-2Dor.org_mailman_listinfo_di<wbr>p&d=CwICAg&c=Ngd-ta5yRYsqeUsED<wbr>gxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=<wbr>rnUB298ByR5BGgo6vv2b6g&m=kXWT_<wbr>HHgzq4YoNtmQlEDTyfXT_d9TY6ezwO<wbr>xO5hHRqY&s=1YdaF6Hv3QZbwPsK3G0<wbr>LBfYFh_gH77-ieRdoAAjqqHY&e=</a>
<br>
</span></blockquote>
</div><span class="">
<span><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</font></span></span></div>
</blockquote>
</div><span class="">
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</span></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font color="#660000"><b><font face="comic sans ms, sans-serif">Hugh Medal</font></b><br>Assistant Professor<br>Industrial and Systems Engineering<br>Mississippi State University<br></font><div><font color="#660000">Office: 260K McCain</font></div><div><font color="#660000">Office: 662-325-3923<br>Email: <a href="mailto:hmedal@uark.edu" target="_blank">hmedal@i</a><a href="http://se.msstate.edu/" target="_blank">se.msstate.edu</a></font></div><div><font color="#660000">Website: </font><a href="http://hm568.ise.msstate.edu/" target="_blank">hm568.ise.msstate.edu</a><br><font color="#660000">Office hours: </font>hughmedal "dot" youcanbook "dot" me<br></div></div></div>
</div>