pkg and include/libraries

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pkg and include/libraries

Claudio Belotti-3
hi all,
I'd like to install octcdf in a mac, netcdf library and includes are
already install via ports, but pkg doesn't find them as they are on an
unconventional location.

How do I pass to makeoct where headers file and libraries are?

thanks
Claudio
_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: pkg and include/libraries

LUK ShunTim
Claudio Belotti wrote:
> hi all,
> I'd like to install octcdf in a mac, netcdf library and includes are
> already install via ports, but pkg doesn't find them as they are on an
> unconventional location.
>
> How do I pass to makeoct where headers file and libraries are?
>
> thanks
> Claudio

Hi Claudio,

See if something like

setenv("CPPFLAGS", "-I/path/to/your/headers");

works for you.

Regards,
ST
--
_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave