home Forums # Technical Support Fuzzylite on MSVC compile problem.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1080

    I try to build fuzzylite in C in MSVC.
    I added to enviroment path path to folder fl, where headers files are. I also added path to .dll file but only this file was in fuzzylite folder from the beggining, because I can’t build it with CMake but I think it’s enough.
    In linker options I also added -lfuzzylite.
    I created project in MSVC 2010, added include “path/headers.h” and put the code from FuzzyLite inside. I have some errors, all almost the same, like this one:
    Error 3 error LNK2019: unresolved external symbol "public: __thiscall fl::Engine::Engine(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Engine@fl@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function _wmain c:\Users\Mariusz\documents\visual studio 2010\Projects\visual fuzzy\visual fuzzy\visual fuzzy.obj

    Thanks for any ideas which can help me.


    Hi shymon,

    I believe in Windows you need to have another file called fuzzylite.lib in order to properly compile. This file is produced after building the fuzzylite sources using CMake.

    Why can you not build fuzzylite using CMake?


    Hi Juan,
    thank you for fast replies.
    Well, I’m trying and trying to build it with CMake but I’m still getting some errors (problem with environement) which is getting me still more frustrated.
    I’ll try to do everything [compile with Cmake] once again, step by step and then if I still have the problem I’ll post for help (I prefer to solve problems by myself first…).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.