Discussion:
Fann 2.10 memory allocation problem on Linux
Gene Ruebsamen
2009-07-24 05:52:48 UTC
Permalink
I am unable to register in the forums, somehow the captcha is faulty, so
I'll post here...

Has anyone successfully used the C++ wrapper with FANN 2.10 Beta on
Linux? It works flawlessly on windows under MINGW (GCC4.4); however, on
Fedora Linux 11 (GCC 4.4) and Ubuntu 9.04 (GCC 4.3) everytime I try to
instantiate a new network, I get the following Error:

FANN Error 11: Unable to allocate memory.

I get this error when attempting to use net.create_standard() function.
Even the xor_sample.cpp in the examples directory fails with the same
error in linux, but works great under MINGW/Windows. Whats going on?

Thanks!



------------------------------------------------------------------------------
Loading...