Digital Paint Discussion Board

Development => General Development => Topic started by: your teammate on August 05, 2021, 04:55:46 AM

Title: Compiling a Linux build with Docker
Post by: your teammate on August 05, 2021, 04:55:46 AM
I made a Docker image dedicated to just building dp2 for Linux: https://hub.docker.com/r/nukla/dp2compile

Advantages:
- No need for a 10 year old Linux installation
- No need to hunt down all the necessary development libraries for 10 days
- Docker somehow also exists for Windows or something, so this can likely be used to make a Linux build on Windows

Disadvantages:
- This makes the adventure of getting a working Linux build almost boring

Currently the makefile needs an adjustment (adding -pthread to LDFLAGS) for the build to actually succeed. I say that's a problem with the makefile and not with the docker image, but I wonder how jitspoe can do the Linux build without -pthread.