You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to know why I get an error when I execute MAKE after I execute CMAKE. It says:
/usr/bin/sh: -c: line 0: syntax error near unexpected token (' /usr/bin/sh: -c: line 0: C:/Program Files (x86)/GnuWin32/bin/make -s -f CMakeFiles/Makefile2 all'
make: *** [all] Error 1
Is this related to my CMAKE command, I use cmake .. -G "Unix Makefiles".
This is my first time using these software and I have been confused for a long time. I don't know where to start to solve this. Hope to get help. Hope my stupidity doesn't bother you, thanks.
The text was updated successfully, but these errors were encountered:
It seems that you are trying to compile the source code on Windows, while the software only works on Linux. If you want to stick to Windows, maybe you can first install WSL (https://docs.microsoft.com/en-us/windows/wsl/install) and then compile/execute the code within WSL. But I am not sure whether this solution can work because I did not test it on WSL. Thus, the simplest solution is to execute the code on Linux.
If you have any further questions, please feel free to contact me.
Thank goodness. Although my attempts on WSL failed, it worked successfully on the virtual machine. However, it needs to be considered if the virtual machine environment will affect the results of the experiment. Anyway, thanks for your help!
Glad to know it works. The virtual machine may affect the performance of the software. As such, you may want to set up a Linux machine to examine the efficiency of the methods under study. Thanks.
Hello, I want to know why I get an error when I execute MAKE after I execute CMAKE. It says:
/usr/bin/sh: -c: line 0: syntax error near unexpected token
(' /usr/bin/sh: -c: line 0:
C:/Program Files (x86)/GnuWin32/bin/make -s -f CMakeFiles/Makefile2 all'make: *** [all] Error 1
Is this related to my CMAKE command, I use cmake .. -G "Unix Makefiles".
This is my first time using these software and I have been confused for a long time. I don't know where to start to solve this. Hope to get help. Hope my stupidity doesn't bother you, thanks.
The text was updated successfully, but these errors were encountered: