home Forums # Technical Support qtfuzzylite Linking problem

This topic contains 3 replies, has 2 voices, and was last updated by Juan Rada-Vilela Juan Rada-Vilela 3 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #847

    megamenX
    Participant

    Hi,

    since version 4.0, qtfuzzylite does not link properly anymore on the following system configuration:
    – Ubuntu 12.04 LTS
    – use qt4
    – fuzzylite only backtrace enabled
    – qtfuzzylite no debug, use_float

    All linking errors are related to “undefined reference to” for any call in the source, for instance:
    > CMakeFiles/qtfuzzylite.dir/src/About.cpp.o: In function `fl::qt::About::setup()’:
    > About.cpp:(.text+0x1798): undefined reference to `fl::fuzzylite::fullname()’

    Furthermore, there’s another small issue about the generated ui_*.h files from the ui xml format from qt. Infact I needed to copy manually these (generated in the “build” directory) into fl/qt path (or a path setting to include the build dir is missing…)

    #848

    megamenX
    Participant

    Correction on the first issue:
    apparently fl-shared is not a path to the folder, but the path to the target library. Is it correct?

    #849
    Juan Rada-Vilela
    Juan Rada-Vilela
    Keymaster

    Hi,

    yes, fl-shared is the path to the target library.

    I would recommend you make sure to clean CMake derived files using the clean.sh file.
    Also, I think you will have trouble building from source using -DFL_USE_FLOAT=ON. If you do, please use double precision instead by setting -DFL_USE_FLOAT=OFF or just not using the flag -DFL_USE_FLOAT (by default is OFF). I am working on some compiling issues I found using floats instead of double.

    #853
    Juan Rada-Vilela
    Juan Rada-Vilela
    Keymaster

    Hi,

    thank you for providing feedback!

    Indeed, there were errors building fuzzylite 4.0 using -DFL_USE_FLOAT=on.
    I have fixed them and updated the sources.
    Please, download the sources again from http://www.fuzzylite.com/downloads and let me know if your issue was resolved.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.