Open Mattie112 opened 2 years ago
Hi @Mattie112 , I guess you should use docker.
That is what I tried but that seems to fail.
I got it working by manually installing some stuff in WSL but at least the docker container does not work (yet). Was hoping someone had it running and could point me in the right direction.
You have to install mingw (minimal gnu for windows), so you have gcc/g++ installed. Install it on the official site or use tdm-gcc Then GO is able to find and link to the gcc parts.
For the frontend only npm
is required, use npm run dev
to create development js/css files.
(All of this not tested, cause i don't want to develop on windows anymore^^)
Edit: A full visual studio installation could also be enough :thinking:
Allright thanks. If Windows is not supported I will create a docker container the next time with the correct dependencies. Did it last time in WSL (with some manually installed dependencies indeed) but didn't wrote it down ofc :)
We also have a Dockerfile-build file that could potentially do what you want (i never used it though)
Yes that is the log from my first post (it fails with that container). But I didn't debug it any further, first wanted to see if anyone got it up and running and could point me to the correct process. But as no one really knows it next time I change something I will also update the Windows build process ;)
I got it running with vs code docker integration, but it's not pretty cause there's permissions issues that I haven't sorted out yet. If you're interested in a half working solution (I've built successfully but it requires running sudo -i in the terminal before running a bunch of manual make steps) I can make a commit to my fork. If the maintainers are interested, I could make a pull request perhaps after getting the permission things cleaned up.
Yeah I got it to work in WSL (with manually installing some stuff), if you have a working dockerfile then I can try if it works here. Didn't have time yet to look into this.
Hi,
Is there any (up2date) documentation on developing / building on Windows?
The instructions user
go build
but that asks me to installmake
(and while that might be possible it is not listed as a dependency)I also found this PR with some commands:
But that outputs the following after about 5 minutes:
Is it still possible to build in Windows? I don't mind building in a docker container.