Giter Club home page Giter Club logo

Comments (4)

mlevin77 avatar mlevin77 commented on May 3, 2024 1

update. I installed Brew and did "$ brew install mono mono-libgdiplus" and now it seems to work. But

run WaveFunctionCollapse.csproj

processes all of the supplied examples. Is there a manual somewhere that explains how to create my own example and have it make the tilemap?

from wavefunctioncollapse.

kchapelier avatar kchapelier commented on May 3, 2024

Try downloading the 2.1 SDK from this link instead: https://dotnet.microsoft.com/download/dotnet-core/2.1 (not sure why dotnet doesn't give you this link when it errors out)

You might also try using Mono instead, it's personnally what I used to make it run on macOS Sierra. There are two issues with information about this : #39 (comment) & #3

from wavefunctioncollapse.

mlevin77 avatar mlevin77 commented on May 3, 2024

I installed the 2.1 SDK and I get:

% /usr/local/share/dotnet/dotnet run WaveFunctionCollapse.csproj
< Chess

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libgdiplus': The specified module could not be found.
at System.Runtime.InteropServices.FunctionWrapper`1.get_Delegate()
at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)
at System.Drawing.SafeNativeMethods.Gdip..cctor()
--- End of inner exception stack trace ---
at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromFile(String filename, IntPtr& bitmap)
at System.Drawing.Bitmap..ctor(String filename, Boolean useIcm)
at OverlappingModel..ctor(String name, Int32 N, Int32 width, Int32 height, Boolean periodicInput, Boolean periodicOutput, Int32 symmetry, Int32 ground) in /Users/mlevin/Desktop/WaveFunctionCollapse-master/OverlappingModel.cs:line 27
at Program.Main() in /Users/mlevin/Desktop/WaveFunctionCollapse-master/Main.cs:line 29

from wavefunctioncollapse.

mxgmn avatar mxgmn commented on May 3, 2024

You need to describe the tileset like this and then link it from samples.xml. You can comment out other examples there.

from wavefunctioncollapse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.