Skip to content
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 while compiling #11

Open
Literqw opened this issue Jul 26, 2022 · 3 comments
Open

Error while compiling #11

Literqw opened this issue Jul 26, 2022 · 3 comments

Comments

@Literqw
Copy link

Literqw commented Jul 26, 2022

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.

@shixuansun
Copy link
Member

Thanks for your question.

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.

@Literqw
Copy link
Author

Literqw commented Jul 26, 2022

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!

@shixuansun
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants