LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Search Forums
User Name
Password

Notices


Showing results 1 to 3 of 3
Search took 0.02 seconds.
Search: Posts Made By: teckk
Forum: Programming 03-15-2024, 01:44 PM
Replies: 15
Views: 313
Posted By teckk
Yup. alternor.c //gcc -lm alternor.c -o...

Yup.

alternor.c
//gcc -lm alternor.c -o alternor $(pkg-config --cflags --libs gtk+-3.0)

#include <cairo.h>
#include <math.h>

#define NOTEWIDTH 5
#define STEMLENGTH 25
Forum: Programming 03-15-2024, 08:08 AM
Replies: 15
Views: 313
Posted By teckk
How old is your version of gtk3? I'm on 3.24.41 ...

How old is your version of gtk3? I'm on 3.24.41

If it is older then Line 182:
app = gtk_application_new("org.cairo.clock", G_APPLICATION_DEFAULT_FLAGS);

Needs to be:
app =...
Forum: Programming 03-14-2024, 08:36 PM
Replies: 15
Views: 313
Posted By teckk
Did that a while back hazel. Here is a working...

Did that a while back hazel. Here is a working example that you can pick apart. I updated to current gtk3 syntax, and compiled with no errors.

clock.c
//gcc -lm clock.c -o clock $(pkg-config...
Showing results 1 to 3 of 3

 

Didn't find what you're looking for? Try Google:


  



All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration