home Forums # Technical Support Error with VS2015

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2332
    Unknown
    Member

    Hi,

    I’m trying to compile the example program here
    https://github.com/fuzzylite/fuzzylite

    Fuzzylite Version 5.1
    Compiled the Fuzzylite with VS2015 to generate the lib and dll.
    Created a win32 console project with the example program.

    Ended up with below linker error

    Severity Code Description Project File Line Suppression State
    Error LNK2019 unresolved external symbol “public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl fl::Operation::str<double>(double,int)” (??$str@N@Operation@fl@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NH@Z) referenced in function _main SimpleDimmer C:\dev\adas\code\projects\FuzzyTest\SimpleDimmer\SimpleDimmer.obj 1
    Error LNK2019 unresolved external symbol “public: __thiscall fl::OutputVariable::OutputVariable(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,double,double)” (??0OutputVariable@fl@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NN@Z) referenced in function _main SimpleDimmer C:\dev\adas\code\projects\FuzzyTest\SimpleDimmer\SimpleDimmer.obj 1
    Error LNK2019 unresolved external symbol “public: __thiscall fl::InputVariable::InputVariable(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,double,double)” (??0InputVariable@fl@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NN@Z) referenced in function _main SimpleDimmer C:\dev\adas\code\projects\FuzzyTest\SimpleDimmer\SimpleDimmer.obj 1
    Error LNK2019 unresolved external symbol “public: __thiscall fl::Triangle::Triangle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,double,double,double,double)” (??0Triangle@fl@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NNNN@Z) referenced in function _main SimpleDimmer C:\dev\adas\code\projects\FuzzyTest\SimpleDimmer\SimpleDimmer.obj 1

    #2333
    Unknown
    Member

    Update

    Worked fine when the Fuzzylite is built with FL_USE_FLOAT=OFF

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