home Forums # Technical Support Cannot get Fuzzylite working with Visual Studio on Win 64

Viewing 10 posts - 1 through 10 (of 18 total)
  • Author
    Posts
  • #1549
    Unknown
    Member

    Hi Juan,

    I’ve been trying to run fuzzylite 4.0 on my 64 bit windows machine (I also have tried with 5.0 but to no success). I have Visual Studio 2013 installed and have been trying to run one of the example applications. I have included the directory (H:\fuzzylite-4.0\src\fuzzylite) in the Additional Include Directories field, the library (H:\fuzzylite-4.0) in the Additional Libraries Directories field, and the fuzzylite.dll file in the Additional Dependencies field.

    The error I get is “error LNK1107: invalid or corrupt file: cannot read at 0x2B8 H:\fuzzylite-3.1\fuzzylite.dll”.

    I have read that I should include a .lib file instead of a .dll file with Visual Studio, however I don’t know how to get this file.

    Any help would be much appreciated.

    Louis

    #1551
    Unknown
    Member

    Hi Juan,

    I have made some progress (I think). I am using Fuzzylite 5.0 now, and have found and included the .lib file in the “Additional Dependencies” field. However when I run the SimpleDimmer example using Visual Studio a blank console window and a pop-up error window appear. The error shown is “The program can’t start because fuzzylite.dll is missing from your computer. Try reinstalling the program to fix this problem”, however fuzzylite.dll is in the directory added to the “Additional Library Directories” field in the project properties. I also tried re-running the CMake procedure and running the program again but the same problem happens. If I specify the .dll file in the “Additional Dependencies” field I get the error “error LNK1107: invalid or corrupt file: cannot read at 0x2B8 H:\fuzzylite-5.0\fuzzylite.dll”.

    #1559

    Hi Louis,

    The Additional Libraries Directories needs to be H:\fuzzylite-4.0\bin as that is the directory where the library binaries are located.

    #1739
    Unknown
    Member

    Hi Juan,

    I’m trying to run fuzzylite on my machine using visual studio 2013. My OS is windows 8.1.
    I downloaded the fuzzylite package and created the 6 visual studio projects. What should I do next. When I build those projects I’m getting errors. Can you please help me to configure this.

    Iroshani.

    #1740

    Hi Iroshani,

    could you please check the forums for possible solutions?
    If the case you cannot find any, could you please post the errors that you are having?

    I am not sure if I have compiled fuzzylite on 64bit under Windows, but chances are that I have not and I have the idea that the issue is that there are many warnings that are treated as errors. If such is the case, you should try removing "-pedantic -Werror" from the CMakeLists.txt file.

    Cheers,

    Juan

    #1741
    Unknown
    Member

    Errors

    Hi Juan,
    I searched for related posts. But I couldn’t find any.
    I’m getting about 4000 errors for the whole 6 projects. Herewith I have attached an image of errors.

    Iroshani

    #1742

    Hi,

    it seems that you cannot compile for C++11. Please, make sure you are not defining -DFL_CPP11 upon compilation.

    You might want to try first to compile fuzzylite from console as indicated in the webpage (see www.fuzzylite.com/cpp) and even try building it for C++11 to check whether it can work on your PC.

    Cheers.

    #1749
    Unknown
    Member

    Hi Juan,
    Thank you for your replay.
    I tried compiling it from console. But I’m getting an error saying “Could not create named generator NMake Makefiles ‘nmake’ is not recognized as an external or internal command operable program or batch file” How can I install Nmake?

    Appreciate if you can provide me a solution.

    #1750

    Hi Iroshani,

    you need to install Visual Studio tools and CMake. If you have installed Visual Studio, then in the group folder in Start Menu you will find a Console that loads up the necessary links and things Windows requires to find nmake. After that, you should be able to compile from Console.

    Cheers,

    #1751
    Unknown
    Member

    Hi Juan,
    I have installed visual studio 2013 and CMake. I’m using windows 8.1
    What you mean by group folder in start menu. I cannot find the console.

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