[Dip] help installing dippy on anaconda

Ted Ralphs ted at lehigh.edu
Sun Sep 4 09:51:15 EDT 2016


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.

Cheers,

Ted

On Wed, Aug 31, 2016 at 4:50 PM, Hugh Medal <hugh.medal at msstate.edu> wrote:

> Hello,
>
> I am trying to install dippy to my anaconda distribution of python
> (/anaconda/bin/python). I am running Mac OS X.
>
> Here is the steps I have followed:
>
> 1. installed Dip to /Users/hm568/git/Dip-0.92/ using:
>
> cd /Users/hm568/git/
> git clone --branch=stable/0.92 https://github.com/coin-or/Dip
> <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=>
> Dip-0.92
> cd Dip-0.92
> git clone --branch=stable/0.8 https://github.com/coin-or-tools/BuildTools/
> <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=>
> BuildTools/get.dependencies fetch
> ./configure --enable-static --disable-shared
> make
> make install
>
> 2. installed dippy by doing the following
>
> ws106-17:Dip hm568$ COIN_INSTALL_DIR=/Users/hm568/git/Dip-0.92/
> /anaconda/bin/python setup.py install
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> writing requirements to coinor.dippy.egg-info/requires.txt
>
> writing coinor.dippy.egg-info/PKG-INFO
>
> writing namespace_packages to coinor.dippy.egg-info/namespace_packages.txt
>
> writing top-level names to coinor.dippy.egg-info/top_level.txt
>
> writing dependency_links to coinor.dippy.egg-info/dependency_links.txt
>
> reading manifest file 'coinor.dippy.egg-info/SOURCES.txt'
>
> writing manifest file 'coinor.dippy.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.macosx-10.6-x86_64/egg
>
> running install_lib
>
> running build_py
>
> running build_ext
>
> building '_dippy' extension
>
> 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/include/coin -I/usr/local/gurobi/linux64/include
> -I/usr/local/cplex/include/ilcplex -I/anaconda/include/python2.7 -c
> src/dippy/DippyDecompAlgo.cpp -o build/temp.macosx-10.6-x86_64-
> 2.7/src/dippy/DippyDecompAlgo.o
>
> In file included from src/dippy/DippyDecompAlgo.cpp:3:
>
> In file included from src/dippy/DippyDecompAlgo.h:4:
>
> In file included from /Users/hm568/git/Dip-0.92/include/coin/Decomp.h:55:
>
> In file included from /Users/hm568/git/Dip-0.92/
> include/coin/CoinPackedMatrix.hpp:10:
>
> /Users/hm568/git/Dip-0.92/include/coin/CoinTypes.hpp:15:10: fatal error: 'cstdint'
> file not found
>
> #include <cstdint>
>
>          ^
>
> 1 error generated.
>
> error: command 'gcc' failed with exit status 1
>
>
> Can you provide any guidance on this error?
>
>
> Thanks,
>
> Hugh
>
> --
> *Hugh Medal*
> Assistant Professor
> Industrial and Systems Engineering
> Mississippi State University
> Office: 260K McCain
> Office: 662-325-3923
> Email: hmedal at i <hmedal at uark.edu>se.msstate.edu
> <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=>
> Website: hm568.ise.msstate.edu
> <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=>
> Office hours: hughmedal "dot" youcanbook "dot" me
>
> _______________________________________________
> Dip mailing list
> Dip at list.coin-or.org
> 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=
>



-- 
Dr. Ted Ralphs
Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/dip/attachments/20160904/4fd8827d/attachment.html>


More information about the Dip mailing list