[Qt-interest] FANN and Qt
DiogoLR
diogolr at gmail.com
Sat Apr 16 03:23:32 CEST 2011
After a day, I have a success running a XOR test from this library... The
easiest way to do that was:
1) Put all *.h and *.c files together in a 'fann' folder, for example, at
your project root folder
2) Compile the entire code for generating *.o files (cd ../myproject/fann &
gcc -c *.c)
3) Make a *.a file the *.o files (ar rv libfann.a *.o)
With *.a file, you can put it in a dir named 'lib' at your project root
folder and setup your project file variables like:
QMAKE_LIBDIR += lib
LIBS += -lfann
Now, can someone help me to create a DLL file :)?
Regards,
Diogo.
2011/4/15 DiogoLR <diogolr at gmail.com>
> Hi there,
>
> Someone of you have already made a project with FANN library?
>
> How can I make it work in Windows without using Visual Studio for generate
> DLL files (only using mingw and the other things installed with Qt)?
>
> Regards,
>
> Diogo.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110415/ee98052a/attachment.html
More information about the Qt-interest-old
mailing list