home Forums # Technical Support [C++]use Build.bat with error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1916
    Unknown
    Member

    Holly,

    I want to use fuzzylite 5.0 with c++,when I run the file whose name is ‘build.bat’, the ‘bin’ floder in the release’s and debug’s didn’t had any file.

    So where my operation is error or loss?

    Maybe need use CMake configure and generate.

    Likewise,used some problem with generate file, because I don’t know How use CMake generate file.

    Thanks you

    #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.

    #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.

    #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.

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