<div dir="ltr"><div><div><div><div><div><div>Some update for the record:<br></div>fresh git clone compiles fine with classic autotools.<br></div>fresh git clone compiles fine with cmake <br></div>fresh git clone compiled with autotools then cmake (in a "build" directory ) compiles fine.<br><br></div>I think it's about using a vbox shared file system.<br></div>For the cmake way, you have to use the linux file system, no win shared folder.<br></div><br>Thanks all for the advice !<br><div><div><div><div><br>Cheers,<br>Rémi-C<br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-11 21:04 GMT+02:00 Mateusz Łoskot <span dir="ltr"><<a href="mailto:mateusz@loskot.net" target="_blank">mateusz@loskot.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11 October 2014 18:06, Sandro Santilli <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br>
> On Sat, Oct 11, 2014 at 05:44:28PM +0200, Mateusz Łoskot wrote:<br>
>> On 11 October 2014 16:05, Sandro Santilli <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br>
>> > On Fri, Oct 10, 2014 at 09:35:23PM +0200, Mateusz Łoskot wrote:<br>
>> >> On 10 October 2014 18:38, Sandro Santilli <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br>
>> >> > On Fri, Oct 10, 2014 at 06:01:30PM +0200, Rémi Cura wrote:<br>
>> >> >><br>
>> >> >> I tried to compile geos with cmake :<br>
>> >> >><br>
>> >> >> libgeos/capi/geos_c.cpp: In function ‘geos::geom::Geometry*<br>
>> >> >> GEOSClipByRect(const geos::geom::Geometry*, double, double, double,<br>
>> >> >> double)’:<br>
>> >> >> libgeos/capi/geos_c.cpp:491:64: error: ‘GEOSClipByRect_r’ was not declared<br>
>> ><br>
>> > Uhm, then maybe geos_c.h was not regenerated ?<br>
>><br>
>> There is a command in the root CMakeLists.txt for it, so it should be generated<br>
>> <a href="https://github.com/libgeos/libgeos/blob/svn-trunk/CMakeLists.txt#L305" target="_blank">https://github.com/libgeos/libgeos/blob/svn-trunk/CMakeLists.txt#L305</a><br>
><br>
> Well, I tried building it myself but for me it fails as it tries to<br>
> build .cpp files that happen to be in the source dir but are not meant<br>
> to be built ...<br>
<br>
</span>If there are .cpp files which are not meant to be compiled, then<br>
the CMake will grab them too, due to the globbing.<br>
That may be a problem, indeed.<br>
<span class=""><br>
> Does it build for you ?<br>
<br>
</span>I haven't tried, no Linux handy ATM.<br>
<span class="im HOEnZb"><br>
Best regards,<br>
--<br>
Mateusz  Łoskot, <a href="http://mateusz.loskot.net" target="_blank">http://mateusz.loskot.net</a><br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a></div></div></blockquote></div><br></div>