MrHuu / dosbox-3ds

Port of DOSBox-SVN for Nintendo 3DS
39 stars 2 forks source link

Does not compile on Windows through MSYS2 #6

Open RetroGamer02 opened 1 year ago

RetroGamer02 commented 1 year ago

Please add support for compiling on Windows.

MrHuu commented 1 year ago

I don't have MSYS2 available, i use a virtual (unix) system to build on windows. But maybe i can help out if you show me the error(s) when trying to build.

Just curious, why are you trying to build from source?

RetroGamer02 commented 1 year ago

I was wondering if maybe I could make it run a bit faster.

First I changed all ` to "

The major issue I have been having right now is this example

bin2s: could not create (echo /home/Devin/Documents/dosbox-3ds/ctr/gfx/kbd/keytab.bgr) | tr . ).h (echo /home/Devin/Documents/dosbox-3ds/ctr/gfx/kbd/keytab.bgr) | tr . ).h: No such file or directory

Trying to figure out where its getting /home from since its C:\Users on Windows.

RetroGamer02 commented 1 year ago

I'm just gonna use Windows Subsystem for Linux it seems to be working.

strikersix23 commented 1 year ago

check the makefiles sometimes paths are absolute it would be to use the $HOME environment variable

strikersix23 commented 1 year ago

I can build on termux using proot-distro

RetroGamer02 commented 1 year ago

I don't see any $HOME in the Makefile. Also I managed to build with WSL. Thanks though. Only keeping this open incase a fix for MSYS2 is found as it would make building it more accessible.

strikersix23 commented 1 year ago

im wrong its how the bash handles the $TOPDIR line in the makefile

strikersix23 commented 1 year ago

An example https://github.com/devkitPro/3ds-examples/blob/master/camera/image/Makefile

strikersix23 commented 1 year ago

i think ffmpeg doesnt understand the pathes

strikersix23 commented 1 year ago

Im getting a file missing error constantly and its ffmpeg

strikersix23 commented 1 year ago

logs ubuntu

[debian.log.txt](https://github.com/MrHuu/dosbox-3ds/files/11492325/debian.log.txt)

MSYS2 output

msys2.make.txt