[Avogadro-devel] Compilation of Avogadro git v f6fe3b7

2015-09-02 Thread Louis Ricard
Hi all,

I have been trying to compile the latest version on my old Mac (snowleopard 
10.6.8).
My compiler (gcc 4.7.3 in Fink) lacks "strnlen" for some obscure reason.
I finally succeeded to by adding the following code (taken from gnuplot 5.0.0) 
in "elements.c":

"//from gnuplot
#ifndef HAVE_STRNLEN
size_t
strnlen(const char *str, size_t n)
{
const char * stop = (char *)memchr(str, '\0', n);
return stop ? stop - str : n;
}
#endif
//tentative"

There may be better ways ...

Regards,

Louis


--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] New Avogadro Manual

2015-09-02 Thread Marcus D. Hanwell
On Mon, Aug 31, 2015 at 4:51 PM, Geoffrey Hutchison
 wrote:
> Thanks to support from the University of Pittsburgh Department of Chemistry, 
> there is a new manual for Avogadro:
> http://ghutchis.gitbooks.io/avogadro/
>
> You can find the images and Markdown on GitHub, of course, which should make 
> it fairly easy to edit, patch, and/or translate into other languages:
> https://github.com/avogadro/manual
>
That is great, thanks for putting this together!

Marcus

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel