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

Unable to get the program to work in Windows 10 #74

Closed
Orangery-DS opened this issue Apr 30, 2022 · 11 comments
Closed

Unable to get the program to work in Windows 10 #74

Orangery-DS opened this issue Apr 30, 2022 · 11 comments

Comments

@Orangery-DS
Copy link

Hello - I have installed 'dotnet sdk' but cannot get the 'dotnet run --configuration Release WaveFunctionCollapse.csproj' command line to work. Any advice? Thank you.

@masonwheeler
Copy link

"It doesn't work" is not a particularly useful error report. All that means is "it's doing something other than what I expect it to do." But if you don't say what it's doing or what you expect, that gives the people who read the error report literally nothing to go on.

Could you explain what you expect it to do and what it's actually doing instead? For example, if it displays an error message, what is the message?

@Orangery-DS
Copy link
Author

I appreciate you getting back to me.

Yes, I agree, the information I gave you was not much use. It's just that I spent a couple of frustrating hours trying to get WFC to run. It meant installing large files such as 'GitHubDestop', '.Net', 'Visual Studio' and 'GitBash'. YouTube videos weren't that much help either.

Anyhow, I remember now, that I could not get DotNet (.Net) to launch at all. Perhaps I should try a re-install, as a repair did not work (no error messages, just a flash). With Visual Studio, I would follow written suggestions online on how to run a project from GitHub but right clicking on files did not give me the same pull down menus, so got no further. GitBash seemed too long winded and confusing.

I still hope to get WFC to run, as the program looks fascinating. I was hoping I could experiment with it and import some of my own 8-bit pixel drawings. Does this help?

Regards - Dave S.

@mxgmn
Copy link
Owner

mxgmn commented May 1, 2022

Hi! What happens when you run dotnet run --configuration Release WaveFunctionCollapse.csproj?

You don't need GitHub Desktop, Visual Studio or GitBash to run it, only .Net.

@Orangery-DS
Copy link
Author

That's just it - I couldn't get .Net to launch at all. I only downloaded and installed other programs as a last resort. However, I do now remember that I copied and pasted 'dotnet run --configuration Release WaveFunctionCollapse.csproj' into the Windows 10 command prompt via .Net, but there was an issue (see attached).

dotnet via command prompt

What am I doing wrong here?

Thanks for your help.

@Orangery-DS
Copy link
Author

Sorry about this. I have since moved all the files from the WFC-master into the same folder as dotnet.exe. Still an issue though.

dotnet via command prompt_issue

@mxgmn
Copy link
Owner

mxgmn commented May 1, 2022

Replace net5.0 with net6.0 in WaveFunctionCollapse.csproj and run the command, it should work. In general, you can navigate to any folder using the cd command (google how to use it) and run dotnet run from there.

@mxgmn mxgmn closed this as completed May 1, 2022
@Orangery-DS
Copy link
Author

Okay - please ignore the last two comments. I had to run command prompt as administrator and I have also now installed .Net version 5.0, instead of 6.0.4. So I now have all the example files but still don't know how to get WFC running.

dotnet 5 0 via command prompt

@Orangery-DS
Copy link
Author

Orangery-DS commented May 1, 2022 via email

@mxgmn
Copy link
Owner

mxgmn commented May 1, 2022

It's not example files, it's generated files. You have run it. Example files are in samples/.

@Orangery-DS
Copy link
Author

Orangery-DS commented May 1, 2022 via email

@mxgmn
Copy link
Owner

mxgmn commented May 1, 2022

Sure, you can alter the code or alter sample PNGs. Edit samples.xml to run with your own samples.

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