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

Error during 'configure' step #1

Open
tibogens opened this issue Sep 19, 2014 · 3 comments
Open

Error during 'configure' step #1

tibogens opened this issue Sep 19, 2014 · 3 comments

Comments

@tibogens
Copy link

Hi,
I've just tried to compile the project, and I could not pass the 'configure' step. I checked out the source (as a zip), then did the usual

./configure

After the regular checks, it creates the config.status file, which when run prints the following cryptic message (previous lines of output of configure included):

[...]
checking for asprintf... yes
checking for library containing compress... -lz
configure: creating ./config.status
.in'ig.status: error: cannot find input file: `

I have tried on Cygwin (x86, Windows 7) and Linux (x86, Debian) - the error is the same. Do you have any pointer ?

I digged in the source tree but found no flag that I should have set, or missing dependencies that could cause that.

@ChrisAubuchon
Copy link
Owner

Do you get a more helpful error message if you run ./config.status manually? Failing that, can you attach the config.status?

To be honest, I've only built this in MinGW.

@tibogens
Copy link
Author

No, the message is unfortunately the same. I however tried MinGW and although I'm stuck a few steps further - compiling the SDL, namely - the configure step did pass successfully. Let me know if you need the config.status anyway.

About the SDL - I'm using MinGW 32 and SDL 2.0.3. I had to patch a header to be able to compile it (known bug, fixed in next release). But the compilation still fails, because <DXGI.h> is not found. This is the problem described here. The proposed solution is to switch to MinGW 64.

So do you use MinGW 32 or 64 ? If 32, which version of the SDL might work ?

Many thanks,
Cheers

@ChrisAubuchon
Copy link
Owner

I use MinGW 32 and SDL 2.0.3. I didn't actually build SDL though. I used the files in the x86-x64-ming32 directory in the precompiled development library: There's a replacement SDL_platform.h that you'll have to install as well.
SDL2-devel-2.0.3-mingw.tar.gz
SDL_Platform.h bug and fix

The instructions that I used are here:
Setting up SDL in MingW

You will also need SDL_Image:
SDL2_image-devel-2.0.0.0-mingw.tar.gz

Pretty simple there. Copy SDL_image.h to the include/SDL2 directory and the libraries to lib/.

That should be all you need to get it built. FYI the only parts that are really working are the *cnv tools. The games themselves aren't currently working.

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

No branches or pull requests

2 participants