elmtris icon indicating copy to clipboard operation
elmtris copied to clipboard

Please provide beginner friendly build instructions for Windows.

Open performance opened this issue 11 years ago • 2 comments

I was unable to build the example, got the error C:\Ram\edu\elm\elmtris>elm-make src\Tetris.elm Error when searching for modules imported by module 'Tetris': Could not find module 'Audio'

Potential problems could be:

  • Misspelled the module name
  • Need to add a source directory or new dependency to elm-package.json

My directory structure is :

C:\Ram\edu\elm>dir Volume in drive C is OS Volume Serial Number is 9863-BAD3

Directory of C:\Ram\edu\elm

12/12/2014 12:12 PM <DIR> . 12/12/2014 12:12 PM <DIR> .. 12/12/2014 12:12 PM <DIR> Audio 12/12/2014 12:15 PM <DIR> elmtris 12/12/2014 11:57 AM <DIR> slider 0 File(s) 0 bytes 5 Dir(s) 685,565,624,320 bytes free

C:\Ram\edu\elm>

changing C:\Ram\edu\elm\elmtris\src\elm-package.json to

"source-directories": [
    ".", 
    "../../Audio"
],

does not help.

Thanks

performance avatar Dec 12 '14 22:12 performance

The current version is actually a few versions out of date. It needs to be ported to version 0.14.

Sorry for the inconvenience.

jcollard avatar Dec 13 '14 00:12 jcollard

Hi jcollard, I am tyring to make a sliding tile [ 15 puzzle game ] and thought seeing your example would help. But once I saw that you are at an older version, I thought I could change the code to make it work with the newer version. But I was unable to even get it to start to compile. your make file seems to assume a *nix system. I am on windows, and I don't know how to make it find Audio. i cloned that also. I would really appreciate it if there was a idiot friendly instructions that I can follow to get it start compiling, That is the first step. Once there, If there are compiler errors, I can work on that and seek help if necessary.

Thanks a lot. Cheers Ram

On Fri, Dec 12, 2014 at 4:09 PM, Joseph Collard [email protected] wrote:

The current version is actually a few versions out of date. It needs to be ported to version 0.14.

Sorry for the inconvenience.

Reply to this email directly or view it on GitHub https://github.com/jcollard/elmtris/issues/3#issuecomment-66854570.

performance avatar Dec 13 '14 00:12 performance