gansm / finalcut

A text-based widget toolkit
https://github.com/gansm/finalcut/wiki/First-steps#first-steps-with-the-final-cut-widget-toolkit
GNU Lesser General Public License v3.0
983 stars 52 forks source link

cannot derive from ‘final’ base ‘finalcut::FWidgetColors’ in derived type ‘BeeColorTheme’ #71

Closed AndreiSva closed 3 years ago

AndreiSva commented 3 years ago

Im following along with the color themes tutorial and im having a bit of trouble getting it to work.

gansm commented 3 years ago

You only have to create the two header files, the cpp file, and compile it. I have attached these three files as a zip archive. Please try to compile it.

g++ theme.cpp -o theme -O2 -lfinal -std=c++11

user-theme-example.zip

AndreiSva commented 3 years ago

I've tried compiling the files using the command you suggested and it still throws a compilation error. Here is the full stack trace: stack_trace.txt

gansm commented 3 years ago

Is it possible that you have installed version 0.6.0? User themes are a feature of the upcoming version 0.7.0, so you should work with the current git commit (73e587b).

git clone git://github.com/gansm/finalcut.git
AndreiSva commented 3 years ago

Thank you! I just downloaded the latest amd64 release i could find on the release page. compiling worked fine after the new install. You make an amazing library!

gansm commented 3 years ago

Thank you very much