Results 1 to 7 of 7

Thread: Installing FANN lib in Qt creator!

  1. #1
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Question Installing FANN lib in Qt creator!

    Hi everybody,

    I'm really not sure if my question is in correct place or not!
    so, I'm sorry if it wrong!

    anyway, I just need to know if it possible to install FANN (lib of neural networks) in qt or not?

    I searched for a guaranteed experiment to integrate FANN with qt, but until today I couldn't find it!

    So, if anyone have an idea about it, I will be grateful for him if he tell me..

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Installing FANN lib in Qt creator!

    Yes. Just build/install FANN and put the appropriate things (INCLUDEPATH and LIBS) in your Qt project file.

  3. #3
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Default Re: Installing FANN lib in Qt creator!

    I know how put the appropriate things, but my FANN library folder contains header and source files only. It doesn't contain any lib or *.dll files!!

    So, I didn't know how deal with it to build & install it!


    Thanks ChrisW67.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Installing FANN lib in Qt creator!

    Have you tried just including the source file with your own and using the header files to call its exposed methods?

  5. #5
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Default Re: Installing FANN lib in Qt creator!

    Yes squidge ,
    I tried to do that, but I got hundreds of errors!!


  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Installing FANN lib in Qt creator!

    Quote Originally Posted by Abeer View Post
    I know how put the appropriate things, but my FANN library folder contains header and source files only. It doesn't contain any lib or *.dll files!! So, I didn't know how deal with it to build & install it!
    You did build the FANN library after you downloaded it, didn't you? The instructions are in the INSTALL file in the FANN download, and the result is about half-a-dozen dynamic and static library files. This part of the process has nothing to do with Qt.

    It seems a fairly simple library so you might get away with actually including the FANN source in your code, but you need to include all the relevant headers also.

  7. #7
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Default Re: Installing FANN lib in Qt creator!

    Quote Originally Posted by ChrisW67 View Post
    You did build the FANN library after you downloaded it, didn't you? The instructions are in the INSTALL file in the FANN download, and the result is about half-a-dozen dynamic and static library files. This part of the process has nothing to do with Qt.

    It seems a fairly simple library so you might get away with actually including the FANN source in your code, but you need to include all the relevant headers also.
    I found some commands to build it, (here: http://comments.gmane.org/gmane.comp....general/40928)

    So, I got libfann.a file and I used it as a lib, and it works!
    but results of calculations of neural nets not correct!!

    I didn't know how I can fix it!

Similar Threads

  1. Installing QT Creator - debugger is missing!
    By Istrebitel in forum Newbie
    Replies: 4
    Last Post: 19th October 2010, 12:05
  2. Replies: 1
    Last Post: 21st September 2010, 08:58
  3. Replies: 1
    Last Post: 30th July 2010, 01:41
  4. Matplotlib widget installing on Qt Creator
    By soulz9 in forum Newbie
    Replies: 0
    Last Post: 15th April 2010, 06:57
  5. installing qt using
    By impeteperry in forum Installation and Deployment
    Replies: 2
    Last Post: 30th December 2009, 15:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.