delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/05/03:34:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=yo
pg/vdzK+g0j4BVyOT2jpHH5Vcy/QBe3dpaa8B1HS6xJIbBB3LHQEEegtdLuDPX9s
gvNRPcpddhfih7TRcnDBaDKwqrDoydONA50r7z2vPWcsl5+eq22knfd68neX7Uz4
jS2Cu7RQvZ2//0pmckcVzHBPrL5qu9blhWVeLTZCA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=fAffSuaE
ku0/fvEEEtMX3XQooPQ=; b=RQt83uTMfjw5UVLKm4oVa7t0E4JXCjS/+vCh0/Iy
gIaOff7v/qgPNsJSN7QoJ/hFMantihfS153UX3RiTWhbqe5610b0JkpuoVpUQtxC
5T3Ra9DAG+o1QtLzUiUkTw+WWU3rRXZMU9T5XGjRynMZIL9Xg1zqdpETojzs0XQp
/Po=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f44.google.com
MIME-Version: 1.0
X-Received: by 10.194.188.39 with SMTP id fx7mr21215393wjc.113.1417768443797; Fri, 05 Dec 2014 00:34:03 -0800 (PST)
In-Reply-To: <5480D570.2010608@molconn.com>
References: <5480D570 DOT 2010608 AT molconn DOT com>
Date: Fri, 5 Dec 2014 09:34:03 +0100
Message-ID: <CAEhDDbDAW7vPMwACc3LWJ5PBfpcKQdXU+FSe-stDJxvngXPWcA@mail.gmail.com>
Subject: Re: advice about setting up the eigen library for use with cygwin g++
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin list <cygwin AT cygwin DOT com>

Hi,

On Thu, Dec 4, 2014 at 10:43 PM, LMH  wrote:
> Hello,
>
> As stated, I am writing a few tools with cygwin g++.
(snip)
> Eigen is a header only kind  of thing, so my understanding is that all I
> need to do is to unpack the src somewhere add the location to the
> include path.
>
> I was thinking of putting Eigen in,
>
> /cygdrive/c/cygwin/lib/eigen/

If you use Cygwin tools, you shouldn't use paths like
"/cygdrive/c/cygwin/lib". The way to refer to
that directory is /lib (unless your Cygwin is installed somewhere
other than C:\cygwin).

>
> and using,
>
> g++ -I /cygdrive/c/cygwin/lib/eigen/
>

/lib is not really for headers. It mostly contains binaries. A
canonical place for a header-only library would be
/usr/local/include/eigen

Doesn't eigen supply a makefile with an "install" target?

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019