Hi,
I tried that, but ran into a few more errors.
First, asprintf() isn't defined on Windows systems (at least not in mingw -
maybe somebody can help me here?). I put in a malloc/sprintf workaround,
which may be causing the third error...
Second, there are a bunch of function names in find_function() (the
non-DLOPEN variation) which don't appear to be defined anywhere - I got a
ton of errors when trying to compile, saying things like
fann_layer_constructor_connected_any_any weren't defined. (After commenting
out the guts of find_function(), my DLL would compile, at least...)
Third, when I try to compile the xor test, I'm getting an immediate
FANN_E_CANT_ALLOCATE_MEM error. I believe it's somewhere down in
fann_setup_layer_descr(), when it gets called from within
fann_create_standard_array_typed().
I was able to get the normal CVS files to compile just fine; just not the
GSOC stuff. Any thoughts?
Best,
Ed
-----Original Message-----
From: fann-general-bounces-5NWGOfrQmneRv+***@public.gmane.org
[mailto:fann-general-bounces-5NWGOfrQmneRv+***@public.gmane.org] On Behalf Of Vincenzo Di
Massa
Sent: Monday, December 17, 2007 5:41 AM
To: FANN General and development discussion
Subject: Re: [Fann-general] Help finding the SOM/GNG code
It seems that make is not able to detect it is running on windows...
Please try editing fann.c:
find (at the very beginnig) the line
#if ! defined(_MSC_VER)
and change it to
#if 0
It should then work (you are forcing make to disable an unix only feature).
If anyone knows how to preoperly fix it... I'm open for suggestions :-)
Regards
Vincenzo
Post by Ed CottrellGot it, thanks! Great work on adding this code, by the way.
One problem: I tried compiling the code into a Windows DLL, but got a bunch
No such file or directory
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c: In function
`RTLD_LAZY' undeclared (first use in this function)
(Each undeclared identifier is reported only once
C:\Users\Ed\Documents\CProjects\fann-gsoc\src\fann.c:82: error: for
each function it appears in.)
Can you help me understand what's going wrong?
Thanks,
Ed
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fann-general mailing list
Fann-general-5NWGOfrQmneRv+***@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/fann-general
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace