This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rpc/types.h: No such file or directory
- From: Tom Kacvinsky <tom dot kacvinsky at vectorcast dot com>
- To: "Gery ." <gamejihou at hotmail dot com>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 19 May 2015 12:32:01 -0400
- Subject: Re: rpc/types.h: No such file or directory
- Authentication-results: sourceware.org; auth=none
- References: <DUB124-W430A09515E306F5C9F072DB0C30 at phx dot gbl> <1432049830 dot 11784 dot 38 dot camel at cygwin dot com> <DUB124-W37174205BEFCC1F13C4524B0C30 at phx dot gbl> <DUB124-W16B4CE43C28227EEC65E3CB0C30 at phx dot gbl>
You need to set CFLAGS. And CXXFLAGS, too
> On May 19, 2015, at 12:26, Gery . <gamejihou@hotmail.com> wrote:
>
> Thanks, however it didn't work if I put it in the install_makefiles or .bashrc:
>
> # Required parameters:
> $MBSYSTEM_HOME = "/usr/local/mbsystem";
> $OS = "LINUX";
> $CFLAGS = "-Wall -g -I/usr/X11/include ";
> $LFLAGS = "-Wall -g -lm -L/usr/lib -lgdal";
> $CPPFLAGS="-I/usr/include/tirpc";
> # NETCDF
> $NETCDFLIBDIR = "/usr/lib";
> $NETCDFINCDIR = "/usr/include";
> # GMT
> $GMTLIBDIR = "/opt/gmt/gmt-4.5.9/lib";
> $GMTINCDIR = "/opt/gmt/gmt-4.5.9/include";
> $PROJECTIONS = "$MBSYSTEM_HOME/Projections.dat";
>
> I also put it in my .bashrc in ~/:
>
> export CPPFLAGS="-I/usr/include/tirpc"
>
> Any additional idea?
> --
> 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
>
--
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