Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Fuzzylite on VS 2012 does not compile #2089
    AvatarEhtiba69
    Participant

    Hi….
    How I can include Fuzzylite library in my project.

    Thank you for your help and time.

    in reply to: Fuzzylite on VS 2012 does not compile #2087
    AvatarEhtiba69
    Participant

    Hi,

    Yea, I have This file, Fuzzylite.exe’ in the system. it has been created in this link “C:\fuzzylite-5.1\fuzzylite\release\bin”.

    If I have tried CMake_GUI with “NMake Makefile”. Unfortunately, I got this error

    “Error in Configuration Process, Project files may be invalid” …..

    CMake Error: CMAKE_RC_COMPILER not set, after EnableLanguage
    Configuring incomplete, errors occurred!
    See also “C:/Program Files (x86)/CMake/CMakeFiles/CMakeOutput.log”.
    See also “C:/Program Files (x86)/CMake/CMakeFiles/CMakeError.log”

    Thank you for your help and time.

    in reply to: Fuzzylite on VS 2012 does not compile #2085
    AvatarEhtiba69
    Participant

    Hi
    Yea, I did …

    Actually, I’m using Fuzzylie-5.1 and I have downloaded it from this link “https://github.com/fuzzylite/fuzzylite/releases”
    I have tried follow same steps. unfortunately, I got this error.

    Thank you for your help and time.

    in reply to: Fuzzylite on VS 2012 does not compile #2082
    AvatarEhtiba69
    Participant

    Hi,
    Thank you for quick answering..
    actually, I have changed CMakeLists.txt and run the example. Unfortunately, I got this error:

    1>—— Build started: Project: FL_Ex2, Configuration: Debug Win32 ——
    1>Build started 3/3/2016 12:16:09 AM.
    1>InitializeBuildStatus:
    1> Touching “Debug\FL_Ex2.unsuccessfulbuild”.
    1>ClCompile:
    1> All outputs are up-to-date.
    1>main.obj : error LNK2019: unresolved external symbol “public: virtual __thiscall fl::FldExporter::~FldExporter(void)” (??1FldExporter@fl@@UAE@XZ) referenced in function _main
    1>main.obj : error LNK2019: unresolved external symbol “public: __thiscall fl::FldExporter::FldExporter(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)” (??0FldExporter@fl@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function _main
    1>main.obj : error LNK2019: unresolved external symbol “public: static bool __cdecl fl::fuzzylite::logging(void)” (?logging@fuzzylite@fl@@SA_NXZ) referenced in function _main
    1>main.obj : error LNK2019: unresolved external symbol “public: static class fl::Engine * __cdecl fl::Console::mamdani(void)” (?mamdani@Console@fl@@SAPAVEngine@2@XZ) referenced in function _main
    1>c:\users\user\documents\visual studio 2010\Projects\FL_Ex2\Debug\FL_Ex2.exe : fatal error LNK1120: 4 unresolved externals
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:01.95
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    in reply to: Fuzzylite on VS 2012 does not compile #2080
    AvatarEhtiba69
    Participant

    Hi Juan Rada-Vilela,

    I have been trying to install Fuzzylite in VS 2010 using Windows 7/ 64 bit OS.
    I got these warning …. the following is a part of installation …
    ————————————————————————————-
    pp.obj
    InputVariable.cpp
    [ 49%] Building CXX object CMakeFiles/fl-shared.dir/src/variable/OutputVariable.
    cpp.obj
    OutputVariable.cpp
    [ 50%] Building CXX object CMakeFiles/fl-shared.dir/src/variable/Variable.cpp.ob
    j
    Variable.cpp
    C:\fuzzylite-release\fuzzylite\src\variable\Variable.cpp(228) : warning C4267: ‘
    return’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    Linking CXX shared library bin\fuzzylite.dll
    Creating library bin\fuzzylite.lib and object bin\fuzzylite.exp
    [ 50%] Built target fl-shared
    Scanning dependencies of target fl-bin
    [ 50%] Building CXX object CMakeFiles/fl-bin.dir/src/main.cpp.obj
    main.cpp
    Linking CXX executable bin\fuzzylite.exe
    [ 50%] Built target fl-bin
    Scanning dependencies of target fl-static
    [ 50%] Building CXX object CMakeFiles/fl-static.dir/src/Console.cpp.obj
    Console.cpp
    C:\fuzzylite-release\fuzzylite\src\Console.cpp(353) : warning C4267: ‘argument’
    : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 51%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/Bisector.cpp
    .obj
    Bisector.cpp
    [ 52%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/Centroid.cpp
    .obj
    Centroid.cpp
    [ 52%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/IntegralDefu
    zzifier.cpp.obj
    IntegralDefuzzifier.cpp
    [ 53%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/LargestOfMax
    imum.cpp.obj
    LargestOfMaximum.cpp
    [ 53%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/MeanOfMaximu
    m.cpp.obj
    MeanOfMaximum.cpp
    [ 54%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/SmallestOfMa
    ximum.cpp.obj
    SmallestOfMaximum.cpp
    [ 54%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/WeightedAver
    age.cpp.obj
    WeightedAverage.cpp
    [ 55%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/WeightedDefu
    zzifier.cpp.obj
    WeightedDefuzzifier.cpp
    [ 56%] Building CXX object CMakeFiles/fl-static.dir/src/defuzzifier/WeightedSum.
    cpp.obj
    WeightedSum.cpp
    [ 56%] Building CXX object CMakeFiles/fl-static.dir/src/Engine.cpp.obj
    Engine.cpp
    C:\fuzzylite-release\fuzzylite\src\Engine.cpp(536) : warning C4267: ‘return’ : c
    onversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\Engine.cpp(612) : warning C4267: ‘return’ : c
    onversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\Engine.cpp(682) : warning C4267: ‘return’ : c
    onversion from ‘size_t’ to ‘int’, possible loss of data
    [ 57%] Building CXX object CMakeFiles/fl-static.dir/src/Exception.cpp.obj
    Exception.cpp
    [ 57%] Building CXX object CMakeFiles/fl-static.dir/src/factory/CloningFactory.c
    pp.obj
    CloningFactory.cpp
    [ 58%] Building CXX object CMakeFiles/fl-static.dir/src/factory/ConstructionFact
    ory.cpp.obj
    ConstructionFactory.cpp
    [ 58%] Building CXX object CMakeFiles/fl-static.dir/src/factory/DefuzzifierFacto
    ry.cpp.obj
    DefuzzifierFactory.cpp
    [ 59%] Building CXX object CMakeFiles/fl-static.dir/src/factory/FactoryManager.c
    pp.obj
    FactoryManager.cpp
    [ 60%] Building CXX object CMakeFiles/fl-static.dir/src/factory/FunctionFactory.
    cpp.obj
    FunctionFactory.cpp
    [ 60%] Building CXX object CMakeFiles/fl-static.dir/src/factory/HedgeFactory.cpp
    .obj
    HedgeFactory.cpp
    [ 61%] Building CXX object CMakeFiles/fl-static.dir/src/factory/SNormFactory.cpp
    .obj
    SNormFactory.cpp
    [ 61%] Building CXX object CMakeFiles/fl-static.dir/src/factory/TermFactory.cpp.
    obj
    TermFactory.cpp
    [ 62%] Building CXX object CMakeFiles/fl-static.dir/src/factory/TNormFactory.cpp
    .obj
    TNormFactory.cpp
    [ 62%] Building CXX object CMakeFiles/fl-static.dir/src/fuzzylite.cpp.obj
    fuzzylite.cpp
    [ 63%] Building CXX object CMakeFiles/fl-static.dir/src/hedge/Any.cpp.obj
    Any.cpp
    [ 64%] Building CXX object CMakeFiles/fl-static.dir/src/hedge/Extremely.cpp.obj
    Extremely.cpp
    [ 64%] Building CXX object CMakeFiles/fl-static.dir/src/hedge/Not.cpp.obj
    Not.cpp
    [ 65%] Building CXX object CMakeFiles/fl-static.dir/src/hedge/Seldom.cpp.obj
    Seldom.cpp
    [ 65%] Building CXX object CMakeFiles/fl-static.dir/src/hedge/Somewhat.cpp.obj
    Somewhat.cpp
    [ 66%] Building CXX object CMakeFiles/fl-static.dir/src/hedge/Very.cpp.obj
    Very.cpp
    [ 66%] Building CXX object CMakeFiles/fl-static.dir/src/imex/CppExporter.cpp.obj

    CppExporter.cpp
    C:\fuzzylite-release\fuzzylite\src\imex\CppExporter.cpp(85) : warning C4244: ‘in
    itializing’ : conversion from ‘__int64’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\CppExporter.cpp(107) : warning C4244: ‘i
    nitializing’ : conversion from ‘__int64’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\CppExporter.cpp(140) : warning C4244: ‘i
    nitializing’ : conversion from ‘__int64’ to ‘int’, possible loss of data
    [ 67%] Building CXX object CMakeFiles/fl-static.dir/src/imex/Exporter.cpp.obj
    Exporter.cpp
    [ 68%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FclExporter.cpp.obj

    FclExporter.cpp
    C:\fuzzylite-release\fuzzylite\src\imex\FclExporter.cpp(235) : warning C4267: ‘a
    rgument’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\FclExporter.cpp(236) : warning C4267: ‘a
    rgument’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 68%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FclImporter.cpp.obj

    FclImporter.cpp
    [ 69%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FisExporter.cpp.obj

    FisExporter.cpp
    [ 69%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FisImporter.cpp.obj

    FisImporter.cpp
    C:\fuzzylite-release\fuzzylite\src\imex\FisImporter.cpp(257) : warning C4267: ‘a
    rgument’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\FisImporter.cpp(259) : warning C4267: ‘a
    rgument’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\FisImporter.cpp(267) : warning C4267: ‘a
    rgument’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\FisImporter.cpp(269) : warning C4267: ‘a
    rgument’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 70%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FldExporter.cpp.obj

    FldExporter.cpp
    [ 70%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FllExporter.cpp.obj

    FllExporter.cpp
    [ 71%] Building CXX object CMakeFiles/fl-static.dir/src/imex/FllImporter.cpp.obj

    FllImporter.cpp
    C:\fuzzylite-release\fuzzylite\src\imex\FllImporter.cpp(292) : warning C4267: ‘i
    nitializing’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 72%] Building CXX object CMakeFiles/fl-static.dir/src/imex/Importer.cpp.obj
    Importer.cpp
    [ 72%] Building CXX object CMakeFiles/fl-static.dir/src/imex/JavaExporter.cpp.ob
    j
    JavaExporter.cpp
    C:\fuzzylite-release\fuzzylite\src\imex\JavaExporter.cpp(70) : warning C4244: ‘i
    nitializing’ : conversion from ‘__int64’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\JavaExporter.cpp(94) : warning C4244: ‘i
    nitializing’ : conversion from ‘__int64’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\imex\JavaExporter.cpp(127) : warning C4244: ‘
    initializing’ : conversion from ‘__int64’ to ‘int’, possible loss of data
    [ 73%] Building CXX object CMakeFiles/fl-static.dir/src/main.cpp.obj
    main.cpp
    [ 73%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/AlgebraicSum.cpp.
    obj
    AlgebraicSum.cpp
    [ 74%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/BoundedSum.cpp.ob
    j
    BoundedSum.cpp
    [ 74%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/DrasticSum.cpp.ob
    j
    DrasticSum.cpp
    [ 75%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/EinsteinSum.cpp.o
    bj
    EinsteinSum.cpp
    [ 76%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/HamacherSum.cpp.o
    bj
    HamacherSum.cpp
    [ 76%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/Maximum.cpp.obj
    Maximum.cpp
    [ 77%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/NilpotentMaximum.
    cpp.obj
    NilpotentMaximum.cpp
    [ 77%] Building CXX object CMakeFiles/fl-static.dir/src/norm/s/NormalizedSum.cpp
    .obj
    NormalizedSum.cpp
    [ 78%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/AlgebraicProduct.
    cpp.obj
    AlgebraicProduct.cpp
    [ 78%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/BoundedDifference
    .cpp.obj
    BoundedDifference.cpp
    [ 79%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/DrasticProduct.cp
    p.obj
    DrasticProduct.cpp
    [ 80%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/EinsteinProduct.c
    pp.obj
    EinsteinProduct.cpp
    [ 80%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/HamacherProduct.c
    pp.obj
    HamacherProduct.cpp
    [ 81%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/Minimum.cpp.obj
    Minimum.cpp
    [ 81%] Building CXX object CMakeFiles/fl-static.dir/src/norm/t/NilpotentMinimum.
    cpp.obj
    NilpotentMinimum.cpp
    [ 82%] Building CXX object CMakeFiles/fl-static.dir/src/Operation.cpp.obj
    Operation.cpp
    C:\fuzzylite-release\fuzzylite\src\Operation.cpp(297) : warning C4267: ‘initiali
    zing’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 82%] Building CXX object CMakeFiles/fl-static.dir/src/rule/Antecedent.cpp.obj
    Antecedent.cpp
    [ 83%] Building CXX object CMakeFiles/fl-static.dir/src/rule/Consequent.cpp.obj
    Consequent.cpp
    [ 84%] Building CXX object CMakeFiles/fl-static.dir/src/rule/Expression.cpp.obj
    Expression.cpp
    [ 84%] Building CXX object CMakeFiles/fl-static.dir/src/rule/RuleBlock.cpp.obj
    RuleBlock.cpp
    C:\fuzzylite-release\fuzzylite\src\rule\RuleBlock.cpp(194) : warning C4267: ‘ret
    urn’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 85%] Building CXX object CMakeFiles/fl-static.dir/src/rule/Rule.cpp.obj
    Rule.cpp
    C:\fuzzylite-release\fuzzylite\src\rule\Rule.cpp(126) : warning C4267: ‘return’
    : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 85%] Building CXX object CMakeFiles/fl-static.dir/src/term/Accumulated.cpp.obj

    Accumulated.cpp
    C:\fuzzylite-release\fuzzylite\src\term\Accumulated.cpp(204) : warning C4267: ‘r
    eturn’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 86%] Building CXX object CMakeFiles/fl-static.dir/src/term/Activated.cpp.obj
    Activated.cpp
    [ 86%] Building CXX object CMakeFiles/fl-static.dir/src/term/Bell.cpp.obj
    Bell.cpp
    [ 87%] Building CXX object CMakeFiles/fl-static.dir/src/term/Concave.cpp.obj
    Concave.cpp
    [ 88%] Building CXX object CMakeFiles/fl-static.dir/src/term/Constant.cpp.obj
    Constant.cpp
    [ 88%] Building CXX object CMakeFiles/fl-static.dir/src/term/Cosine.cpp.obj
    Cosine.cpp
    [ 89%] Building CXX object CMakeFiles/fl-static.dir/src/term/Discrete.cpp.obj
    Discrete.cpp
    C:\fuzzylite-release\fuzzylite\src\term\Discrete.cpp(64) : warning C4267: ‘=’ :
    conversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\term\Discrete.cpp(68) : warning C4267: ‘=’ :
    conversion from ‘size_t’ to ‘int’, possible loss of data
    C:\fuzzylite-release\fuzzylite\src\term\Discrete.cpp(72) : warning C4267: ‘=’ :
    conversion from ‘size_t’ to ‘int’, possible loss of data
    [ 89%] Building CXX object CMakeFiles/fl-static.dir/src/term/Function.cpp.obj
    Function.cpp
    [ 90%] Building CXX object CMakeFiles/fl-static.dir/src/term/Gaussian.cpp.obj
    Gaussian.cpp
    [ 90%] Building CXX object CMakeFiles/fl-static.dir/src/term/GaussianProduct.cpp
    .obj
    GaussianProduct.cpp
    [ 91%] Building CXX object CMakeFiles/fl-static.dir/src/term/Linear.cpp.obj
    Linear.cpp
    [ 92%] Building CXX object CMakeFiles/fl-static.dir/src/term/PiShape.cpp.obj
    PiShape.cpp
    [ 92%] Building CXX object CMakeFiles/fl-static.dir/src/term/Ramp.cpp.obj
    Ramp.cpp
    [ 93%] Building CXX object CMakeFiles/fl-static.dir/src/term/Rectangle.cpp.obj
    Rectangle.cpp
    [ 93%] Building CXX object CMakeFiles/fl-static.dir/src/term/Sigmoid.cpp.obj
    Sigmoid.cpp
    [ 94%] Building CXX object CMakeFiles/fl-static.dir/src/term/SigmoidDifference.c
    pp.obj
    SigmoidDifference.cpp
    [ 94%] Building CXX object CMakeFiles/fl-static.dir/src/term/SigmoidProduct.cpp.
    obj
    SigmoidProduct.cpp
    [ 95%] Building CXX object CMakeFiles/fl-static.dir/src/term/Spike.cpp.obj
    Spike.cpp
    [ 96%] Building CXX object CMakeFiles/fl-static.dir/src/term/SShape.cpp.obj
    SShape.cpp
    [ 96%] Building CXX object CMakeFiles/fl-static.dir/src/term/Term.cpp.obj
    Term.cpp
    [ 97%] Building CXX object CMakeFiles/fl-static.dir/src/term/Trapezoid.cpp.obj
    Trapezoid.cpp
    [ 97%] Building CXX object CMakeFiles/fl-static.dir/src/term/Triangle.cpp.obj
    Triangle.cpp
    [ 98%] Building CXX object CMakeFiles/fl-static.dir/src/term/ZShape.cpp.obj
    ZShape.cpp
    [ 98%] Building CXX object CMakeFiles/fl-static.dir/src/variable/InputVariable.c
    pp.obj
    InputVariable.cpp
    [ 99%] Building CXX object CMakeFiles/fl-static.dir/src/variable/OutputVariable.
    cpp.obj
    OutputVariable.cpp
    [100%] Building CXX object CMakeFiles/fl-static.dir/src/variable/Variable.cpp.ob
    j
    Variable.cpp
    C:\fuzzylite-release\fuzzylite\src\variable\Variable.cpp(228) : warning C4267: ‘
    return’ : conversion from ‘size_t’ to ‘int’, possible loss of data
    Linking CXX static library bin\fuzzylite-static.lib
    [100%] Built target fl-static

    FINISHED: release
    ****************************************

    FINISHED: all
    ****************************************

    Is it ok now and I can use it in my project?
    If so.
    how to include it in my project.

    Thank you for your help and time

    in reply to: Unhandled exception at 0x751a9617 in test.exe #2079
    AvatarEhtiba69
    Participant

    Hi …
    I have compiled fuzzylite with cMake for visual studio 2010. I have tried to run an example to see whether my library is work properly or not. unfortunately, I got this error “LINK : fatal error LNK1104: cannot open file ‘D:\fuzzylite-release\fuzzylite\debug\bin.obj”.
    I added the directories: fuzzylite and fuzzylite/bin to include and library in VC++ directories (project properties).
    I still have same error.
    Could you please help…
    Thank you for your help and time.

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