acowley / ffmpeg-light

Minimal Haskell bindings to the FFmpeg library
BSD 3-Clause "New" or "Revised" License
67 stars 29 forks source link

cabal: Cannot build the executable 'demo' because the component is marked as disabled in the .cabal file. #6

Closed lpil closed 9 years ago

lpil commented 9 years ago

Hello!

In ffmpeg-ubuntu-compile.sh it says we should be able to run cabal run demo, but it results in the error message of cabal: Cannot build the executable 'demo' because the component is marked as disabled in the .cabal file..

Thanks, Louis

acowley commented 9 years ago

Hi! Did you pass cabal configure the BuildDemo flag?

lpil commented 9 years ago

No, I did not. Perhaps include that in the note if that is required? :)

Thanks, Louis

acowley commented 9 years ago

The script you referred to includes that bit. Where else do you think would be helpful to mention it?

lpil commented 9 years ago

Ah, I misread. How embarrassing. Thank you :)

acowley commented 9 years ago

No worries, cabal flags are always a bit of a pain.