New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error MSB6006: “cmd.exe” exited with code 1 #1304
Comments
What ispc version are you using? Have you tried compiling examples?
…Sent from my iPhone
On Nov 25, 2017, at 9:27 AM, UnlimitedChild <notifications@github.com<mailto:notifications@github.com>> wrote:
Hello everyone,
I can not compile the project, because of an error "MSB6006: “cmd.exe” exited with code 1" I tried on 5 different computers, with 3 different Visual Studios (2013, 2015, 2017), there is always the same compilation error, what's wrong? Did someone have a similar compilation error? Can someone share a working project file for any visual studio, I would be very grateful for this help!
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1304>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ADWfGhPTeSYbcpq4ZbYCcKU5sSefe8Bsks5s6E4FgaJpZM4Qqfv6>.
|
Latest release https://github.com/ispc/ispc/archive/v1.9.2.zip I tried to follow the documentation that came with the project. And then I started experimenting with msbuild, the result is always the same, I installed a new system and again got the same result. The parameters of libraries such as llvm, bison and other components do not affect this error. The language in Windows is always English. |
Are you intentionally trying to build ispc yourself? The preferred way is to use pre-built binaries. I.e. https://sourceforge.net/projects/ispcmirror/files/v1.9.2/ispc-v1.9.2-windows.zip/download The documentation for building ISPC on Windows is outdated (https://github.com/ispc/ispc/wiki/Building-ispc:-Windows) I need to update it. But it will mostly affect versions of different components (i.e. preferred LLVM is 5.0 currently). |
Hi dbabokin, yees, Im trying to build a project on my own, because I would like to compile a debug version with the object files of each module. On what version of windows was the code compiled? In this case, as Ive already said, LLVM does not affect the build process at all, because this error occurs at an early stage of the build. I think the version of Windows somehow affects the error ... |
I've developing in Windows Server 2008R2. But I don't think that this they key. Have you checked the logs to understand what command causes the crash? ISPC has quite many custom build commands. One of them should be a reason. Are you using GnuWin32? |
Im using msys and cygwin except for Visual Studio, here is the log that I get during the build, on Windows 7 the same. 1>------ Rebuild All started: Project: ispc, Configuration: Release Win32 ------ |
I have a bunch of logs in Release/ispc.tlog folder: I think *command.1.tlog logs should give you a clue what's when wrong and how to reproduce. |
Thank you, it was necessary to look at the log file at once, I was 100% sure that I correctly wrote all the paths to the folders, although its clear that there is a problem with the paths. Ill try again. |
This file looks good. |
How to add project additions correctly - m4, Flex, bison ?! I went through each stage of the installation with a triple check, stopped at the final stage, Cygwin is installed with these additions, both binary files and source codes. What features should I consider? Thank you for your help! |
The recommended way to have all these is to install GnuWin32. I tried installing them though Cygwin, but it didn't work and I switched to GnuWin32. I haven't dug deeper. Wiki says the following: m4, flex (2.5 or later), and bison (2.4 or later). This didn't change. Out of curiosity, why you are trying to make it work in this environment? If your goal to have a Windows build, you can just follow recommended way with GnuWin32. It's works pretty well. If you want Unix-style development on Windows - go with Win10 + docker (I've added docker files to the project recently). |
Hi, |
I think this is the important part from the build instructions (it's on LLVM configurations step) - but don't add it the path: Set LLVM_LIT_TOOLS_DIR to point to your installation of GnuWin32 (typically C:/gnuwin32/bin) |
It's all done already, following the instructions https://github.com/ispc/ispc/wiki/Building-ispc%3A-Windows I stopped at
|
Can you zip the log folder and share? Also run check_env.py and copy-paste it's output. |
check_env.py === in PATH: === SDE: ISPC: C/C++ compilers: === in ISPC specific environment variables: === |
Hello everyone,
I can not compile the project, because of an error "MSB6006: “cmd.exe” exited with code 1" I tried on 5 different computers, with 3 different Visual Studios (2013, 2015, 2017), there is always the same compilation error, what's wrong? Did someone have a similar compilation error? Can someone share a working project file for any visual studio, I would be very grateful for this help!
Thank you!
The text was updated successfully, but these errors were encountered: