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

Compile fails with code 11 #2620

Open
oblende opened this issue Jul 31, 2023 · 4 comments
Open

Compile fails with code 11 #2620

oblende opened this issue Jul 31, 2023 · 4 comments

Comments

@oblende
Copy link

oblende commented Jul 31, 2023

The compile with the modified ni.exe compiler fails with code 11 using the current source from github. I have tried compiling under wine and real Windows 10. Looking at the generated code it fails in the same general area with the stuck dragoness. Under wine it will usualy cut off at the begining of a new function. In Windows it had cut off in mid paragraph. I don't know if this information will help. I suspect that there is something wrong with the modified ni executable.

@Nuku
Copy link
Owner

Nuku commented Jul 31, 2023 via email

@Wahn128
Copy link
Contributor

Wahn128 commented Jul 31, 2023

Do try to compile the minimal build then - in the Inform folder there is the MinimalBuild.ni, rename that to story.ni and place it in the source folder. This is the game mechanics minus pretty much all content except the library, and should compile in seconds without using much memory. That way you'll be able to build and test stuff that is not connected to any other content.

@oblende
Copy link
Author

oblende commented Jul 31, 2023

Do try to compile the minimal build then - in the Inform folder there is the MinimalBuild.ni, rename that to story.ni and place it in the source folder. This is the game mechanics minus pretty much all content except the library, and should compile in seconds without using much memory. That way you'll be able to build and test stuff that is not connected to any other content.

That suggestion seems to have worked. Seems like the full build might have a compiler killer in there somewhere. As far as memory goes I really should have plenty with 16GB so that wasn't a real concern.

@Wahn128
Copy link
Contributor

Wahn128 commented Jul 31, 2023

The inform compiler is notoriously ineffiecient with a number of in-built limitations. I for one have 128 GB RAM and can compile without any issues, I think Nuku has 32 or 64, and he had to switch to the patched compiler to make the game run.

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

3 participants