-
Notifications
You must be signed in to change notification settings - Fork 381
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
Cannot compile dosbox-x under Ubuntu 16.04 #209
Comments
Adding
Someone with Linux knowledge, can you take a look ? |
GCC doesn't like it when you declare that the function is like printf(), but then use a non-constant format string. You're supposed to use a string constant with the format string of printf. I'm guessing G++ crashed because your #define isinf(x) (std::isinf(x)) makes a recursive macro that never finishes expanding. isinf(x) -> std::isinf(x) -> std::std::isinf(x) -> std::std::std::isinf(x) -> and so on. Try making isinf(x) a static inline function that calls std::isinf(). |
Thanks guys, adding |
I'm having this issue aswell on ubuntu 16.04, |
is there any solution to this? |
aybe's solution didn't work for me. I compiled all succesfully after manual fix: |
is this correct?
|
@toddfraser88 that should be right, yes. |
As per "INSTALL" I think I've installed every single libsdl that's required by dosbox but neither vanilla dosbox 0.74 nor this fork doesn't want to compile. I've also tried
apt-get build-dep dosbox
since dosbox is in the official repo but it didn't help either.
Here's the output of ./configure : http://pastebin.com/pFS6AZgt
And here's the output of make (showing only the last lines): http://pastebin.com/Jh2Y8Rtd
And lastly here's the output of make of the vanilla 0.74 dosbox which I'm not really interested in because it's already available in the official repo. It also dosen't build but it's output is a bit different (showing only the last lines) : http://pastebin.com/pNn2NgzS
Any help is highly welcome! I'd love to check this fork out because of it's windows 98 capabilities.
The text was updated successfully, but these errors were encountered: