home Forums Search Search Results for 'visual studio'

Viewing 10 results - 21 through 30 (of 65 total)
  • Author
    Search Results
  • #1939
    Unknown
    Member

    Hi
    I want to use FuzzyLite 64bit Dll in R, however I didn’t succeed to create using build.bat as running build.bat from a visual studio command prompt argues that the enviroment does not contain INCLUDE, LIB or LIBPath. Also I created and debugged project in Visual studio, however the generated DLL does not have any method or interface available in it, at least VS object browser and R do not show anything. What am I missing?

    #1919

    Hi,

    somehow you are not having access to the nmake command, which is in the visual studio tools. I think you should search to solve this problem first. From console, you should be able to run nmake, else you should either reinstall visual studio or find out what is preventing you from using nmake in console.

    Cheers.

    #1918
    Unknown
    Member

    Hi, Juan

    Thank you for gave me these useful advice.

    I use Visual Studio Console run build.bat, here is my result

    D:\Work_applications\Curriculum5_Fuzzy_control\fuzzylite-5.0\fuzzylite-5.0\fuz
    zylite>build.bat
    Building schedule: all
    Starting in 3 seconds…

    ****************************************
    STARTING: all

    ****************************************
    STARTING: debug
    CMake Error: Could not create named generator NMake Makefiles

    Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

    The system cannot execute the specified program.
    NMAKE : fatal error U1077: ” : return code ‘0x1’
    Stop.

    FINISHED: debug
    ****************************************

    ****************************************
    STARTING: release
    CMake Error: Could not create named generator NMake Makefiles

    Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

    The system cannot execute the specified program.
    NMAKE : fatal error U1077: ” : return code ‘0x1’
    Stop.

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

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

    So where is my problem?

    Please help me to solve these problems,and I would really appreciate for you

    Han.

    #1917

    Hi,

    I think you might be executing the build.bat from a regular console. You need to run the file from the Visual Studio Console, which automatically runs for you some scripts to put different paths for binaries to build C++ projects. Check for the VS Console in the Visual Studio application group in your Start Menu.

    Let me know if you still cannot make it work.

    Cheers.

    #1912

    In reply to: Qt and Fuzzylite

    Hi,

    for the build.bat, you need to open the console window using the Visual Studio Console (or Terminal), which will run some commands to update the paths for binaries in your system. The problem there seems that CMake is not able to find the compiler.

    As for the following code:

    
    win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../../fuzzylite-5.0/ -lfuzzylite
    else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../../fuzzylite-5.0/ -lfuzzylited
    else:unix: LIBS += -L$$PWD/../../../../../../fuzzylite-5.0/ -lfuzzylite
    
    INCLUDEPATH += $$PWD/../../../../../../fuzzylite-5.0
    DEPENDPATH += $$PWD/../../../../../../fuzzylite-5.0
    

    The problem is that you are not finding the library. Please use the full path to fuzzylite instead of a relative ../../../ to prevent unnoticed errors. Also, some times things are funny with dynamic libraries, so you may also try using -lfuzzylite-static and -lfuzzylite-staticd instead of the dynamic versions.

    Furthermore, you need to ensure that the path to fuzzylite is correct. For example, the INCLUDEPATH needs to point to the fuzzylite directory that contains folders fl and src, such that doing cd $FL_HOME/fl is a valid path to the headers. Likewise, you need to make sure that the library files are available in the fuzzylite directory or change accordingly: LIBS+=path/to/fuzzylite/release/bin/, such that the libraries are in path/to/fuzzylite/release/bin/.

    Hope this helps.

    #1893
    Unknown
    Member

    Hi ,

    Can we use the fuzzy lite C++ library for windows phone apps using C# in Visual Studio ?

    #1882
    Unknown
    Member

    Hello Juan,

    I have run a build and installed fuzzylite

    however when I try to run an example, Visual Studio crashes with the exception:

    “Unhandled exception at 0x010346F9 in fuzzytesting.exe: Stack cookie instrumentation code detected a stack-based buffer overrun.”

    This seems to happen with the execution of:

    ruleBlock->addRule(fl::Rule::parse(“if AllInputTerms is A then AllOutputTerms is T”, engine));

    Any help would be greatly appreciated!

    Kind Regards,
    Ramy

    #1835
    Unknown
    Member

    Okay. They were fuzzylite\src\imex\FldExporter.cpp and fuzzylite\src\norm\s\NilpotentMaximum.cpp
    Hope it helps

    Btw where do I find the header file for the library so I can include it on my project? (I already set up the lib and dll on visual studio)

    Edit** Found it in the fl directory lol. I blame night coding

    #1832
    Unknown
    Member

    Got it to compile over Visual studio 12 2013 community edition by using Cmake-gui
    configurated as default and then tweaking a bit the sources

    what did I tweak?

    in imex\FLimporter/cpp there was a call for output range so I added range.str()
    I also had errors saying that min and max were not members of std:: So I just included algorithm

    #include <algorithm> (As far as I know… the min and max for std are defined there)

    And Voilá it works

    #1831
    Unknown
    Member

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

    FclImporter.cpp
    G:\fll\fuzzylite-5.0\fuzzylite\src\imex\FclImporter.cpp(536) : error C2678: bina
    ry ‘<<‘ : no operator found which takes a left-hand operand of type ‘std::basic_
    ostream<char,std::char_traits<char>>’ (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(4
    98): could be ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(std::basic_streambuf<char,std::char
    _traits<char>> *)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(4
    78): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(const void *)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(4
    58): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(long double)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(4
    38): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(double)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(4
    18): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(float)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(3
    97): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(unsigned __int64)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(3
    77): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(__int64)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(3
    56): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(unsigned long)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(3
    36): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(long)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(3
    16): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(unsigned int)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(2
    91): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(int)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(2
    71): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(unsigned short)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(2
    37): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(short)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(2
    17): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(std::_Bool)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(2
    10): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(std::ios_base &(__cdecl *)(std::ios
    _base &))’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(2
    03): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(std::basic_ios<char,std::char_trait
    s<char>> &(__cdecl *)(std::basic_ios<char,std::char_traits<char>> &))’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(1
    97): or ‘std::basic_ostream<char,std::char_traits<char>> &std::basic_ostre
    am<char,std::char_traits<char>>::operator <<(std::basic_ostream<char,std::char_t
    raits<char>> &(__cdecl *)(std::basic_ostream<char,std::char_traits<char>> &))’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(6
    99): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <char,std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,
    const char *)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(7
    46): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <char,std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,
    char)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(7
    84): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const
    char *)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(8
    31): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,char)

    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(9
    57): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const
    signed char *)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(9
    64): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,signe
    d char)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(9
    71): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const
    unsigned char *)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(9
    78): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,unsig
    ned char)’
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(9
    88): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <<
    <char,std::char_traits<char>,std::ostringstream>(std::basic_ostream<char,std::ch
    ar_traits<char>> &&,const _Ty &)’
    with
    [
    _Ty=std::ostringstream
    ]
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\ostream(1
    026): or ‘std::basic_ostream<char,std::char_traits<char>> &std::operator <
    <<char,std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &
    ,const std::error_code &)’
    while trying to match the argument list ‘(std::basic_ostream<char,std::c
    har_traits<char>>, std::ostringstream)’
    NMAKE : fatal error U1077: ‘C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe’ : return code
    ‘0x2’
    Stop.
    NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 12.0
    \VC\BIN\nmake.exe”‘ : return code ‘0x2’
    Stop.
    NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 12.0
    \VC\BIN\nmake.exe”‘ : return code ‘0x2’
    Stop.

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

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

    Yes, I’m using the one included in the download section
    Holy… for the quick response

Viewing 10 results - 21 through 30 (of 65 total)