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

Get DOSBox-X to build under Linux, write a guide about how to. #837

Open
aybe opened this issue Jul 8, 2018 · 9 comments
Open

Get DOSBox-X to build under Linux, write a guide about how to. #837

aybe opened this issue Jul 8, 2018 · 9 comments
Assignees

Comments

@aybe
Copy link
Collaborator

aybe commented Jul 8, 2018

Unfortunately the procedure explained in the README did not work for me...

Get things to build then enhance the README.

@aybe aybe self-assigned this Jul 8, 2018
@aybe
Copy link
Collaborator Author

aybe commented Jul 8, 2018

Preliminary steps under WSL (still failing):

git clone https://github.com/joncampbell123/dosbox-x.git
sudo apt-get update
sudo apt install build-essential
sudo apt install automake
sudo apt install libx11-dev
sudo apt install libxkbfile-dev
sudo apt install libxext-dev
sudo apt install libncurses5-dev
sudo apt install libavcodec-dev
sudo apt install libswscale-dev
sudo apt install libavformat-dev

@aybe
Copy link
Collaborator Author

aybe commented Jul 8, 2018

@joncampbell123

Can you clarify on which way is the good way to build ?

  • ./build-debug

or

  • ./configure
  • ./make

My goal is that Linux build should be as easy to get started with than VS solution is.

(trivia: I absolutely know nothing about Linux)

@joncampbell123
Copy link
Owner

Use ./build-debug

@yksoft1
Copy link
Contributor

yksoft1 commented Jul 8, 2018

@aybe Does WSL base on Ubuntu? I think Dosbox-X will build on any Linux-like platform if there is working bash, GNU make, autotools and with prerequisites for SDL1 or SDL2. Of course dynamic core is still only for 32bit x86.

@aybe
Copy link
Collaborator Author

aybe commented Jul 8, 2018

@joncampbell123
ok

@yksoft1
Not necessarily: https://docs.microsoft.com/en-us/windows/wsl/install-win10


Thanks, I will give it another try when I have a minute :)

@legluondunet
Copy link

legluondunet commented Sep 3, 2018

You forgot the sdl librairies, for Debian/Ubuntu users:

sudo apt install libsdl1.2-dev libsdl2-dev

@skerit
Copy link

skerit commented Oct 10, 2018

Installing libsdl1.2-dev fixed the issue for me. It was a bit confusing, because the earlier error said sdl 1 OR sdl2 was needed, not both:

checking for SDL - version >= 1.2.0...
configure: error: SDL 1.x or SDL 2.x is required to compile this program

I was still unable to build after this, though.

@joncampbell123
Copy link
Owner

SDL2 OpenGL is not officially supported yet. Don't expect it to work at this time.

@arthurroludvicco
Copy link

you can always install it using snap

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

No branches or pull requests

7 participants
@legluondunet @skerit @aybe @joncampbell123 @yksoft1 @arthurroludvicco and others