acowley/ffmpeg-light

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

Closed this issue · 5 comments

lpil commented

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

Hi! Did you pass cabal configure the BuildDemo flag?

lpil commented

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

Thanks,
Louis

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

lpil commented

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

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