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

[Feature] 建议增加WSL支持 #81

Open
Oneton429 opened this issue Oct 29, 2020 · 8 comments
Open

[Feature] 建议增加WSL支持 #81

Oneton429 opened this issue Oct 29, 2020 · 8 comments
Labels
想要点新功能 | Feature Request 想要加上某些功能 OS: Win Windows 系统相关的问题 OS:WSL(Win) 关于在 Windows 上的 WSL 的问题
Milestone

Comments

@Oneton429
Copy link

emm 帮机房某位提的问题

他希望能使用win下的Lemonlime,用WSL里的编译器编译源码,并且在WSL中运行程序

不太清楚直接用命令wsl g++ .......这样是否可行(我觉得他应该不会想去装GUI)

@Oneton429 Oneton429 added the 想要点新功能 | Feature Request 想要加上某些功能 label Oct 29, 2020
@CoelacanthusHex CoelacanthusHex added this to the 0.3.0 milestone Oct 29, 2020
@CoelacanthusHex CoelacanthusHex added the OS: Win Windows 系统相关的问题 label Oct 31, 2020
@ma-rui-ze
Copy link

wsl g++ .......大概是可以的不过可能有bug,我测的大部分结果在预期之内不过有一部分AC->RE

@ma-rui-ze
Copy link

附个配置图

//wslg++.cpp
#include<cstdio>
#include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
char sr[100050];
int main(int argc,char*argv[]){
	int c=0;
	sprintf(sr,"%s","wsl g++ ");
	char*str=sr+strlen(sr);
	for(int i=1;i<argc;i++){
		memcpy(str+c,argv[i],strlen(argv[i]));
		c+=strlen(argv[i]);
		str[c++]=' ';
	}
	//cout<<sr<<endl;
	system(sr);
	return 0;
}

@ChungZH
Copy link

ChungZH commented Aug 6, 2021

WSL 支持 GUI 了,可以直接打开 Linux 里的 lemonlime 了。

@alphagocc
Copy link
Member

虽然是这样,但似乎要windows 11(

@ChungZH
Copy link

ChungZH commented Aug 6, 2021

虽然是这样,但似乎要windows 11(

WSLg 在 Windows 10 就可以用了

@alphagocc
Copy link
Member

虽然是这样,但似乎要windows 11(

WSLg 在 Windows 10 就可以用了

image

话是这么说,但是windows10的下一个稳定版本(最后一个版本)是19044(21H2)

而那个21362是个测试版,它的直接后继现在已经是Windows11了

@alphagocc
Copy link
Member

alphagocc commented Aug 6, 2021

不过这个东西优先级不高(

咕了算了

@CoelacanthusHex CoelacanthusHex added the OS:WSL(Win) 关于在 Windows 上的 WSL 的问题 label Dec 20, 2021
@EliminateSpace
Copy link

WSL 支持 GUI 了,可以直接打开 Linux 里的 lemonlime 了。

但我遇到了和 #210 一样的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
想要点新功能 | Feature Request 想要加上某些功能 OS: Win Windows 系统相关的问题 OS:WSL(Win) 关于在 Windows 上的 WSL 的问题
Projects
None yet
Development

No branches or pull requests

6 participants