home › Forums › # Technical Support › [C++]use Build.bat with error
- This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by
Juan Rada-Vilela (admin).
-
AuthorPosts
-
July 28, 2015 at 17:10 #1916
Unknown
MemberHolly,
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
July 30, 2015 at 08:16 #1917Juan Rada-Vilela (admin)
KeymasterHi,
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.
July 30, 2015 at 23:05 #1918Unknown
MemberHi, 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 MakefilesMicrosoft (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 MakefilesMicrosoft (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.
July 31, 2015 at 14:19 #1919Juan Rada-Vilela (admin)
KeymasterHi,
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 runnmake
, else you should either reinstall visual studio or find out what is preventing you from usingnmake
in console.Cheers.
-
AuthorPosts
- You must be logged in to reply to this topic.