You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Juan ,
first of all congratulations for your amazing work!
I am trying to use fuzzylite in Visual Studio using C++. The problem is that I am getting an "unsolved external symbol" error. I would like to mention that I am not an expert regarding linking, compiling and so on...
I am working on a project about list scheduling. My C++ files are located in the following directory: C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling
Let me explain what have i done so far:
Download fuzzylite files, unzip and copy the contents of fuzzylite-6.0-Win64\fuzzylite-6.0\fuzzylite into the C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling folder.
Open Project properties->Configuration Properties-> VC++ Directories->Library Directories -> add C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin
Open Project properties->Linker->Input->Addition Dependencies->add "C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin\fuzzylite.lib"
Open Project properties->Linker->General->Addition Library Directories->add C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\Debug\bin, C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin
Open Project properties->Configuration Properties-> Debugging->Command Arguments -> add C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin\fuzzylite-static C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling /DFL_CPP98=ON /EHsc /MD
Add #include "fl/Headers.h" in the ListScheduling.cpp file (this file includes the main and the fuzzylite code). No compile error so far
But, when I run my project I get the errors like:
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 _main
Error LNK2019 unresolved external symbol "public: __thiscall fl::General::General(void)" (??0General@fl@@QAE@XZ) referenced in function _main
Error LNK2001 unresolved external symbol "public: virtual class fl::AlgebraicSum * __thiscall fl::AlgebraicSum::clone(void)const " (?clone@AlgebraicSum@fl@@UBEPAV12@XZ)
Warning LNK4272 library machine type 'x64' conflicts with target machine type 'X86'
Thank you
`
The text was updated successfully, but these errors were encountered:
Dear Juan ,
first of all congratulations for your amazing work!
I am trying to use fuzzylite in Visual Studio using C++. The problem is that I am getting an "unsolved external symbol" error. I would like to mention that I am not an expert regarding linking, compiling and so on...
I am working on a project about list scheduling. My C++ files are located in the following directory:
C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling
Let me explain what have i done so far:
C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling
folder.C:\Users\panawths\Documents\Visual Studio2015\Projects\ListScheduling\ListScheduling\fl
C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin
"C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin\fuzzylite.lib"
C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\Debug\bin
,C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin
C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling\release\bin\fuzzylite-static C:\Users\panawths\Documents\Visual Studio 2015\Projects\ListScheduling\ListScheduling /DFL_CPP98=ON /EHsc /MD
#include "fl/Headers.h"
in the ListScheduling.cpp file (this file includes the main and the fuzzylite code). No compile error so farBut, when I run my project I get the errors like:
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 _main
Error LNK2019 unresolved external symbol "public: __thiscall fl::General::General(void)" (??0General@fl@@QAE@XZ) referenced in function _main
Error LNK2001 unresolved external symbol "public: virtual class fl::AlgebraicSum * __thiscall fl::AlgebraicSum::clone(void)const " (?clone@AlgebraicSum@fl@@UBEPAV12@XZ)
Warning LNK4272 library machine type 'x64' conflicts with target machine type 'X86'
Thank you
`
The text was updated successfully, but these errors were encountered: