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

build failures (using lts-8.17) #5

Closed
chuckadams opened this issue Jun 9, 2017 · 5 comments
Closed

build failures (using lts-8.17) #5

chuckadams opened this issue Jun 9, 2017 · 5 comments
Labels

Comments

@chuckadams
Copy link

After fixing the issues with building the gl dependency, it looks like the Tiled support is broken:

[18 of 23] Compiling Odin.Engine.Tiled ( src/Odin/Engine/Tiled.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Odin/Engine/Tiled.o )

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:31:30: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:81:63: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:85:5: error:
    Not in scope: data constructor ‘LayerContentsTiles’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:88:44: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:97:10: error:
    Not in scope: data constructor ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:97:21: error: Not in scope: ‘tileIndexGid’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:98:21: error:
    Not in scope: ‘tileIndexIsDiagFlipped’
    Perhaps you meant ‘tileIsDiagFlipped’ (imported from Data.Tiled)

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:99:21: error:
    Not in scope: ‘tileIndexIsHFlipped’
    Perhaps you meant ‘tileIsHFlipped’ (imported from Data.Tiled)

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:100:21: error:
    Not in scope: ‘tileIndexIsVFlipped’
    Perhaps you meant ‘tileIsVFlipped’ (imported from Data.Tiled)

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:103:40: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:111:38: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:130:48: error:
    Not in scope: type constructor or class ‘Animation’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:150:35: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:151:33: error:
    Not in scope: data constructor ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:156:33: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:160:37: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:174:6: error:
    Not in scope: type constructor or class ‘TileIndex’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:249:6: error:
    Not in scope: type constructor or class ‘Animation’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:251:51: error:
    Not in scope: data constructor ‘Animation’

/Users/chuck/proj/hs/odin/odin-engine/src/Odin/Engine/Tiled.hs:252:16: error:
    Not in scope: data constructor ‘Frame’
@schell
Copy link
Owner

schell commented Jun 9, 2017

Thanks for this - I'll look into it asap.

@schell
Copy link
Owner

schell commented Jun 10, 2017

Are these errors (and the other ticket) on branch master or develop?

schell added a commit that referenced this issue Jun 10, 2017
@schell
Copy link
Owner

schell commented Jun 10, 2017

@chuckadams please check out the odin-5 branch and see if this fixes your issue. I'm running into a separate issue with the MapMaker.hs executable, which I'll deal with later.

@andersk
Copy link

andersk commented Sep 19, 2017

On the odin-5 branch you added ../htiled to stack.yaml, so stack won’t even attempt to build it unless you clone an unspecified commit of htiled to the parent directory—is that really what you meant?

@schell
Copy link
Owner

schell commented Sep 19, 2017

The project is under heavy flux - I'm currently working on the using-reflex-sdl2 branch. I'd say if you get anything to build, you're lucky. Watch this repo for changes if you'd like to follow along. I'm currently using odin-engine as a test bed for reflex-sdl2 and am writing a small widget library.

@schell schell added the bug label Sep 27, 2017
@schell schell closed this as completed Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants