Boost logo

Boost Users :

Subject: Re: [Boost-users] can not compile nearest neighbors in d dimensions
From: Georgios Samaras (georgesamarasdit_at_[hidden])
Date: 2014-04-16 12:24:40


I did performed google search, but I didn't find the link you provided.
Sorry.

So, now I receive: error: template instantiation depth exceeds maximum of
10001 (use -ftemplate-depth=..

Practically, that means that because of my compiler I can not use the boost
library NN, right?

On Wed, Apr 16, 2014 at 6:05 PM, Adam Wulkiewicz
<adam.wulkiewicz_at_[hidden]>wrote:

> Georgios Samaras wrote:
>
>> Damn, I pasted only the 1st line, sorry.
>>
>> The max of 1024 means that I can not allocate a point in 10000
>> dimensions, right?
>>
>
> This error is more related to the compiler than to Boost. Next time please
> search the Web first -> e.g. http://stackoverflow.com/
> questions/12277732/template-metaprogramming-recursion-up-limits.
>
> The compiler is telling you everything:
>
> 1. error: template instantiation depth exceeds maximum of 1024
> 2. (use -ftemplate-depth= to increase the maximum)
>
> Regards,
> Adam
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net